Changeset 381
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r363 r381 20 20 # $Id$ 21 21 22 VERSION=1.0b 322 VERSION=1.0b4 23 23 PERLSOURCE=Plugin.pm Settings.pm 24 24 HTMLSOURCE=HTML/EN/plugins/AutoRescan/settings/basic.html -
trunk/Plugin.pm
r362 r381 220 220 $inotify->poll; 221 221 222 # Flag of whether any rescanning was performed. 223 my $scan_done = 0; 224 222 225 # We don't perform any rescanning if a scan is currently underway - we 223 226 # defer it until it's finished. … … 231 234 if ($touchedDirs{$dir} < $triggerTime) { 232 235 $log->info("Triggering RESCAN of folder: $dir"); 236 $scan_done = 1; 233 237 234 238 # Rescan the changed directory. … … 255 259 } 256 260 } 261 } 262 263 # If a rescan was performed then do a database cleanup. This is necessary 264 # to remove items from the database that no longer exist - eg the old file 265 # if the file has been renamed or moved. 266 # Note that this might be slow since it has to traverse every file in the 267 # database - that shouldn't be too much of an annoyance, though, since 268 # the user is assumed to have just moved music around and it won't happen 269 # too often. 270 if ($scan_done) { 271 $log->info("One or more scans have been performed. Now performing cleanup"); 272 Slim::Schema->cleanupStaleTrackEntries; 257 273 } 258 274 -
trunk/install.xml
r358 r381 41 41 <id>SqueezeCentre</id> 42 42 <minVersion>7.0a</minVersion> 43 <maxVersion>7. 0+</maxVersion>43 <maxVersion>7.1+</maxVersion> 44 44 </targetApplication> 45 46 <targetPlatform>Linux</targetPlatform> 45 47 </extension>
Note: See TracChangeset
for help on using the changeset viewer.
