mherger wrote:
> Enable debug logging for player.ir, control.command and see whether you
>
> can get some more information in server.log.
> --
>
> Michael
Thanks Michael. I set up a couple of buttons - one using
["button","preset_1.hold"] to store the preset and one using
["button","preset_1.single"] to play it.
In the console output from sbpd I get these messages, which confirm that
the commands are being issued in response to the button presses:
Code:
--------------------
1527229761.3204 6 GPIO.c,97: Long PRESS: 2685
1527229761.3205 6 control.c,106: Button CB set for button #:0, gpio pin 19
1527229761.3671 6 control.c,217: Button pressed: Pin: 19, Press Type:Long
1527229761.3672 6 servercomm.c,74: Send Command:0,
Fragment:["button","preset_1.hold"]
1527229763.9637 6 GPIO.c,102: Short PRESS: 232
1527229763.9638 6 control.c,106: Button CB set for button #:0, gpio pin 19
1527229763.9797 6 control.c,217: Button pressed: Pin: 19, Press Type:Short
1527229763.9798 6 servercomm.c,74: Send Command:0,
Fragment:["button","preset_1.single"]
--------------------
In server.log I get:
Code:
--------------------
[18-05-25 07:22:56.8155] main::init (599) Server Jive init...
[18-05-25 07:22:56.9259] main::init (608) Server checkDataSource...
[18-05-25 07:22:56.9271] main::init (618) Library Browser init...
[18-05-25 07:22:56.9320] main::init (622) Server persist playlists...
[18-05-25 07:22:56.9420] main::init (658) Server HTTP enable...
[18-05-25 07:22:56.9443] main::init (666) Server done init...
[18-05-25 07:29:21.3743] Slim::Buttons::Common::__ANON__ (812) Error: No
valid url found, not adding favorite!
[18-05-25 07:29:21.3751] Slim::Buttons::Common::__ANON__ (817) Backtrace:
frame 0: Slim::Utils::Log::logBacktrace
(/usr/local/slimserver/Slim/Buttons/Common.pm line 817)
frame 1: Slim::Buttons::Common::__ANON__
(/usr/local/slimserver/Slim/Hardware/IR.pm line 1104)
frame 2: Slim::Hardware::IR::executeButton
(/usr/local/slimserver/Slim/Control/Commands.pm line 291)
frame 3: Slim::Control::Commands::buttonCommand
(/usr/local/slimserver/Slim/Control/Request.pm line 1883)
frame 4: (eval) (/usr/local/slimserver/Slim/Control/Request.pm line 1883)
frame 5: Slim::Control::Request::execute
(/usr/local/slimserver/Slim/Web/JSONRPC.pm line 420)
frame 6: Slim::Web::JSONRPC::requestMethod
(/usr/local/slimserver/Slim/Web/JSONRPC.pm line 224)
frame 7: (eval) (/usr/local/slimserver/Slim/Web/JSONRPC.pm line 224)
frame 8: Slim::Web::JSONRPC::handleURI
(/usr/local/slimserver/Slim/Web/HTTP.pm line 465)
frame 9: Slim::Web::HTTP::processHTTP
(/usr/local/slimserver/Slim/Networking/IO/Select.pm line 123)
frame 10: (eval) (/usr/local/slimserver/Slim/Networking/IO/Select.pm line 119)
frame 11: Slim::Networking::IO::Select::__ANON__
(/usr/local/slimserver/Slim/Networking/IO/Select.pm line 168)
frame 12: (eval) (/usr/local/slimserver/Slim/Networking/IO/Select.pm line 168)
frame 13: Slim::Networking::IO::Select::loop
(/usr/local/slimserver/slimserver.pl line 727)
frame 14: main::idle (/usr/local/slimserver/slimserver.pl line 677)
frame 15: main::main (/usr/local/slimserver/slimserver.pl line 1213)
--------------------
That error line (which is in red in the log file) looks to be the key.
I got the same logging block when I attempted to store either a local
library track or a Spotty track. So maybe it's not able to extract the
URL from the currently playing track, and only works on tracks that are
navigated to as in the Boom?
------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=109080
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter