[Feature Request]: Add possibility to play a playlist via API #3507
Labels
No labels
awaiting-reply
breaking changes
bug
cannot-reproduce
dependencies
documentation
duplicate
electron-issue
enhancement
fix-available
good first issue
help wanted
invalid
javascript
need more information
need rebase
official-youtube-music-issue
plugin request
question
release
security
stale
Status: blocked
typo
wontfix
ytmd-issue
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: YTMD/youtube-music#3507
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Preflight Checklist
Problem Description
Currently when somebody send me an URL like
https://www.youtube.com/watch?v=xneiaE_SCg8&list=PLTVVimTiUJwUbIqmTHncJvWRidgjjn1Ps
I'm able to parse av=....
parameter for avideoId
value and call thePOST /api/v1/queue
endpoint to add the track into the queue.But there is no possibility to add whole playlist.
Proposed Solution
It will be so nice to have a possibility to add optional parameter
playlistId
that will took all the tracks from the playlist, found the position of thevideoId
and place it and all the following tracks into the queueAlternatives Considered
Currently I don't have any way, how to do that automatically via API.
Additional Information
Thanks much for your great work
You could use the library we are using,
youtube.js
to do everything you suggested, and then post each video to the API.Innertube.music.getPlaylist
is what you are looking for.(I am just suggesting an alternative, since you didn't seem to have one)
@ArjixWasTaken Thanks much for your fast reply.
In this case, I'm not a javascript developer that have access to the
youtube.js
library.I have the
YoutubeMusic Desktop
application running on the server and sending the instructions via API from theFirebot
application based on the commands from the Twitch chat.