Hi Max, 2015-07-01 8:07 GMT+02:00 Max Kellermann <[email protected]>: > On 2015/06/28 08:40, Andreas Mair <[email protected]> wrote: >> I've taken a look at the MPD sources and I think the problem is, that >> MPD tries an exact *string* match. If I use "... find 01/10" it works, >> but I think that's not ideal to work like this because one has to know >> (1) how many songs an album has and (2) if the number of total tracks >> is stored and (3) if leading zeros are used. > > Actually, MPD does not expect the "track" tag to have something other > than the track number. The problem is that some tag specifications > (such as ID3) allow the total number of tracks appended to the "track" > tag. > > What MPD should do is filter out this extra data. And filter out > leading zeroes.
OK, I see. I didn't know that ID3 stores "01/10" in the track tag instead of having one for "track number" and one for "total tracks". So I really think that MPD should filter out that extra data and leading zeros, like you suggested. It should not be limited to the track tag, because it's the same for disc number. Any chance to change that in MPD? Best regards, Andreas _______________________________________________ mpd-devel mailing list [email protected] http://mailman.blarg.de/listinfo/mpd-devel
