From: James B. <bur...@go...> - 2010-10-30 20:14:58
|
Hello all, I've noticed that smart playlists on iPods with string comparisons (artist name etc) created with libgpod behave differently to those created in iTunes. Playlists created in and evaluated with libgpod do a case sensitive string comparison, iTunes does a case-insensitive one. This means if you create a playlist with libgpod then access the device in iTunes, the contents of the smart playlist will often change (iTunes seems to re-evaluate smart playlist rules every time a device is first attached). I think case insensitive matching would be preferable: it's more likely to be what the user expects, and matches iTunes behaviour. As far as I can tell all the string comparison rules in iTunes are case-insensitive (contains/does not contain/is/is not/starts with/ends with). This would be a trivial change (using strcasecmp/strcasestr/strncasecmp in itdb_splr_eval in itdb_playlist.c), but I don't know if this issue has come up before and the current behaviour was deemed preferable. Thoughts? James Burton |