|
Messages
TVShow's internal commands
IntroductionTVShow2's plugins communicate via messages. A message contains 1 or more values. The first value is the message Text (the actual command or status message being sent), and the rest of the values are the arguments. When specified in a text string (such as an .ini file), message parts are separated by a semicolon, like this: play;C:\media\mytvshow.mpg Argument Flagsopt : argument is optional. this can be not included or can be blank. list : for the last argument, this can be one or more values of the same type. DetailskeyA key was pressed. Possible keycodes are: up, down, left, right, pageup, pagedown, escape, enter, menu (opens DVD Menu), options, info, 0-9, red (F5), yellow (F6), blue (F7), green (F8), Play, Pause, PlayPause, rw, ff, prev, next, volup, voldown, mute Note: do not use keys to issue commands. Input plugins should map values using their .ini files. If you don't know a value (such as remote control codes), use the TestRig plugin to monitor messages and add your command code. For more information, read KeyMapping Arguments:
Example: key;enter - Enter key was pressed. key;f5;0;0;1 - f5 was pressed with the alt key held down key;A - user typed an upper-case A showmenushows the menu specified. Arguments:
Example: showmenu;Main Menu - shows the main menu showfoldershows the media folder specified Arguments:
Example: showfolder;C:\media;video showfolder;C:\music;all;.mp3;.aac;.ogg shutdownDescription: Closes all windows and exits TVShow. No arguments. launchLaunch an application. Args and workingdir are optiona. If workingdir is specified without args, leave args blank: program.exe;;C:\program files\program Arguments:
Example: iexplore.exe;http://www.google.com cmd.exe;;C:\ actionThis is a keyboard or remote action. Actions are mapped using the input plugin's .ini file. See KeyMapping for more information. Arguments: Additional arguments are context sensitive, but the following is mandatory:
Example: action;up - user pressed the up-arrow key action;stop - stop the currently playing media | ||||||||||||||||||||||||