mherger wrote: 
> > Can you confirm that *2* events for rescan done is normal or can get
> I
> > get it down to one?[/color]
> No, I only get one.

So I've added debug messages to all rescan done in the scanner related
LMS pms. Here's the log of a wipecache:

> [21-05-16 14:52:55.3970] Slim::Web::Settings::Server::Basic::handler
> (54) Initiating scan of type: wipecache
> [21-05-16 14:52:55.3973] Slim::Music::Import::initScanQueue (785)
> initialize scan queue
> [21-05-16 14:52:55.3974] Slim::Music::Import::initScanQueue (788) *****
> Rescan Done sent - line 788 in initScanQueue function *****
> 
> [21-05-16 14:52:55.3975] Slim::Music::Import::queueScanTask (849) full
> wipecache requested, wipe queue
> [21-05-16 14:52:55.3976] Slim::Music::Import::clearScanQueue (864)
> clearing queue: ()
> [21-05-16 14:52:55.3981] Slim::Music::Import::nextScanTask (799)
> triggering next scan: wipecache
> [21-05-16 14:52:55.4014] Slim::Music::Import::countImporters (625) Found
> importer: Slim::Media::MediaFolderScan
> [21-05-16 14:52:55.4019] Slim::Music::Import::countImporters (625) Found
> importer: Slim::Music::VirtualLibraries
> [21-05-16 14:52:55.4082] Slim::Music::Import::launchScan (203) Running
> scanner using arguments: /usr/bin/perl (
> 
> "/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/scanner.pl",
> "--logconfig=/Users/defaultuser/Library/Application
> Support/Squeezebox/log.conf",
> "--priority=0",
> "--prefsdir=/Users/defaultuser/Library/Application
> Support/Squeezebox",
> "--novideo",
> "--noimage",
> "--wipe",
> "--debug",
> 
> "database.virtuallibraries=ERROR,artwork=ERROR,scan.scanner=DEBUG,scan=DEBUG,scan.import=DEBUG,database.info=ERROR,scan.auto=DEBUG,formats.playlists=ERROR,formats.audio=ERROR",
> )
> [21-05-16 14:52:55.4138] Slim::Music::Import::nextScanTask (803)
> remaining scans in queue: ()
> [21-05-16 14:52:56.5208] Slim::Utils::SQLiteHelper::_notifyFromScanner
> (581) Notify from scanner:
> progress:1621169576.47423||importer||/Users/defaultuser/Music/MEDIA|discovering_directory||1||0||
> [21-05-16 14:52:56.5328] Slim::Utils::SQLiteHelper::_notifyFromScanner
> (581) Notify from scanner:
> progress:1621169576||importer||/Users/defaultuser/Music/MEDIA|discovering_directory||36||36||1621169576.53069
> [21-05-16 14:52:56.5371] Slim::Utils::SQLiteHelper::_notifyFromScanner
> (581) Notify from scanner:
> progress:1621169576.53516||importer||/Users/defaultuser/Music/MEDIA|directory_new||1||35||
> [21-05-16 14:52:56.6544] Slim::Utils::SQLiteHelper::_notifyFromScanner
> (581) Notify from scanner:
> progress:1621169576||importer||/Users/defaultuser/Music/MEDIA|directory_new||35||35||1621169576.65239
> [21-05-16 14:52:56.6597] Slim::Utils::SQLiteHelper::_notifyFromScanner
> (581) Notify from scanner:
> progress:1621169576.65689||importer||/Users/defaultuser/Music/Playlists|discovering_playlist||1||0||
> [21-05-16 14:52:56.6742] Slim::Utils::SQLiteHelper::_notifyFromScanner
> (581) Notify from scanner:
> progress:1621169576||importer||/Users/defaultuser/Music/Playlists|discovering_playlist||9||9||1621169576.6709
> [21-05-16 14:52:56.6922] Slim::Utils::SQLiteHelper::_notifyFromScanner
> (581) Notify from scanner:
> progress:1621169576.68882||importer||/Users/defaultuser/Music/Playlists|playlist_new||1||7||
> [21-05-16 14:52:56.7333] Slim::Utils::SQLiteHelper::_notifyFromScanner
> (581) Notify from scanner:
> progress:1621169576.68882||importer||/Users/defaultuser/Music/Playlists|playlist_new||2||7||
> [21-05-16 14:52:56.7588] Slim::Utils::SQLiteHelper::_notifyFromScanner
> (581) Notify from scanner:
> progress:1621169576.68882||importer||/Users/defaultuser/Music/Playlists|playlist_new||3||7||
> [21-05-16 14:52:56.7851] Slim::Utils::SQLiteHelper::_notifyFromScanner
> (581) Notify from scanner:
> progress:1621169576.68882||importer||/Users/defaultuser/Music/Playlists|playlist_new||4||7||
> [21-05-16 14:52:56.8437] Slim::Utils::SQLiteHelper::_notifyFromScanner
> (581) Notify from scanner:
> progress:1621169576.68882||importer||/Users/defaultuser/Music/Playlists|playlist_new||5||7||
> [21-05-16 14:52:56.8584] Slim::Utils::SQLiteHelper::_notifyFromScanner
> (581) Notify from scanner:
> progress:1621169576.68882||importer||/Users/defaultuser/Music/Playlists|playlist_new||6||7||
> [21-05-16 14:52:56.8776] Slim::Utils::SQLiteHelper::_notifyFromScanner
> (581) Notify from scanner:
> progress:1621169576.68882||importer||/Users/defaultuser/Music/Playlists|playlist_new||7||7||
> [21-05-16 14:52:56.8915] Slim::Utils::SQLiteHelper::_notifyFromScanner
> (581) Notify from scanner:
> progress:1621169576||importer||/Users/defaultuser/Music/Playlists|playlist_new||7||7||1621169576.88951
> [21-05-16 14:52:56.8955] Slim::Utils::SQLiteHelper::_notifyFromScanner
> (581) Notify from scanner:
> progress:1621169576.89354||importer||virtuallibraries||1||1||
> [21-05-16 14:52:56.8995] Slim::Utils::SQLiteHelper::_notifyFromScanner
> (581) Notify from scanner:
> progress:1621169576||importer||virtuallibraries||1||1||1621169576.89749
> [21-05-16 14:52:56.9044] Slim::Utils::SQLiteHelper::_notifyFromScanner
> (581) Notify from scanner:
> progress:1621169576.9022||importer||precacheArtwork||1||31||
> [21-05-16 14:52:56.9076] Slim::Utils::SQLiteHelper::_notifyFromScanner
> (581) Notify from scanner:
> progress:1621169576||importer||precacheArtwork||31||31||1621169576.90599
> [21-05-16 14:52:56.9130] Slim::Utils::SQLiteHelper::_notifyFromScanner
> (581) Notify from scanner:
> progress:1621169576.90961||importer||dboptimize||1||2||
> [21-05-16 14:52:56.9297] Slim::Utils::SQLiteHelper::_notifyFromScanner
> (581) Notify from scanner:
> progress:1621169576||importer||dboptimize||2||2||1621169576.92714
> [21-05-16 14:52:56.9357] Slim::Utils::SQLiteHelper::_notifyFromScanner
> (581) Notify from scanner: end
> [21-05-16 14:52:56.9407] Slim::Utils::SQLiteHelper::_notifyFromScanner
> (581) Notify from scanner: exit
> 
> [21-05-16 14:52:56.9543]
> SLIM::UTILS::SQLITEHELPER::_NOTIFYFROMSCANNER (635)
> ***** RESCAN DONE SENT - LINE 635 IN _NOTIFYFROMSCANNER FUNCTION
> *****
> [21-05-16 14:52:56.9558] Slim::Schema::wipeCaches (2124) Wiped all
> in-memory caches.
> [21-05-16 14:52:56.9560]
> PLUGINS::TESTPLUGIN::PLUGIN::TESTCALLBACK (47) ******
> TEST CALLBACK ******
> [21-05-16 14:52:56.9562] Slim::Schema::wipeCaches (2124) Wiped all
> in-memory caches.
> [21-05-16 14:52:56.9565] Slim::Music::Import::nextScanTask (803)
> remaining scans in queue: ()
> [21-05-16 14:52:56.9566] Slim::Schema::wipeCaches (2124) Wiped all
> in-memory caches.
> 
> [21-05-16 14:52:57.9589]
> SLIM::MUSIC::IMPORT::STILLSCANNING (742) ***** RESCAN
> DONE SENT - LINE 742 IN STILLSCANNING FUNCTION *****
> [21-05-16 14:52:57.9594] Slim::Schema::wipeCaches (2124) Wiped all
> in-memory caches.
> [21-05-16 14:52:57.9595]
> PLUGINS::TESTPLUGIN::PLUGIN::TESTCALLBACK (47) ******
> TEST CALLBACK ******
> [21-05-16 14:52:57.9596] Slim::Schema::wipeCaches (2124) Wiped all
> in-memory caches.
> [21-05-16 14:52:57.9600] Slim::Music::Import::nextScanTask (803)
> remaining scans in queue: ()
> [21-05-16 14:52:57.9602] Slim::Schema::wipeCaches (2124) Wiped all
> in-memory caches.

So that's only happening on my system? (with *all* other *plugins*
(incl. LMS provided) *disabled* except Test Plugin)
:very confused:


------------------------------------------------------------------------
afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306
View this thread: http://forums.slimdevices.com/showthread.php?t=113344

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to