Re: [Openpvr-devel] Re: ongoing development, ideas, etc
Brought to you by:
brian_j_murrell,
jfunk
From: Robert K. <rku...@ro...> - 2002-03-16 18:01:42
|
> > One interesting thing that they did is the "SDRVP" protocol. It uses > > ascii-text like commands, so that control of the VDR is possible through > > telnet. It might be an interesting idea to crib, and could be used > > between a group of PVRs as a means of scheduling, etc. > Pointers to the concise specs? > > One interesting thing that they did is the "SDRVP" protocol. It uses > > ascii-text like commands, so that control of the VDR is possible through > > telnet. It might be an interesting idea to crib, and could be used > > between a group of PVRs as a means of scheduling, etc. > Pointers to the concise specs? Here's the help text from the svdrpc.c file: const char *HelpPages[] = { "CHAN [ + | - | <number> | <name> ]\n" " Switch channel up, down or to the given channel number or name.\n" " Without option (or after successfully switching to the channel)\n" " it returns the current channel number and name.", "DELC <number>\n" " Delete channel.", "DELR <number>\n" " Delete the recording with the given number. Before a recording can be\n" " deleted, an LSTR command must have been executed in order to retrieve\n" " the recording numbers. The numbers don't change during subsequent DELR\n" " commands. CAUTION: THERE IS NO CONFIRMATION PROMPT WHEN DELETING A\n" " RECORDING - BE SURE YOU KNOW WHAT YOU ARE DOING!", "DELT <number>\n" " Delete timer.", "GRAB <filename> [ jpeg | pnm [ <quality> [ <sizex> <sizey> ] ] ]\n" " Grab the current frame and save it to the given file. Images can\n" " be stored as JPEG (default) or PNM, at the given quality (default\n" " is 'maximum', only applies to JPEG) and size (default is full screen).", "HELP [ <topic> ]\n" " The HELP command gives help info.", "HITK [ <key> ]\n" " Hit the given remote control key. Without option a list of all\n" " valid key names is given.", "LSTC [ <number> | <name> ]\n" " List channels. Without option, all channels are listed. Otherwise\n" " only the given channel is listed. If a name is given, all channels\n" " containing the given string as part of their name are listed.", "LSTE\n" " List EPG data.", "LSTR [ <number> ]\n" " List recordings. Without option, all recordings are listed. Otherwise\n" " the summary for the given recording is listed.", "LSTT [ <number> ]\n" " List timers. Without option, all timers are listed. Otherwise\n" " only the given timer is listed.", "MESG [ <message> ]\n" " Displays the given message on the OSD. If message is omitted, the\n" " currently pending message (if any) will be returned. The message\n" " will be displayed for a few seconds as soon as the OSD has become\n" " idle. If a new MESG command is entered while the previous message\n" " has not yet been displayed, the old message will be overwritten.", "MODC <number> <settings>\n" " Modify a channel. Settings must be in the same format as returned\n" " by the LSTC command.", "MODT <number> on | off | <settings>\n" " Modify a timer. Settings must be in the same format as returned\n" " by the LSTT command. The special keywords 'on' and 'off' can be\n" " used to easily activate or deactivate a timer.", "MOVC <number> <to>\n" " Move a channel to a new position.", "MOVT <number> <to>\n" " Move a timer to a new position.", "NEWC <settings>\n" " Create a new channel. Settings must be in the same format as returned\n" " by the LSTC command.", "NEWT <settings>\n" " Create a new timer. Settings must be in the same format as returned\n" " by the LSTT command. It is an error if a timer with the same channel,\n" " day, start and stop time already exists.", "NEXT [ abs | rel ]\n" " Show the next timer event. If no option is given, the output will be\n" " in human readable form. With option 'abs' the absolute time of the next\n" " event will be given as the number of seconds since the epoch (time_t\n" " format), while with option 'rel' the relative time will be given as the\n" " number of seconds from now until the event. If the absolute time given\n" " is smaller than the current time, or if the relative time is less than\n" " zero, this means that the timer is currently recording and has started\n" " at the given time. The first value in the resulting line is the number\n" " of the timer.", "PUTE\n" " Put data into the EPG list. The data entered has to strictly follow the\n" " format defined in VDR/FORMATS for the 'epg.data' file. A '.' on a line\n" " by itself terminates the input and starts processing of the data (all\n" " entered data is buffered until the terminating '.' is seen).", "UPDT <settings>\n" " Updates a timer. Settings must be in the same format as returned\n" " by the LSTT command. If a timer with the same channel, day, start\n" " and stop time does not yet exists, it will be created.", "QUIT\n" " Exit vdr (SVDRP).\n" " You can also hit Ctrl-D to exit.", NULL }; /* SVDRP Reply Codes: 214 Help message 215 EPG data record 220 VDR service ready 221 VDR service closing transmission channel 250 Requested VDR action okay, completed 354 Start sending EPG data 451 Requested action aborted: local error in processing 500 Syntax error, command unrecognized 501 Syntax error in parameters or arguments 502 Command not implemented 504 Command parameter not implemented 550 Requested action not taken 554 Transaction failed */ __________________________________________________ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/ |