Page 1 of 1

MPD overwriting radio metadata

Posted: January 31st, 2021, 3:24 pm
by mariofutire
Hi,

I have created a playlist (xspf) with radio streams.
Each track contains these fields

Code: Select all

        <track>
            <creator>Radio France</creator>
            <location>http://direct.franceinfo.fr/live/franceinfo-midfi.mp3</location>
            <title>France Info</title>
            <album>France Info</album>
        </track>
then I load the playlist and display it with mpc

Code: Select all

mpc playlist -f "%position% - %name% - %title%"
All good

Code: Select all

19 -  - France Info
but as soon as I play it, mpc/mpd overwrites the metadata and I get

Code: Select all

19 - franceinfo-midfi.mp3 -
The behaviour changes according to the radio (I guess they transmit different metadata), and becomes unreadable pretty soon.

Is there a way to tell mpc/mpd not to overwrite any of the fields I provided in the playlist?

Re: MPD overwriting radio metadata

Posted: February 1st, 2021, 7:41 am
by max
MPD will always pick up tags from the radio stream, and this stream has a "Icy-Name" response header with a rather dull value ("icy-name: franceinfo-midfi.mp3").
But what shouldn't happen is that MPD "forgets" all the other tag values. Write a bug report, and I'll investigate it.

Re: MPD overwriting radio metadata

Posted: February 1st, 2021, 11:01 am
by mariofutire
This is the behaviour of vlc.
Title is overwritten, but the rest of the metadata is preserved.

Re: MPD overwriting radio metadata

Posted: February 1st, 2021, 2:54 pm
by mariofutire