I'm trying to get KDF's Scanner plugin to be brought up when play.hold is 
pressed from [playlist] mode.

After a bit of playing round to find the new syntax, as a test I defined 
shuffle.hold to invoke a random track mix:
        shuffle.hold = modefunction_Slim::Plugin::RandomPlay::Plugin->tracks

I believe to jump to a plugin menu rather than execute a function within the 
plugin, the syntax needs to be different.

I believe in 6.5, the syntax used to be:
        play.hold = menu_PLUGIN.Scanner

I have tried changing this to:
        play.hold = modefunction_Plugins::Scanner::Plugin->jumptomenu


I have turned on debug info for player.ir to see what is going on.  It's 
definitely finding my custom mapping, and trying to execute the function.  I'm 
seeing an "irCode not defined", but it still tries to execute something, by the 
look of things.

[14:01:26.5974] Slim::Hardware::IR::lookupCodeBytes (411) 768910ef -> code: play
[14:01:26.5977] Slim::Hardware::IR::processIR (664) 768910ef    165.968 
1198504886.59757
[14:01:26.5984] Slim::Hardware::IR::lookup (446) Found button play for 768910ef
[14:01:26.6001] Slim::Hardware::IR::lookupFunction (488) Found function: 
modefunction_Plugins::Scanner::Plugin->jumptomenu for button play.hold in mode 
playlist from map P:\Music\SlimServer\trunk\server\IR\Custom.map
[14:01:26.6006] Slim::Hardware::IR::processCode (1022) irCode: 
modefunction_Plugins::Scanner::Plugin->jumptomenu, c0:1b:c1:a2:02:8d
[14:01:26.6025] Slim::Hardware::IR::lookupFunction (517) irCode not defined: 
[modefunction_Plugins::Scanner::Plugin->jumptomenu] for map: 
[P:\Music\SlimServer\trunk\server\IR\Custom.map] and mode: [playlist]
[14:01:26.6036] Slim::Hardware::IR::executeButton (970) Trying to execute 
button [modefunction_Plugins::Scanner::Plugin->jumptomenu] for irCode: 
[modefunction_Plugins::Scanner::Plugin->jumptomenu]
[14:01:26.6041] Slim::Hardware::IR::executeButton (1001) Executing button 
[modefunction_Plugins::Scanner::Plugin->jumptomenu] for irCode: 
[modefunction_Plugins::Scanner::Plugin->jumptomenu]
[14:01:26.6045] Slim::Hardware::IR::lookup (446) Found button play for 768910ef
[14:01:26.6059] Slim::Hardware::IR::lookupFunction (517) irCode not defined: 
[play.repeat] for map: [P:\Music\SlimServer\trunk\server\IR\Custom.map] and 
mode: [playlist]
[14:01:26.6063] Slim::Hardware::IR::repeatCode (876) irCode = [undef] timer = 
[165.968] timediff = [0.0929999999999893] last = 
[modefunction_Plugins::Scanner::Plugin->jumptomenu]
[14:01:26.7016] Slim::Hardware::IR::lookupCodeBytes (411) 768910ef -> code: play


Any clues?

Phil
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta

Reply via email to