Bugzilla – Bug 4523
Can't Rescan from Squeezebox
Last modified: 2007-01-24 23:18:24 UTC
On a squeezebox client, the rescan plugin has an option "Press PLAY to rescan now ->". I have tried pressing play, but the rescan doesn't happen. I see a bump-left animation. As there is also a Right-Arrow on the right-hand side of the option, I tried to press the right-arrow button on the remote, but that doesn't do anything. In desperation, I managed to perform the rescan from the squeezebox by setting a rescan time of 1 min in the future, and then set the Rescan timer ON. The rescan worked. I then turned the timer OFF. SlimServer Version: 6.5.1 - TRUNK - Windows XP - EN - cp1252 Server IP address: 192.168.1.2 Perl Version: 5.8.8 MSWin32-x86-multi-thread MySQL Version: 5.0.24-community-nt
Created attachment 1720 [details] may work this should do what is required, but I haven't had time to test.
That seems to fix the play button to start the rescan, thanks. There's still the spurious right-arrow on the display though (or is there meant to be further options by pressing right-arrow?)
I tried to do a rescan from a Squeezebox again today. I selected a rescan type of "Clear library and rescan everything", but it didn't clear the library. It also didn't find new music that I know I have recently entered in my library. I tried twice - the first attempt was from a Squeezebox, the second from softsqueeze. Looking in the log, it does indicate that a rescan was started: 2006-12-10 14:51:27.7484 About to look for files in M:\Music\SlimServer Music 2006-12-10 14:51:27.7616 For files with extensions in: [(?i-xsm:\.(?:ape|wma|wav|wave|mp3|mp2|flc|flac|m4a|mov|m4b|mp4|mp+|mpc|ogg|aif|aiff|lnk|cue)$)] 2006-12-10 14:52:37.5125 Found 59 files in M:\Music\SlimServer Music 2006-12-10 14:52:43.0755 About to look for files in M:\Music\SlimServer Playlists 2006-12-10 14:52:43.0768 For files with extensions in: [(?i-xsm:\.(?:asf|wax|asx|lnk|wpl|m3u|pls|xspf|cue|lnk)$)] 2006-12-10 14:52:48.8875 Found 1 files in M:\Music\SlimServer Playlists 2006-12-10 14:53:58.4744 CustomScan: Skipping artist Various Artists 2006-12-10 14:54:00.7483 CustomScan: Skipping album No Album 2006-12-10 15:27:49.7846 About to look for files in M:\Music\SlimServer Music 2006-12-10 15:27:49.7857 For files with extensions in: [(?i-xsm:\.(?:ape|wma|wav|wave|mp3|mp2|flc|flac|m4a|mov|m4b|mp4|mp+|mpc|ogg|aif|aiff|lnk|cue)$)] 2006-12-10 15:28:08.7528 Found 12 files in M:\Music\SlimServer Music 2006-12-10 15:28:09.7220 About to look for files in M:\Music\SlimServer Playlists 2006-12-10 15:28:09.7232 For files with extensions in: [(?i-xsm:\.(?:asf|wax|asx|lnk|wpl|m3u|pls|xspf|cue|lnk)$)] 2006-12-10 15:29:20.8756 CustomScan: Skipping artist Various Artists 2006-12-10 15:29:22.8279 CustomScan: Skipping album No Album I noticed quite a lot of hard-disk chatter the second time. I think this is because after a scan, other plugins receive a notification of a rescan and perform their custom actions. I'm suprised that this bug hasn't been allocated to someone yet - I think it should be fixed for the 6.5.1 official release.
I take back the bit about it not finding new music - I must have had temporary blindness, because I can now see the new album that I added. I certainly didn't clear the library and do a full rescan though.
Created attachment 1735 [details] patch against trunk this will get rid of the unnecessary right arrow, and pressing PLAY will trigger a scan of the type selected by the rescantype pref. patch does not apply to 6.5, but should still work if patched manually.
Created attachment 1736 [details] Rescan.pm patch for 6.5.1 This combines both of KDF's patches, and reverts the trace logging call to work in 6.5.1 (logger is 7.0?).
patch in trunk at change 10950. will leave open and create changelog entry when a target is decided
Applied to 6.5 branch at change 11276. so, this can be closed at least.