Hi, That's what I was trying to achieve, but couldn't quite get there! a great help, thank you.
Separately, I'm having another issue, which may be my amp, but I can't be sure. What seems to happen is the SB Server seems to use up or not disconnect all of the available sessions with the amp, causing it to not accept any more. This then stops the SB from working any more! Restarting the SBS instantly resolves the issue. But what I can't work out is if this is an issue with the amp or the plugin. Below is an extract from the log: Code: -------------------- [13-07-31 13:31:40.3456] Plugins::DenonSerial::Plugin::sendCommand (863) send command: (connection IP, address 192.168.185.60, command Z2OFF) [13-07-31 13:31:40.3459] Plugins::DenonSerial::Plugin::sendCommand (911) for 00:04:20:e1:18:3f, indicate we're working on a command, queue length now 1 [13-07-31 13:31:40.3462] Plugins::DenonSerial::Plugin::processCommandFromQueue (492) not done with queue [13-07-31 13:31:40.4958] Plugins::DenonSerial::Plugin::processCommandFromQueue (454) look for response for 00:04:20:e1:18:3f command Z2OFF [13-07-31 13:31:40.4960] Plugins::DenonSerial::Plugin::getResponse (525) for 00:04:20:e1:18:3f, indicate we're done with the current command since we're reading responses, queue length now 1 [13-07-31 13:31:40.4963] Plugins::DenonSerial::Plugin::getResponse (558) for 00:04:20:e1:18:3f, command "Z2OFF", got response "PWSTANDBY" from remote host [13-07-31 13:31:40.4966] Plugins::DenonSerial::Plugin::getResponse (558) for 00:04:20:e1:18:3f, command "Z2OFF", got response "Z2OFF" from remote host [13-07-31 13:31:40.7668] Plugins::DenonSerial::Plugin::processResponses (778) for 00:04:20:e1:18:3f, command "Z2OFF", process response "PWSTANDBY" [13-07-31 13:31:40.7670] Plugins::DenonSerial::Plugin::processResponses (778) for 00:04:20:e1:18:3f, command "Z2OFF", process response "Z2OFF" [13-07-31 13:31:42.7673] Plugins::DenonSerial::Plugin::closeTCPSocket (673) closing TCP connection for IP:192.168.185.60 [13-07-31 13:33:39.2257] Plugins::DenonSerial::Plugin::rescheduleAmpStatusPoll (1044) scheduling an amp status poll in 5 minutes [13-07-31 13:33:39.2260] Plugins::DenonSerial::Plugin::rescheduleAmpStatusPoll (1048) rescheduling amp status poll [13-07-31 13:33:39.2263] Plugins::DenonSerial::Plugin::pollAmpStatus (1223) checking amp status for Kitchen [13-07-31 13:33:39.2266] Plugins::DenonSerial::Plugin::enqueue (381) opening control socket to 192.168.185.60:23 [13-07-31 13:33:39.2271] Plugins::DenonSerial::Plugin::enqueue (425) run Z2? for 00:04:20:e1:18:3f at next convenience [13-07-31 13:33:39.2274] Plugins::DenonSerial::Plugin::enqueue (429) indicate that processCommandFromQueue() should run [13-07-31 13:33:39.2277] Plugins::DenonSerial::Plugin::enqueue (419) Z2? for 00:04:20:e1:18:3f would duplicate a command already in the queue; ignoring. queue length 1 [13-07-31 13:33:39.2280] Plugins::DenonSerial::Plugin::enqueue (425) run PW? for 00:04:20:e1:18:3f at next convenience [13-07-31 13:33:39.8272] Plugins::DenonSerial::Plugin::processCommandFromQueue (481) for 00:04:20:e1:18:3f , send command Z2?, queue length 2 [13-07-31 13:33:39.8274] Plugins::DenonSerial::Plugin::sendCommand (860) send command: (connection IP, address 192.168.185.60, command Z2?) [13-07-31 13:33:39.8277] Plugins::DenonSerial::Plugin::sendCommand (911) for 00:04:20:e1:18:3f, indicate we're working on a command, queue length now 2 [13-07-31 13:33:39.8279] Plugins::DenonSerial::Plugin::processCommandFromQueue (492) not done with queue [13-07-31 13:33:39.9776] Plugins::DenonSerial::Plugin::processCommandFromQueue (454) look for response for 00:04:20:e1:18:3f command Z2? [13-07-31 13:33:39.9778] Plugins::DenonSerial::Plugin::getResponse (525) for 00:04:20:e1:18:3f, indicate we're done with the current command since we're reading responses, queue length now 2 [13-07-31 13:33:40.2481] Slim::Utils::Scheduler::run_tasks (163) Error: Scheduler task failed: Can't use an undefined value as an ARRAY reference at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/DenonSerial/lib/Plugins/DenonSerial/Plugin.pm line 700. [13-07-31 13:33:42.2488] Plugins::DenonSerial::Plugin::closeTCPSocket (673) closing TCP connection for IP:192.168.185.60 [13-07-31 13:34:03.5011] Plugins::DenonSerial::Plugin::enqueue (381) opening control socket to 192.168.185.60:23 [13-07-31 13:34:03.5018] Plugins::DenonSerial::Plugin::enqueue (425) run MV? for 11:21:16:83:01:72 at next convenience [13-07-31 13:34:03.5021] Plugins::DenonSerial::Plugin::enqueue (425) run Z3ON for 11:21:16:83:01:72 at next convenience [13-07-31 13:34:03.5024] Plugins::DenonSerial::Plugin::enqueue (425) run Z3VCR for 11:21:16:83:01:72 at next convenience [13-07-31 13:34:21.3211] Plugins::DenonSerial::Plugin::enqueue (425) run Z3OFF for 11:21:16:83:01:72 at next convenience [13-07-31 13:36:22.3927] Plugins::DenonSerial::Plugin::rescheduleAmpStatusPoll (1044) scheduling an amp status poll in 5 minutes [13-07-31 13:36:22.3930] Plugins::DenonSerial::Plugin::rescheduleAmpStatusPoll (1048) rescheduling amp status poll [13-07-31 13:36:22.3934] Plugins::DenonSerial::Plugin::pollAmpStatus (1223) checking amp status for DiningRoom [13-07-31 13:36:22.3938] Plugins::DenonSerial::Plugin::enqueue (419) MV? for 11:21:16:83:01:72 would duplicate a command already in the queue; ignoring. queue length 6 [13-07-31 13:36:22.3942] Plugins::DenonSerial::Plugin::enqueue (425) run SI? for 11:21:16:83:01:72 at next convenience [13-07-31 13:36:22.3945] Plugins::DenonSerial::Plugin::enqueue (419) PW? for 11:21:16:83:01:72 would duplicate a command already in the queue; ignoring. queue length 7 [13-07-31 13:38:39.2283] Plugins::DenonSerial::Plugin::rescheduleAmpStatusPoll (1044) scheduling an amp status poll in 5 minutes [13-07-31 13:38:39.2285] Plugins::DenonSerial::Plugin::rescheduleAmpStatusPoll (1048) rescheduling amp status poll [13-07-31 13:38:39.2288] Plugins::DenonSerial::Plugin::pollAmpStatus (1223) checking amp status for Kitchen [13-07-31 13:38:39.2291] Plugins::DenonSerial::Plugin::enqueue (419) Z2? for 00:04:20:e1:18:3f would duplicate a command already in the queue; ignoring. queue length 7 [13-07-31 13:38:39.2294] Plugins::DenonSerial::Plugin::enqueue (419) Z2? for 00:04:20:e1:18:3f would duplicate a command already in the queue; ignoring. queue length 7 [13-07-31 13:38:39.2297] Plugins::DenonSerial::Plugin::enqueue (419) PW? for 00:04:20:e1:18:3f would duplicate a command already in the queue; ignoring. queue length -------------------- ------------------------------------------------------------------------ JamesMcBride's Profile: http://forums.slimdevices.com/member.php?userid=60475 View this thread: http://forums.slimdevices.com/showthread.php?t=67182 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins