Skip to content

Youtube video on Pi 4 fails to play. #2

@jmwohl

Description

@jmwohl

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions