Bugzilla – Bug 8454
Vista & Mapped Drives will not scan
Last modified: 2009-07-31 10:22:55 UTC
Windows Vista x32 adding a ShortCut to the music folder to be scaned by SC no longer works. steps to repro 1) install SC 7.1-20822 2) select \\users\<name>\music as the default music path for SC 3) copy a shortcut from another music directory (NAS or other HDD in system) to the above music folder 4) start a SCAN in SC 5) notice no music is added Also, if you browse the music folder from SC, you will see the shortcuts apear, but they are treated like files, not folders. I.E. you can click on them and get file properties, but can't open them like folders
This does not happen with USB Drives added as a shortcut, but does happen with "network" drives even if they are mapped as driver letters. \\qastorage\smsuer\music <network share> will fail \\172.19.120.207\<account>\music <network UNC> will fail M:\ <Mapped Network Drive> will fail All the above FAIL on 7.0.1 & 7.1 when using Vista All the above WORK on 7.0.1 & 7.1 when using Windows XP "e:\music" <attached USB drive> will work on both Vista & XP / 7.0.1 / 7.1
Browsing Music folder seems to be working fine for me (though it takes ages - accessing a ReadyNAS over WLAN...). Shortcuts indeed are simple text files. Could you please attach yours to this bug (might need to rename them to .txt as IE and others might consider it a dangerous file type). Make sure the user who's running SC is allowed to access the share. This is especially important if you're running SC as a service. I'm not sure yet what's wrong. The scan seems to be hanging forever, but I've seen some activity on the NAS. Will wait a bit longer.
Also, could you please turn on debugging for scan, scan.import, scan.scanner and upload a scanner.log file?
Created attachment 3451 [details] Music Links in a ZIP
Oh, only now I realise you're seeing this for Vista only. Is Vista running the SC or the music share? And what about a log file?
Hmm... working for me on Vista, too. I'd bet it's a permissions issue.
OK, let me retest this one, playing with the various permissions
*** This bug has been marked as a duplicate of bug 8246 ***
James - does it not _scan_ or does it not show up in the browse window? I'll have to replace that outdated module, returning wrong drive information on Vista.
Change 22214 - replace way outdated Win32::DriveInfo with something more recent. James - I've rewritten large parts of the drive handling in SC. Please test this thoroughly on various Windows systems, with mapped shares, USB drives/sticks etc. I tested this with XP/Vista. Also: if you could enable debugging for os.paths you should get something like the following in the logs: [08-07-30 12:58:06.4059] Slim::Utils::Win32::getDrives (43) Drive of type '2' found: A: [08-07-30 12:58:06.4067] Slim::Utils::Win32::getDrives (43) Drive of type '3' found: C: [08-07-30 12:58:06.4112] Slim::Utils::Win32::getDrives (43) Drive of type '3' found: D: [08-07-30 12:58:06.4267] Slim::Utils::Win32::getDrives (43) Drive of type '2' found: J: [08-07-30 12:58:06.4271] Slim::Utils::Win32::getDrives (43) Drive of type '4' found: Z: I'd be very interested to know how these types look for various media (expecially external disks and USB sticks). Would be great if you could report these lines together with a definition of what kind of disk these were. I've found that the type of USB disks is not the same as the one of USB sticks and card readers. If this proved to be true, this might help us with bug 7821
[08-07-31 10:57:33.7395] Slim::Schema::init (161) Warning: Creating new database - empty database or database from 6.3.x found [08-07-31 10:57:49.6545] main::checkDataSource (890) Warning: Schema updated or no tracks in the database, initiating scan. [08-07-31 10:58:37.9633] main::checkDataSource (890) Warning: Schema updated or no tracks in the database, initiating scan. [08-07-31 11:04:45.9755] main::checkDataSource (890) Warning: Schema updated or no tracks in the database, initiating scan. [08-07-31 11:08:14.1355] Slim::Utils::Win32::getDrives (43) Drive of type '2' found: A: [08-07-31 11:08:14.1362] Slim::Utils::Win32::getDrives (43) Drive of type '3' found: C: [08-07-31 11:08:14.1365] Slim::Utils::Win32::getDrives (43) Drive of type '5' found: D: [08-07-31 11:08:14.1372] Slim::Utils::Win32::isDriveReady (83) Checking drive state for C: [08-07-31 11:08:14.1377] Slim::Utils::Win32::isDriveReady (84) --> ok [08-07-31 11:08:14.1474] Slim::Utils::Misc::fixPath (786) Fixed: Music - Shortcut.lnk to file:///C:/Users/James%20Richardson/Music/Music%20-%20Shortcut.lnk [08-07-31 11:08:14.1477] Slim::Utils::Misc::fixPath (788) Base: C:\Users\James Richardson\Music [08-07-31 11:08:17.3111] Slim::Utils::Misc::fixPath (786) Fixed: AC3 FLAC to file:////Qastorage/smsuser/Music/AC3%20FLAC [08-07-31 11:08:17.3134] Slim::Utils::Misc::fixPath (788) Base: \\Qastorage\smsuser\Music [08-07-31 11:08:17.4062] Slim::Utils::Misc::fixPath (786) Fixed: AIFF to file:////Qastorage/smsuser/Music/AIFF [08-07-31 11:08:17.4068] Slim::Utils::Misc::fixPath (788) Base: \\Qastorage\smsuser\Music [08-07-31 11:08:17.4877] Slim::Utils::Misc::fixPath (786) Fixed: DTS FLAC to file:////Qastorage/smsuser/Music/DTS%20FLAC [08-07-31 11:08:17.4884] Slim::Utils::Misc::fixPath (788) Base: \\Qastorage\smsuser\Music [08-07-31 11:08:17.5647] Slim::Utils::Misc::fixPath (786) Fixed: FLAC to file:////Qastorage/smsuser/Music/FLAC [08-07-31 11:08:17.5654] Slim::Utils::Misc::fixPath (788) Base: \\Qastorage\smsuser\Music [08-07-31 11:08:17.6111] Slim::Utils::Misc::fixPath (786) Fixed: M4A to file:////Qastorage/smsuser/Music/M4A [08-07-31 11:08:17.6117] Slim::Utils::Misc::fixPath (788) Base: \\Qastorage\smsuser\Music [08-07-31 11:08:17.6702] Slim::Utils::Misc::fixPath (786) Fixed: M4A Lossless to file:////Qastorage/smsuser/Music/M4A%20Lossless [08-07-31 11:08:17.6709] Slim::Utils::Misc::fixPath (788) Base: \\Qastorage\smsuser\Music [08-07-31 11:08:17.7618] Slim::Utils::Misc::fixPath (786) Fixed: M4A Plus to file:////Qastorage/smsuser/Music/M4A%20Plus [08-07-31 11:08:17.7622] Slim::Utils::Misc::fixPath (788) Base: \\Qastorage\smsuser\Music [08-07-31 11:08:17.8447] Slim::Utils::Misc::fixPath (786) Fixed: M4P to file:////Qastorage/smsuser/Music/M4P [08-07-31 11:08:17.8453] Slim::Utils::Misc::fixPath (788) Base: \\Qastorage\smsuser\Music [08-07-31 11:08:17.9126] Slim::Utils::Misc::fixPath (786) Fixed: MP3 to file:////Qastorage/smsuser/Music/MP3 [08-07-31 11:08:17.9141] Slim::Utils::Misc::fixPath (788) Base: \\Qastorage\smsuser\Music [08-07-31 11:08:17.9590] Slim::Utils::Misc::fixPath (786) Fixed: WAV to file:////Qastorage/smsuser/Music/WAV [08-07-31 11:08:17.9593] Slim::Utils::Misc::fixPath (788) Base: \\Qastorage\smsuser\Music [08-07-31 11:08:18.0035] Slim::Utils::Misc::fixPath (786) Fixed: WMA to file:////Qastorage/smsuser/Music/WMA [08-07-31 11:08:18.0060] Slim::Utils::Misc::fixPath (788) Base: \\Qastorage\smsuser\Music [08-07-31 11:08:18.0590] Slim::Utils::Misc::fixPath (786) Fixed: WMA Lossless to file:////Qastorage/smsuser/Music/WMA%20Lossless [08-07-31 11:08:18.0597] Slim::Utils::Misc::fixPath (788) Base: \\Qastorage\smsuser\Music [08-07-31 11:08:18.1528] Slim::Utils::Misc::fixPath (786) Fixed: WMA Lossless DRM to file:////Qastorage/smsuser/Music/WMA%20Lossless%20DRM [08-07-31 11:08:18.1534] Slim::Utils::Misc::fixPath (788) Base: \\Qastorage\smsuser\Music [08-07-31 11:12:17.2643] Slim::Utils::Win32::getDrives (43) Drive of type '2' found: A: [08-07-31 11:12:17.2647] Slim::Utils::Win32::getDrives (43) Drive of type '3' found: C: [08-07-31 11:12:17.2649] Slim::Utils::Win32::getDrives (43) Drive of type '5' found: D: [08-07-31 11:12:17.2656] Slim::Utils::Win32::isDriveReady (83) Checking drive state for C: [08-07-31 11:12:17.2659] Slim::Utils::Win32::isDriveReady (84) --> ok [08-07-31 11:12:17.2709] Slim::Utils::Misc::fixPath (786) Fixed: Music - Shortcut.lnk to file:///C:/Users/James%20Richardson/Music/Music%20-%20Shortcut.lnk [08-07-31 11:12:17.2711] Slim::Utils::Misc::fixPath (788) Base: C:\Users\James Richardson\Music [08-07-31 11:12:19.9645] Slim::Utils::Misc::fixPath (786) Fixed: AC3 FLAC to file:////Qastorage/smsuser/Music/AC3%20FLAC [08-07-31 11:12:19.9653] Slim::Utils::Misc::fixPath (788) Base: \\Qastorage\smsuser\Music [08-07-31 11:12:19.9797] Slim::Utils::Misc::fixPath (786) Fixed: AIFF to file:////Qastorage/smsuser/Music/AIFF [08-07-31 11:12:19.9802] Slim::Utils::Misc::fixPath (788) Base: \\Qastorage\smsuser\Music [08-07-31 11:12:20.0014] Slim::Utils::Misc::fixPath (786) Fixed: DTS FLAC to file:////Qastorage/smsuser/Music/DTS%20FLAC [08-07-31 11:12:20.0021] Slim::Utils::Misc::fixPath (788) Base: \\Qastorage\smsuser\Music [08-07-31 11:12:20.0144] Slim::Utils::Misc::fixPath (786) Fixed: FLAC to file:////Qastorage/smsuser/Music/FLAC [08-07-31 11:12:20.0149] Slim::Utils::Misc::fixPath (788) Base: \\Qastorage\smsuser\Music [08-07-31 11:12:20.0272] Slim::Utils::Misc::fixPath (786) Fixed: M4A to file:////Qastorage/smsuser/Music/M4A [08-07-31 11:12:20.0280] Slim::Utils::Misc::fixPath (788) Base: \\Qastorage\smsuser\Music [08-07-31 11:12:20.0472] Slim::Utils::Misc::fixPath (786) Fixed: M4A Lossless to file:////Qastorage/smsuser/Music/M4A%20Lossless [08-07-31 11:12:20.0478] Slim::Utils::Misc::fixPath (788) Base: \\Qastorage\smsuser\Music [08-07-31 11:12:20.0697] Slim::Utils::Misc::fixPath (786) Fixed: M4A Plus to file:////Qastorage/smsuser/Music/M4A%20Plus [08-07-31 11:12:20.0703] Slim::Utils::Misc::fixPath (788) Base: \\Qastorage\smsuser\Music [08-07-31 11:12:20.0826] Slim::Utils::Misc::fixPath (786) Fixed: M4P to file:////Qastorage/smsuser/Music/M4P [08-07-31 11:12:20.0833] Slim::Utils::Misc::fixPath (788) Base: \\Qastorage\smsuser\Music [08-07-31 11:12:20.0955] Slim::Utils::Misc::fixPath (786) Fixed: MP3 to file:////Qastorage/smsuser/Music/MP3 [08-07-31 11:12:20.0960] Slim::Utils::Misc::fixPath (788) Base: \\Qastorage\smsuser\Music [08-07-31 11:12:20.1086] Slim::Utils::Misc::fixPath (786) Fixed: WAV to file:////Qastorage/smsuser/Music/WAV [08-07-31 11:12:20.1092] Slim::Utils::Misc::fixPath (788) Base: \\Qastorage\smsuser\Music [08-07-31 11:12:20.1229] Slim::Utils::Misc::fixPath (786) Fixed: WMA to file:////Qastorage/smsuser/Music/WMA [08-07-31 11:12:20.1234] Slim::Utils::Misc::fixPath (788) Base: \\Qastorage\smsuser\Music [08-07-31 11:12:20.1427] Slim::Utils::Misc::fixPath (786) Fixed: WMA Lossless to file:////Qastorage/smsuser/Music/WMA%20Lossless [08-07-31 11:12:20.1435] Slim::Utils::Misc::fixPath (788) Base: \\Qastorage\smsuser\Music [08-07-31 11:12:20.1643] Slim::Utils::Misc::fixPath (786) Fixed: WMA Lossless DRM to file:////Qastorage/smsuser/Music/WMA%20Lossless%20DRM [08-07-31 11:12:20.1647] Slim::Utils::Misc::fixPath (788) Base: \\Qastorage\smsuser\Music [08-07-31 11:15:03.2364] Slim::Utils::Misc::crackURL (624) Cracked: http://127.0.0.1:9000/settings/server/basic.html?player=&playerid= with [127.0.0.1],[9000],[/settings/server/basic.html?player=&playerid=] [08-07-31 11:15:03.2371] Slim::Utils::Misc::crackURL (624) Cracked: http://127.0.0.1:9000/settings/server/basic.html?player=&playerid= with [127.0.0.1],[9000],[/settings/server/basic.html?player=&playerid=]
The above was using a Windows Shortcut to point to a network share
This bug has been fixed in the 7.3.0 release version of SqueezeCenter! Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already. If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
Reduce number of active targets for SC