fe80Grau / ytdlp2STRM

A little script to serve Youtube / Twitch / Crunchyroll videos without storage it. Uses yt-dlp HTTP data throught Flask and dynamic URLs. We can use this dynamic URLs to set STRM files.
https://github.com/fe80Grau/ytdlp2STRM
MIT License
228 stars 21 forks source link

No videos in YouTube playlist #78

Closed lesf0 closed 1 week ago

lesf0 commented 2 months ago

I just had a clean installation of ytdlp2strm from dockerhub. I use the following command to run it:

docker run --name ytdlp2strm --rm -d -p 5001:5000 -v /etc/ytdlp2strm_media/:/media fe80grau/ytdlp2strm

When I'm trying to add a YouTube playlist I get the following:

$ python cli.py --media youtube --params direct [2024-09-07 10:35:51.620491] CLI : Running youtube with ['direct'] params [2024-09-07 10:35:51.624953] youtube : --------------- [2024-09-07 10:35:51.627801] youtube : Working list-PLWMCwroYhJSpwweJuoGJ70xuUTiXU_fXM... [2024-09-07 10:36:13.167175] youtube : Channel URL: https://www.youtube.com/playlist?list=PLWMCwroYhJSpwweJuoGJ70xuUTiXU_fXM [2024-09-07 10:36:13.167459] youtube : Channel Name: [2024-09-07 10:36:13.167553] youtube : Channel Poster: [2024-09-07 10:36:13.167635] youtube : Channel Landscape: [2024-09-07 10:36:13.173274] youtube : Channel Description: [2024-09-07 10:36:13.173364] youtube : Playlist [2024-09-07 10:36:13.173446] youtube : no videos detected...

lesf0 commented 2 months ago

Apparently it's not the issue with ytdlp2strm but rather with yt-dlp itself: https://github.com/yt-dlp/yt-dlp/issues/10128

lesf0 commented 2 months ago

ytdlp2strm lacks some useful diagnostic messages here though. It would be nice to pass yt-dlp error messagess to the UI

fe80Grau commented 2 months ago

I added a few lines of code in the worker class to print and log the error messages returned by yt-dlp. I hope this will help to better debug future problems.

You can check this in the latest commit / docker image