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
173 stars 15 forks source link

Youtube mix/playlist request? #48

Open INPoppoRTUNE opened 1 month ago

INPoppoRTUNE commented 1 month ago

Documentation is not really clear on how to compose a Youtube request: you might want to add a section in the readme file.

As far as I'm aware the existing request methods are the following:

Request output

Request output type

I'm not currently able to make the latest two in list works, hence the title of the issue: how shall I compose a request starting from a Youtube playlist such as https://www.youtube.com/playlist?list=PL6kFT_LlrYKW32II058F7c_NcJ3uCMNh6 ? Also please feel free to expand the list if any other request possible is missing.

Thanks again for your time and the amazing work put into this app.

fe80Grau commented 1 month ago

Sorry for the documentation, when I can I will work to update it and make it clearer. The list should be declared in channel_list.json like

[
       "list-PL6kFT_LlrYKW32II058F7c_NcJ3uCMNh6"
]

After that, ytdlp2STRM will create a strm for each video in the playlist. Each strm has a final url for a video. I hope to make myself understood

INPoppoRTUNE commented 1 month ago

The list should be declared in channel_list.json

This is clear, I’d like to create a stream of a whole playlist through a request instead. Is it not possible to compose a request that return a single strm containig all the youtube videos of the playlist queued?

  • Currently extractaudio does not work with list prefix.

Assuming that part 1 is doable, will this be implemented? I’m probably using your program in a different way than the one intended, hence my reliance on http requests.