I changed the commands according your recommendation:

##################################################################################
# Button names to function mappings
##################################################################################
# The format here is buttonname = function, grouped by [modename]

[common]

# Button functions that are common to all modes (unless overridden)

# LastFM skp/love/ban
arrow_up.hold = modefunction_PLUGIN.LastFM::Plugin->lastfm_love
arrow_right.hold = modefunction_PLUGIN.LastFM::Plugin->lastfm_ban
arrow_down.hold = modefunction_PLUGIN.LastFM::Plugin->lastfm_skip

I can use the remotecontrol only for LastFM. I can't scroll to anything
else. It looks like the buttoms are still not defined yet.


The debug logs shows:

2007-05-16 06:40:10.5787 IR: 768940bf -> code: power
2007-05-16 06:40:10.5788 IR: 768940bf   205163.582      1179290410.57887
2007-05-16 06:40:10.5791 IR: found button power for 768940bf
2007-05-16 06:40:10.5792 IR: found function power_toggle for button
power in mode common from map Default
2007-05-16 06:40:10.5793 IR: irCode = [power_toggle] timer =
[205163.582] timediff = [181.117999999988] last = [power_toggle]
2007-05-16 06:40:10.5794 irCode: power_toggle, 00:04:20:07:4a:97
2007-05-16 06:40:10.5799 IR: irCode not defined: power_toggle
2007-05-16 06:40:10.5799 IR: trying to execute button: [power_toggle]
2007-05-16 06:40:10.5802 IR: executing button: power_toggle
2007-05-16 06:40:10.6877 IR: 768940bf -> code: power
2007-05-16 06:40:10.6879 IR: 768940bf   205163.691      1179290410.6879
2007-05-16 06:40:10.6880 IR: found button power for 768940bf
2007-05-16 06:40:10.6881 IR: irCode not defined: power.repeat
2007-05-16 06:40:10.6881 IR: irCode = [] timer = [205163.691] timediff
= [0.10899999999674] last = [power_toggle]
2007-05-16 06:40:10.7957 IR: 768940bf -> code: power
2007-05-16 06:40:10.7958 IR: 768940bf   205163.799      1179290410.79588
2007-05-16 06:40:10.7959 IR: found button power for 768940bf
2007-05-16 06:40:10.7961 IR: irCode not defined: power.repeat
2007-05-16 06:40:10.7961 IR: irCode = [] timer = [205163.799] timediff
= [0.108000000007451] last = [power_toggle]
2007-05-16 06:40:11.0938 IR: found button power for 768940bf
2007-05-16 06:40:11.0940 IR: irCode not defined: power.single
2007-05-16 06:40:15.2974 IR: 7689b04f -> code: arrow_down
2007-05-16 06:40:15.2976 IR: 7689b04f   205168.291      1179290415.29759
2007-05-16 06:40:15.2978 IR: found button arrow_down for 7689b04f
2007-05-16 06:40:15.2980 IR: found function
modefunction_PLUGIN.LastFM::Plugin->lastfm_skip for button arrow_down
in mode common from map custom.map
2007-05-16 06:40:15.2980 IR: irCode =
[modefunction_PLUGIN.LastFM::Plugin->lastfm_skip] timer = [205168.291]
timediff = [4.49199999999837] last = [power_toggle]
2007-05-16 06:40:15.2981 irCode:
modefunction_PLUGIN.LastFM::Plugin->lastfm_skip, 00:04:20:07:4a:97
2007-05-16 06:40:15.2986 IR: irCode not defined:
modefunction_PLUGIN.LastFM::Plugin->lastfm_skip
2007-05-16 06:40:15.2986 IR: trying to execute button:
[modefunction_PLUGIN.LastFM::Plugin->lastfm_skip]
2007-05-16 06:40:15.2989 IR: executing button:
modefunction_PLUGIN.LastFM::Plugin->lastfm_skip
2007-05-16 06:40:15.4065 IR: 7689b04f -> code: arrow_down
2007-05-16 06:40:15.4066 IR: 7689b04f   205168.4        1179290415.40664
2007-05-16 06:40:15.4067 IR: found button arrow_down for 7689b04f
2007-05-16 06:40:15.4068 IR: found function down_repeat for button
arrow_down.repeat in mode common from map Default
2007-05-16 06:40:15.4069 IR: irCode = [down_repeat] timer = [205168.4]
timediff = [0.10899999999674] last =
[modefunction_PLUGIN.LastFM::Plugin->lastfm_skip]
2007-05-16 06:40:15.4069 irCode: down_repeat, 00:04:20:07:4a:97
2007-05-16 06:40:15.4074 IR: irCode not defined: down_repeat
2007-05-16 06:40:15.4075 IR: trying to execute button: [down_repeat]
2007-05-16 06:40:15.4078 IR: executing button: down_repeat
2007-05-16 06:40:15.5145 IR: 7689b04f -> code: arrow_down
2007-05-16 06:40:15.5146 IR: 7689b04f   205168.508      1179290415.51467
2007-05-16 06:40:15.5147 IR: found button arrow_down for 7689b04f
2007-05-16 06:40:15.5148 IR: found function down_repeat for button
arrow_down.repeat in mode common from map Default
2007-05-16 06:40:15.5149 IR: irCode = [down_repeat] timer =
[205168.508] timediff = [0.108000000007451] last = [down_repeat]
2007-05-16 06:40:15.5150 irCode: down_repeat, 00:04:20:07:4a:97
2007-05-16 06:40:15.5154 IR: irCode not defined: down_repeat
2007-05-16 06:40:15.5155 IR: trying to execute button: [down_repeat]
2007-05-16 06:40:15.5158 IR: executing button: down_repeat
2007-05-16 06:40:15.8126 IR: found button arrow_down for 7689b04f
2007-05-16 06:40:15.8127 IR: irCode not defined: arrow_down.single
2007-05-16 06:40:17.1256 IR: 7689d02f -> code: arrow_right
2007-05-16 06:40:17.1257 IR: 7689d02f   205170.125      1179290417.12574
2007-05-16 06:40:17.1260 IR: found button arrow_right for 7689d02f
2007-05-16 06:40:17.1261 IR: found function exit_right for button
arrow_right in mode INPUT.List from map Default
2007-05-16 06:40:17.1262 IR: irCode = [exit_right] timer = [205170.125]
timediff = [1.61699999999837] last = [down_repeat]
2007-05-16 06:40:17.1262 irCode: exit_right, 00:04:20:07:4a:97
2007-05-16 06:40:17.1267 IR: irCode not defined: exit_right
2007-05-16 06:40:17.1268 IR: trying to execute button: [exit_right]
2007-05-16 06:40:17.1271 IR: executing button: exit_right
2007-05-16 06:40:17.2336 IR: 7689d02f -> code: arrow_right
2007-05-16 06:40:17.2338 IR: 7689d02f   205170.233      1179290417.2338
2007-05-16 06:40:17.2338 IR: found button arrow_right for 7689d02f
2007-05-16 06:40:17.2340 IR: irCode not defined: arrow_right.repeat
2007-05-16 06:40:17.2340 IR: irCode


Frank.


-- 
fka278
------------------------------------------------------------------------
fka278's Profile: http://forums.slimdevices.com/member.php?userid=10981
View this thread: http://forums.slimdevices.com/showthread.php?t=35200

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to