Hi, I'm trying to find out why MPDroid is so slow when it lists an artist's albums. So I enabled debug logging in MPD and noticed that MPDroid issues three MPD queries for each album it has to show.
For example: client: [12] process command "find "albumartist" "Aerosmith" "album" "Pump" "track" "1"" client: [12] command returned 0 client: [12] process command "find "albumartist" "Aerosmith" "album" "Pump" "track" "01"" client: [12] command returned 0 client: [12] process command "search "albumartist" "Aerosmith" "album" "Pump" "track" "1"" client: [12] command returned 0 I would expect, that the first command (track "1") should work, but there's no result. That's also true for the second command (track "01"). The third command returns every song of that album (because it has 10 songs). 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. I'd suggest that MPD uses *numeric* matches for numeric fields like track or disc number. Or do I miss something? What do you think? Any chance to change that? Best regards, Andreas _______________________________________________ mpd-devel mailing list [email protected] http://mailman.blarg.de/listinfo/mpd-devel
