4 // QCoreApplication info
5 #define APPLICATION_NAME "xbmcnetmoviesremote"
6 #define ORGANIZATION_NAME "Ionutz Borcoman"
9 #define SETUP_XBMC_SERVER "xbmc/server"
10 #define SETUP_XBMC_SERVER_DEFAULT "localhost"
11 #define SETUP_XBMC_PORT "xbmc/port"
12 #define SETUP_XBMC_PORT_DEFAULT "9090"
14 // XBMC constants -- from https://github.com/xbmc/xbmc/blob/master/xbmc/guilib/Key.h
15 #define ACTION_MOVE_LEFT 1
16 #define ACTION_MOVE_RIGHT 2
17 #define ACTION_MOVE_UP 3
18 #define ACTION_MOVE_DOWN 4
19 #define ACTION_NEXT_SUBTITLE 26 // switch to next subtitle of movie. Can b used in videoFullScreen.xml window id=2005
20 #define ACTION_SUBTITLE_DELAY_MIN 52 // Decrease subtitle/movie Delay. Can b used in videoFullScreen.xml window id=2005
21 #define ACTION_SUBTITLE_DELAY_PLUS 53 // Increase subtitle/movie Delay. Can b used in videoFullScreen.xml window id=2005
22 #define ACTION_AUDIO_DELAY_MIN 54 // Increase avsync delay. Can b used in videoFullScreen.xml window id=2005
23 #define ACTION_AUDIO_DELAY_PLUS 55 // Decrease avsync delay. Can b used in videoFullScreen.xml window id=2005
24 #define ACTION_AUDIO_NEXT_LANGUAGE 56 // Select next language in movie. Can b used in videoFullScreen.xml window id=2005
25 #define ACTION_ENTER 135
26 #define ACTION_SHOW_GUI 18 // toggle between GUI and movie or GUI and visualisation.
27 #define ACTION_STEP_FORWARD 20 // seek +1% in the movie. Can b used in videoFullScreen.xml window id=2005
28 #define ACTION_STEP_BACK 21 // seek -1% in the movie. Can b used in videoFullScreen.xml window id=2005
29 #define ACTION_BIG_STEP_FORWARD 22 // seek +10% in the movie. Can b used in videoFullScreen.xml window id=2005
30 #define ACTION_BIG_STEP_BACK 23 // seek -10% in the movie. Can b used in videoFullScreen.xml window id=2005
32 #define ACTION_PLAYER_PLAY 79 // Play current song. Unpauses song and sets playspeed to 1x. global action, can be used anywhere
33 #define ACTION_SELECT_ITEM 7
34 #define ACTION_HIGHLIGHT_ITEM 8
35 #define ACTION_PARENT_DIR 9