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

[Feature Request] Add by URL with tags #84

Open
matzebond opened this issue Jun 12, 2022 · 1 comment
Open

[Feature Request] Add by URL with tags #84

matzebond opened this issue Jun 12, 2022 · 1 comment

Comments

@matzebond
Copy link

I am currently working on integrating YouTube with mpd and landed on something like:
mpc add $(youtube-dl -g --format bestaudio https://www.youtube.com/watch\?v\=1h4dI2pW8vg)
The audio url get added and plays but there is no meta information and it looks ugly in clients.
I would like to provide meta information either in the add command or in a separate command.

The protocol has addtagid {SONGID} {TAG} {VALUE} and addid {URL} [POSITION] if mpc provided these scripting would become much easier :-)

@drtorchwood
Copy link

I'm facing the same problem. With the --get-title option of youtube-dl or yt-dlp I get the title, too. But I cannot forward it to mpd. Here (https://forums.debian.net/viewtopic.php?p=694304&sid=f3d4416ed8299e739f74c149a4ada039#p694304), the information is added after # to the url but this does not seem to work. The stream starts but no tag is available in mpd.

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

2 participants