diff --git a/Slim/Utils/Scanner/Local.pm b/Slim/Utils/Scanner/Local.pm index ffbe6fd..99e3f42 100644 --- a/Slim/Utils/Scanner/Local.pm +++ b/Slim/Utils/Scanner/Local.pm @@ -1017,10 +1017,16 @@ # Check if we're done with all our rescan tasks sub markDone { my ( $path, $type, $changes, $args ) = @_; main::DEBUGLOG && $log->is_debug && $log->debug("Finished scan type $type for $path"); + + # Update the last rescan time if any changes were made + if (!main::SCANNER && $changes) { + main::DEBUGLOG && $log->is_debug && $log->debug("Scanner made $changes changes, updating last rescan timestamp"); + Slim::Music::Import->setLastScanTime(); + } $pending{$path} &= ~$type; # Check all pending tasks, make sure all are done before notifying for my $task ( keys %pending ) {