Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run youtube-dl in idle mode [feature request] #23871

Closed
keshavbhatt opened this issue Jan 28, 2020 · 0 comments
Closed

Run youtube-dl in idle mode [feature request] #23871

keshavbhatt opened this issue Jan 28, 2020 · 0 comments

Comments

@keshavbhatt
Copy link

@keshavbhatt keshavbhatt commented Jan 28, 2020

Checklist

  • [ ] I'm reporting a feature request
  • [ ] I've verified that I'm running youtube-dl version 2020.01.24
  • [ ] I've searched the bugtracker for similar feature requests including closed ones

Description

I use youtube-dl in one of my c++ project, which is basically a GUI to play music from youtube. I wish if i was able to run youtube-dl in idle mode, where main process after starting youtube-dl could stay opened there to take more request.

Currently youtube-dl takes a request to process it, and need a new instance of process to have another request as i investigated using it. It can take tasks in batch but will need a new process to take another batch.

A suggestion how it could be implemented:
Youtube-dl take tasks and provide result with the index of task it processed.

Example:
youtube-dl --idle {[url]s}

Result:

[task 0] {result}
[task 1] {result}
[task 2] {result}
@keshavbhatt keshavbhatt added the request label Jan 28, 2020
@dstftw dstftw closed this Jan 29, 2020
@dstftw dstftw added the out-of-scope label Jan 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.