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

Implement live streaming #13

Open
cory2067 opened this issue Sep 21, 2017 · 4 comments
Open

Implement live streaming #13

cory2067 opened this issue Sep 21, 2017 · 4 comments

Comments

@cory2067
Copy link
Collaborator

Apparently, we can directly stream via vlc instead of downloading video.

current = subprocess.Popen(['vlc-wrapper', '-I', 'rc', 'https://www.youtube.com/watch?v=XXXXXXXXXX', '--no-video', '--play-and-exit'], stdout=useless_trash, stderr=useless_trash)
@MFarejowicz
Copy link
Collaborator

What would that mean for randoming? Could we just log what urls have been used? That would be nice because then we wouldn't ever run out of space

@cory2067
Copy link
Collaborator Author

yes, would log in like some file

@cory2067
Copy link
Collaborator Author

(Also, this doesn't get around the files refusing to load issue, same 403 error, thank google)

@cory2067
Copy link
Collaborator Author

o actually replacing /usr/lib/vlc/lua/playlist/youtube.luac with this file should fix the issue:
http://git.videolan.org/?p=vlc.git;a=blob_plain;f=share/lua/playlist/youtube.lua;hb=HEAD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants