mherger wrote: > I can't reproduce this. Maybe you can disable 3rd part plugins to see > whether this still happens without them?
Sorry, I forgot to mention that I'd already disabled *all* plugins (not only 3rd party plugins) and deleted all databases and caches known to me at some point. So the only plugin enabled is my Test Plugin that gives me the debug messages for rescan done events: Code: -------------------- package Plugins::TestPlugin::Plugin; use strict; use warnings; use utf8; use base qw(Slim::Plugin::Base); use Slim::Utils::Log; my $log = Slim::Utils::Log->addLogCategory({ 'category' => 'plugin.testplugin', 'defaultLevel' => 'DEBUG', 'description' => 'Test Plugin', }); sub initPlugin { my $class = shift; Slim::Control::Request::subscribe(\&testcallback,[['rescan'],['done']]); $class->SUPER::initPlugin(@_); } sub testcallback { $log->debug("\n\n****** TEST CALLBACK INIT ******\n\n"); } 1; -------------------- And whatever I do the callback function is *always called twice* on my system. I even talked a not very happy friend into installing LMS and softsqueeze on his old Windows7 laptop with only this test plugin enabled and he gets 2 messages as well. Ordinary install.xml be like Code: -------------------- <?xml version="1.0"?> <extension> <id>af11111-2222-3333-4444-555555555555</id> <name>Test Plugin</name> <module>Plugins::TestPlugin::Plugin</module> <version>0.0.1</version> <description>some desc</description> <creator>AF</creator> <defaultState>enabled</defaultState> <targetApplication> <id>Logitech Media Server</id> <minVersion>7.9</minVersion> <maxVersion>*</maxVersion> </targetApplication> </extension> -------------------- I really don't know where else to look. Are there any other settings that could cause this? If I only knew what to look for... _____ Logitech Media Server Version: 8.1.2 - 1619728303 @ Fri Apr 30 Operating system: macOS 10.15.7 - EN - utf8 Platform Architecture: unknown Perl Version: 5.18.4 - darwin-thread-multi-2level Audio::Scan: 1.02 IO::Socket::SSL: 2.066 Database Version: DBD::SQLite 1.58 (sqlite 3.22.0) ------------------------------------------------------------------------ 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