2011-02-09, 08:54
wuench Wrote:Would you consider expanding your ticket to include the implementation of all Action commands? I don't think those 5 commands would be enough to fully control the interfaces. For example, in my experience, you can't close dialogs or navigate back to screens without Back, Close_Dialog, and Parent_Dir. Here is a list of all the ones I have implemented using the current HTTP API interface in my driver (some are redundant with the VideoPlayer/AudioPlayer commands) Looking forward to the day I can abandon the HTTP API...
Code:Action(1); ACTION_MOVE_LEFT
Action(2); ACTION_MOVE_RIGHT
Action(3); ACTION_MOVE_UP
Action(4); ACTION_MOVE_DOWN
Action(5); ACTION_PAGE_UP
Action(6); ACTION_PAGE_DOWN
Action(7); ACTION_SELECT_ITEM
Action(9); ACTION_PARENT_DIR
Action(10); ACTION_PREVIOUS_MENU
Action(11); ACTION_SHOW_INFO
Action(12); ACTION_PAUSE
Action(13); ACTION_STOP
Action(14); ACTION_NEXT_ITEM
Action(15); ACTION_PREV_ITEM
Action(16); ACTION_FORWARD
Action(17); ACTION_REWIND
Action(18); ACTION_SHOW_GUI
Action(19); ACTION_ASPECT_RATIO
Action(20); ACTION_STEP_FORWARD
Action(21); ACTION_STEP_BACK
Action(22); ACTION_BIG_STEP_FORWARD
Action(23); ACTION_BIG_STEP_BACK
Action(24); ACTION_SHOW_OSD
Action(25); ACTION_SHOW_SUBTITLES
Action(26); ACTION_NEXT_SUBTITLE
Action(27); ACTION_SHOW_CODEC
Action(51); ACTION_CLOSE_DIALOG
Action(56); ACTION_AUDIO_NEXT_LANGUAGE
Action(58); REMOTE_0
Action(59); REMOTE_1
Action(60); REMOTE_2
Action(61); REMOTE_3
Action(62); REMOTE_4
Action(63); REMOTE_5
Action(64); REMOTE_6
Action(65); REMOTE_7
Action(66); REMOTE_8
Action(67); REMOTE_9
Action(85); ACTION_TAKE_SCREENSHOT
Action(88); ACTION_VOLUME_UP
Action(89); ACTION_VOLUME_DOWN
Action(91); ACTION_MUTE
Action(110); ACTION_BACKSPACE
Action(111); ACTION_SCROLL_UP
Action(112); ACTION_SCROLL_DOWN
Action(117); ACTION_CONTEXT_MENU
Action(123); ACTION_SHOW_OSD_TIME
Action(134); ACTION_SHOW_VIDEOMENU
Action(135); ACTION_ENTER
Action(138); ACTION_NEXT_SCENE
Action(139); ACTION_PREV_SCENE
Action(199); ACTION_TOGGLE_FULLSCREEN
For those you can use eventserver Works well even if all JSON would be better.
I think the full list is needed, as all users will need some specific buttons
For example i need playdrive, eject, myvideo, mymusic ...