Bug 4422 - MusicIP playlist containing files with accented characters generates duplicates in Slimserver
: MusicIP playlist containing files with accented characters generates duplicat...
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: MusicIP
: 6.5.1
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-10-25 14:08 UTC by Pierre
Modified: 2008-12-18 11:11 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments
Modified Importer.pm (10.06 KB, text/plain)
2006-10-27 11:19 UTC, Pierre
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre 2006-10-25 14:08:59 UTC
Whenever a MusicIP playlist contains files with accented characters in the path, Slimserver generates a duplicate entry with garbled characters. I saw that behavior with the Duplicates playlist which is generated automatically by MusicIP.

I suspect that the same fix that was applied for bugs 4281 and 3318 should be applied to the import of playlists.

SlimServer : 6.5.1 - 10464 - Windows XP - FR - cp1252
MusicIP: 1.7
Comment 1 Pierre 2006-10-27 11:19:09 UTC
Created attachment 1667 [details]
Modified Importer.pm
Comment 2 Pierre 2006-10-27 11:20:52 UTC
See the attached Importer.pm for proposed fixes to the following Sub:

exportPlaylists
exportDuplicates
Comment 3 Dieter 2006-11-01 12:24:44 UTC
I have a similar problem. Since I use MusicIP ALL my songs which contain accented characters in the path are doubled in slimserver. They all appear once correctly in there corresponding album with all tags correctly shown in the song info. And they all appear a second time in the slimserver database with incorrect tags. For most of these duplicates the tags are empty except the TITLE tag shows the file name (without extension). For some the tags are not empty but messed up (the ALBUM tag comprises e.g. the ARTIST name).

In MusicIP all songs are shown correctly only once. The number of songs shown in MusicIP is identical to the number of songs saved on my harddisk.

Song count in slimserver is increased by the number of duplicates.

Since ALL songs containing accented characters in the path are duplicated I first thought it is not related to the reported bug which mentions that only the files with accented characters which are part of a MusicIP playlist are doubled. But I recognized now that in Slimserver there is shown a playlist named "MusicMagic: �berwachungsliste" (I use German, probably "MusicMagic: Monitoring List" in English). This automatically created playlist comprises ALL my songs so that may the reason that ALL my songs with accented characters are duplicated.

This playlist is also shown in MusicIP and I guess it is created since I have chosen in the MusicIP options to monitor my music directory.
Comment 4 Dan Sully 2006-11-01 13:12:44 UTC
Fixed in change 10546.

Thanks