GNOME Bugzilla – Bug 158287
Indexer doesn't handle symlinks
Last modified: 2006-09-29 15:30:27 UTC
When Muine indexes directories for audio files, it doesn't treat symlinks in a special way. This causes a couple of problems. If there are symlinks from one part of the indexed directory hierarchy to another, songs appear twice in the song list, despite only existing once on disk. If their are recursive symliks, muine repeatedly indexes the same files.
*** Bug 155193 has been marked as a duplicate of this bug. ***
Created attachment 35314 [details] [review] Do not index a directory more than once The attatched patch fixes half of the problem by preventing muine from following recursive symlinks. It keeps a list of visited directories and skips any that it has already seen. However, it uses Mono.Unix.UnixPath.GetRealPath, which is currently only available with mono HEAD.
Comment on attachment 35314 [details] [review] Do not index a directory more than once Thanks for the patch. The plan is however to use canonicalized uris when we use gnome-vfs support.. that should do the trick.
*** Bug 313765 has been marked as a duplicate of this bug. ***
Any progress on this bug? Are canonical URLS being used already?
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 161930 ***