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

loading playlist .m3u8 with mpc does not work #24

Closed
chicco64 opened this issue Feb 16, 2021 · 5 comments
Closed

loading playlist .m3u8 with mpc does not work #24

chicco64 opened this issue Feb 16, 2021 · 5 comments

Comments

@chicco64
Copy link

Hi !
I would like to load my playlist through the "mpc load playlist" command.
Mopidy cannot play the "saved" playlist in m3u8 format; it is possible to play the playlist only through the "musicbox" graphic interface by manually selecting the playlist that appears on the network, and not the one saved in m3u8 format.
Is it possible to start the playlist "on the net" through the command line?
Perhaps using the "public" link that distinguishes that specific playlist (eg. https://music.youtube.com/playlist?list=xxx_xxx_xxx)
Thanks for your help

@impliedchaos
Copy link
Collaborator

Yeah, you can just change the URL from "https://music.youtube.com/playlist?list=XXXXX" to "ytmusic:playlist:XXXXX". Then you can add that url via a web frontend or from mpc as "mpc add ytmusic:playlist:XXXXX"

@chicco64
Copy link
Author

Great, the "mpc add ytmusic: playlist: XXXXX" method works perfectly !
Would you be so kind to explain the other method, "via a web frontend", perhaps with a concrete example?
eg. my current address is:
http://xx.xx.xx.xx:6680/musicbox_webclient/index.html#nowPlaying
Many thanks !

@impliedchaos
Copy link
Collaborator

It's the same, you're just manually entering it into musicbox. Navigate to "Queue" and click on the "+" button on the top right. Then just type the URI you created into the dialog.

image

@chicco64
Copy link
Author

perfect, many thanks!

@bendschs
Copy link

bendschs commented Oct 2, 2022

for some reason this only works for me if tracks/playlists are already cached, or at least were searched for before through the webfrontend. otherwise mpc fails with "directory or file not found". iris is able to recognise tracks i searched for before, in the way that the tracks title and artist appear instead of "ytmusic:track:xxxx" in the addlist (i am using iris) but is not able to actually add the track to the playlist either.

did that actually ever work and is it maybe just not working because the yt-api changed?
"spotify", "youtube" (non-music) and "local" extensions are all able to handle urls via mpc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants