Providing name to an URL

General Discussion about MPD – anything that doesn't fit in the other MPD forums.
Post Reply
klsijeh
Posts: 4
Joined: June 6th, 2020, 6:59 am

Providing name to an URL

Post 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.
max
Forum team
Posts: 1139
Joined: January 15th, 2013, 3:43 pm

Re: Providing name to an URL

Post 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?
klsijeh
Posts: 4
Joined: June 6th, 2020, 6:59 am

Re: Providing name to an URL

Post 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
max
Forum team
Posts: 1139
Joined: January 15th, 2013, 3:43 pm

Re: Providing name to an URL

Post by max »

klsijeh
Posts: 4
Joined: June 6th, 2020, 6:59 am

Re: Providing name to an URL

Post 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.
max
Forum team
Posts: 1139
Joined: January 15th, 2013, 3:43 pm

Re: Providing name to an URL

Post by max »

It's a protocol command that is not (yet) implemented by mpc. If you need it, write a mpc feature request.
klsijeh
Posts: 4
Joined: June 6th, 2020, 6:59 am

Re: Providing name to an URL

Post 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?
Post Reply