Mark Miksis;645770 Wrote: > Nothing additional is logged. Don't really know - what if you delay the check a bit more:
Code: -------------------- --- /home/adrian/plugins/Spotify//Spotifyd.pm 2011-08-01 01:15:23.000000000 +0100 +++ Plugins/Spotify/Spotifyd.pm 2011-08-01 01:42:15.000000000 +0100 @@ -93,11 +93,14 @@ Slim::Utils::Timers::killSpecific($spotifydChecker); } - $spotifydChecker = Slim::Utils::Timers::setTimer($class, time() + 1, + $spotifydChecker = Slim::Utils::Timers::setTimer($class, time() + 10, sub { my $alive = $spotifyd && $spotifyd->alive; + use Data::Dumper; + $log->warn(Dumper $spotifyd); + $log->info("$helperName: " . ($alive ? "running" : "failed")); if (!$alive) { -------------------- -- Triode ------------------------------------------------------------------------ Triode's Profile: http://forums.slimdevices.com/member.php?userid=17 View this thread: http://forums.slimdevices.com/showthread.php?t=79706 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins