chrippa / livestreamer

Command-line utility that extracts streams from various services and pipes them into a video player of choice. No longer maintained, use streamlink or youtube-dl instead.
http://livestreamer.io/
BSD 2-Clause "Simplified" License
3.88k stars 582 forks source link

livestreamer failing yet URL is good #1650

Open wildbi111 opened 6 years ago

wildbi111 commented 6 years ago

Checked the URL via my PC and it works fine yet this is now failing with livestreamer after working fine for several months.

livestreamer https://www.youtube.com/watch?v=y04xG7qCEh0 720p -n -p "omxplayer --no-osd --win '0 0 800 480' " [cli][info] Found matching plugin youtube for URL https://www.youtube.com/watch?v=y04xG7qCEh0 error: No streams found on this URL: https://www.youtube.com/watch?v=y04xG7qCEh0

cdrage commented 6 years ago

Livestreamer has been abandoned.

Use: https://github.com/streamlink/streamlink

life commented 6 years ago

Streamlink has found a fix, that also works for livestreamer !

in plugins/youtube.py (on debian: /usr/lib/python2.7/dist-packages/livestreamer/plugins/youtube.py ), at line 158, change: player_embedded by detailpage to obtain:

    params = {
        "video_id": video_id,
     "el": "detailpage"
    }