Bug 1372 - Resolve paths through symlinks and aliases to a canonical path to avoid duplicates
: Resolve paths through symlinks and aliases to a canonical path to avoid dupli...
Status: RESOLVED WONTFIX
Product: Logitech Media Server
Classification: Unclassified
Component: iTunes
: 6.1.0
: All All
: P2 normal (vote)
: Future
Assigned To: Blackketter Dean
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-13 15:42 UTC by Kevin Pearsall
Modified: 2007-10-22 16:30 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Pearsall 2005-04-13 15:42:21 UTC
 
Comment 1 Vidur Apparao 2005-04-15 11:11:00 UTC
Please provide more info. I can't recreate this.
Comment 2 Vidur Apparao 2005-04-21 08:57:45 UTC
Spoke with the customer directly and found that the problem relates to his
specific setup. To cut a long story short, he syncs his iTunes XML file from one
machine to another and then has a script that modifies the paths in the file.
It's possible for SlimServer to do a scan both before and after the paths have
been modified. This results in duplicate entries - one for the pre-modified
path, the other for the post-modified path. Both seem to be valid paths, since
the customer uses a symlink to map one to the other. 

Changing the subject of this bug report to reflect what we should be doing -
resolving symlinks and aliases to a canonical path and moving forward to 6.1.
Comment 3 Blackketter Dean 2005-06-07 15:42:01 UTC
Is this planned for 6.1, vidur?
Comment 4 Steven Kramer 2005-10-27 16:52:33 UTC
Will this also solve a problem that I have been having? Essentially, songs
listed in m3u playlist created outside of slimserver (e.g., WinAmp, Media
Center), result in duplicate entries in the database. Basically the problem
results because my music is on a server and each of these programs use different
strings to represent the same song than does slimserver. For instance:

Slimserver -  \\MEDIA-SERVER\My Music 2\Alison Brown\Stolen Moments\Alison Brown
- Angel.flac
Media Center- \\Media-server\My Music 2\Alison Brown\Stolen Moments\Alison Brown
- Angel.flac

In this case, the only difference is the case of "Media-server". Other times
drive letters will be included among other differences. I have manually edited
the m3u file and when I make I change it the file so that it is identical to the
slimserver representation, do a clear and rescan, the dublicates disappear. If
this is not the same problem, I will create a new bug report. 
Comment 5 Blackketter Dean 2007-10-22 16:30:04 UTC
Separate problem, please file a new bug if it's still happening to you, Steven.