Page 1 of 1

Providing name to an URL

Posted: June 6th, 2020, 7:18 am
by klsijeh
Hello all,

I'm using the HTTP output to convert an m4a stream to an mp3 stream for broadcasting on my network, this works pretty well.
However, I can not find a way to let the clients know what mp3 stream this is.

$ mpc add <URL-TO-CONVERT>
$ mpc play

$ mpc status
This reports the URL that is being played but I don't have a descryption of that URL.

The same is also true in VLC, if I enter the below URL in VLC I get the URL as the name of the stream.

vlc http://<LOCAL-STREAM-URL>:8000


Is there a way to provide a name/title tag per URL?

Any feedback is welcome.

Re: Providing name to an URL

Posted: June 6th, 2020, 7:37 am
by max
In your opinion, where would MPD be able to obtain the "description of that URL", and how shall it be transmitted to its streaming client?

Re: Providing name to an URL

Posted: June 6th, 2020, 4:32 pm
by klsijeh
By providing it myself.

At (1, 'The following tags are supported by MPD:')

So I'm hoping to be able to provide some information to the clients that way or is there a better way around this?

1) https://www.musicpd.org/doc/html/protocol.html

Re: Providing name to an URL

Posted: June 6th, 2020, 6:51 pm
by max

Re: Providing name to an URL

Posted: June 7th, 2020, 7:33 am
by klsijeh
Thank you.

How do I invoke 'addtagid'?

Mpc does not list this command neither does mpd.

I'm clearly missing something here, any help is appriciated.

Re: Providing name to an URL

Posted: June 7th, 2020, 6:53 pm
by max
It's a protocol command that is not (yet) implemented by mpc. If you need it, write a mpc feature request.

Re: Providing name to an URL

Posted: June 7th, 2020, 7:16 pm
by klsijeh
Okay, that clear things up! :)

Is there any CLI (without curses) alternative that has this feature or is there any CLI clients that implement all of the feature provided by the protocol?


I don't have a Github account, how can I file a bug report without one?

Re: Providing name to an URL

Posted: January 31st, 2021, 3:30 pm
by mariofutire
I have the exact same issue and I found a workaround by creating a playlist.

But mpc / mpd overwrites the metadata when I actually play the stream.
See here

viewtopic.php?f=8&t=8482

I am looking for the simplest client to play internet streams as radio and mpd/mpc are almost a perfect fit.