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

Youtube video on Pi 4 fails to play. #2

Open
jmwohl opened this issue Feb 9, 2020 · 2 comments
Open

Youtube video on Pi 4 fails to play. #2

jmwohl opened this issue Feb 9, 2020 · 2 comments

Comments

@jmwohl
Copy link

jmwohl commented Feb 9, 2020

Testing using this extension on a Pi 4 with a YouTube video failed with the following error:

[b1d18a90] lua stream error: Couldn't extract youtube video URL, please check for updates to this script

Doing a little searching led me to the solution here, which worked — seems like the lua script that scrapes the youtube page for the video needs to be updated when youtube makes changes...

So I had to remove the existing script that came with the VLC install and add the latest one from VLC source:

sudo rm /usr/lib/arm-linux-gnueabihf/vlc/lua/playlist/youtube.luac
sudo curl "http://git.videolan.org/p=vlc.git;a=blob_plain;f=share/lua/playlist/youtube.lua;hb=HEAD" -o "/usr/lib/arm-linux-gnueabihf/vlc/lua/playlist/youtube.luac"

It's possible that just updating VLC would have fixed this, which I didn't do — so maybe it would be worth adding the vlc install / upgrade to latest version in the install.sh for this extension?

@jvolker
Copy link
Owner

jvolker commented Feb 10, 2020

Thanks for the report. Will test it myself when I have access to my Openframe setup again.

maybe it would be worth adding the vlc install / upgrade to latest version in the install.sh for this extension?

Yeah, I was planning on doing that. I think users should get asked during install if they want to upgrade though.

@jvolker
Copy link
Owner

jvolker commented Apr 21, 2020

I wanted to try this but I do get other errors now:

vlcpulse audio output error: PulseAudio connection failure: Connection refused
main interface error: no suitable interface module
main libvlc error: interface "globalhotkeys,none" initialization failed

Not sure what the reason is. Sounds unrelated to the Youtube issue. Maybe this is related to rotating the screen. I might have to use a fresh Raspian image. Before I've figured this out I can't work on this issue though.

@jmwohl can you please confirm what VLC version you have installed and how your screen is rotated?

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