MPD overwriting radio metadata

General Discussion about MPD – anything that doesn't fit in the other MPD forums.
Post Reply
mariofutire
Posts: 4
Joined: January 31st, 2021, 3:18 pm

MPD overwriting radio metadata

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

Re: MPD overwriting radio metadata

Post 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.
mariofutire
Posts: 4
Joined: January 31st, 2021, 3:18 pm

Re: MPD overwriting radio metadata

Post by mariofutire »

This is the behaviour of vlc.
Title is overwritten, but the rest of the metadata is preserved.
mariofutire
Posts: 4
Joined: January 31st, 2021, 3:18 pm

Re: MPD overwriting radio metadata

Post by mariofutire »

Post Reply