Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Socket Mode #1906
Socket Mode #1906
Comments
|
You should write a wrapper around youtube-dl for doing it. You just need to pass the arguments you receive to youtube-dl and redirect the output to the socket you prefer. |
|
Yes, this is definitly out of scope for youtube-dl itself, and can be easily implemented via a wrapper. |
Is it possible to add support to where you can start YTDL in such a way it will start listening to a socket.
Any command line parameters can generally sent through the socket. YTDL will then run as if evoked with these parameters on the command line and re direct the information as a response to the client of initiate another socket connection(s) and write these results to the appropriate sockets provided at command line.
If everything is sent through 1 socket then a user provided tag delimiter would be inserted for the appropriate information.
Similar to the following requests but input / output specified is a socket connection.
#1899
#1896