Bugzilla – Bug 15507
scanner doesn't appear to follow symlinks (7.5.0-embedded r29836)
Last modified: 2010-04-08 17:24:31 UTC
When I use SQLite in r29836 of the 7.5.0 embedded branch it appears that the scanner is not following symbolic links. The library only shows files in my main music directory (and not those in the symbolically linked directories) and the scan report in the web ui says "Remove deleted files (401 of 401)", which is exactly the number of tracks in the symlink'd directories. Previously with r29767 (Jan 12) the initial automatic rescan was not picking up the symlink'd directories either, but I could add them to the database by following up the auto scan with a "new and changed" scan. That does not work with r29836. With r29836 I can still force the symlink'd directories into the database by using Browse Music Folder to go to each album. Note that the "remove deleted files" message probably only comes up after I have successfully scanned the symlink'd files via r29767 or BMF. I don't think it appears if I do repeated scans with r29836, but I'd have to confirm. Two other aspects of my setup that may be worth mentioning are (1) I use MusicIP headless, although rescanning in MusicIP server doesn't change the outcome with r29836, and (2) the symlink'd files are all MP3, whereas the main part of the library is all FLAC. I suspect the problem is the symlink and not the codec, but thought I'd mention it just in case.
I don't use MusicIP, but I do have my wife's music as a symlink... It vanishes. A simple test: cd ~ (somewhere outside the music directory anyway) mkdir Foo cd music mkdir Test cd Test ln -s ~/Foo Bar cp ~/somerandom.mp3 Bar That -should- be picked up, but isn't.
== Auto-comment from SVN commit #29875 to the slim repo by andy == == https://svn.slimdevices.com/slim?view=revision&revision=29875 == Fixed bug 15507, symlink scanning was broken, several lstats were used that should have been stats
This bug has been marked fixed in a released version of Squeezebox Server or the accompanying firmware or mysqueezebox.com release. If you are still seeing this issue, please let us know!