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 mix/playlist request? #48

Open
INPoppoRTUNE opened this issue May 25, 2024 · 2 comments
Open

Youtube mix/playlist request? #48

INPoppoRTUNE opened this issue May 25, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@INPoppoRTUNE
Copy link
Contributor

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

  • http://localhost:5005/youtube/direct/<youtubeID> → A simple redirect to final stream URL. (faster, no disk usage, sponsorblock not works)
  • http://localhost:5005/youtube/bridge/<youtubeID> → Remuxing on fly. (fast, no disk usage)
  • http://localhost:5005/youtube/download/<youtubeID> → First download full video then it's served. (slow, temp disk usage)

Request output type

  • http://localhost:5005/youtube/direct/<youtubeID>-audio → Return an audio only streaming
  • http://localhost:5005/youtube/direct/list-<youtubeID> → Return a streaming of an entire playlist (?)
  • http://localhost:5005/youtube/direct/list-<youtubeID>-audio → Return an audio only streaming of an entire playlist (?)

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
Copy link
Owner

fe80Grau commented May 25, 2024

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

  • Currently extractaudio does not work with list prefix.

@fe80Grau fe80Grau added the question Further information is requested label May 25, 2024
@INPoppoRTUNE
Copy link
Contributor Author

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.

@fe80Grau fe80Grau added the enhancement New feature or request label May 28, 2024
@fe80Grau fe80Grau self-assigned this Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants