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

Socket Mode #1906

Closed
sirinath opened this issue Dec 6, 2013 · 2 comments
Closed

Socket Mode #1906

sirinath opened this issue Dec 6, 2013 · 2 comments

Comments

@sirinath
Copy link

@sirinath sirinath commented Dec 6, 2013

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

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Dec 6, 2013

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.
It's probably easer than adding it inside youtube-dl.

@phihag
Copy link
Contributor

@phihag phihag commented Dec 6, 2013

Yes, this is definitly out of scope for youtube-dl itself, and can be easily implemented via a wrapper.

@phihag phihag closed this Dec 6, 2013
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
3 participants
You can’t perform that action at this time.