diff options
author | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2000-07-25 18:00:00 +0200 |
---|---|---|
committer | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2000-07-25 18:00:00 +0200 |
commit | 1d22145c423f2524c7766b4ae30ee2c26174113d (patch) | |
tree | 57d5ead142972730c932a7d94c375e99f9e743a9 /svdrp.h | |
parent | 3b78ec8374aac8daa560fa0cd06260fca6eb1500 (diff) | |
download | vdr-patch-lnbsharing-1d22145c423f2524c7766b4ae30ee2c26174113d.tar.gz vdr-patch-lnbsharing-1d22145c423f2524c7766b4ae30ee2c26174113d.tar.bz2 |
Version 0.6vdr-0.6
- Added support for LIRC remote control (thanks to Carsten Koch!).
There are now three different remote control modes: KBD (PC-Keyboard), RCU
and LIRC. See the INSTALL file for information on how to enable either of
these modes. The default mode is now KBD, not RCU as before (to make it
work immediately even if there is no actual remote control).
- Fixed small bug in dvbapi.c that was causing some channels (many on hotbird)
not to be correctly tuned (thanks to Plamen Ganev!).
- Now clearing the replay buffer in search forward/back, which results in
faster reaction.
- The 'Recordings' menu is now listed alphabetically (thanks to Carsten Koch!).
- The new 'epg2timers' tool (thanks to Carsten Koch!) can be used to convert
an EPG "merkliste" page (http://www.tvtv.de) to vdr timer entries.
- The new 'xtvrc2vdr' tool (thanks to Plamen Ganev!) can be used to convert
'xtvrc' channel files into 'vdr' format.
- When more than one timer matches at the same time, the first one in the list
with the highest 'Priority' is selected.
- The MANUAL section on "Programming the Timer" has been filled in.
- The year in the "Recordings" menu as well as in the progress display during
replay has been reduced to 2 digits to allow more space for the recording's
title. In the internal file structure the year is still stored with 4 digits,
so there will be no problem at the next turn of the century ;-)
- Channel names and timer filenames can now contain blanks. To avoid problems
with file names that contain blanks, all blanks in recording file names are
converted to underscores.
- The polarization can now be given in uppercase or lowercase characters in
channels.conf.
- Fixed buffer initialization to work with DVB driver version 0.6.
- Implemented the "Simple Video Disk Recorder Protocol" (SVDRP) to control
the VDR over a network connection.
- Implemented command line option handling.
- The program can now run in full background mode by using the --daemon option.
- Added a "summary" field to the timers (thanks to Carsten Koch!).
This field can contain a descriptive text of the programme and will be
displayed when the "Blue" key is pressed on a recording that was created by
this timer. If the text contains the special character '|', a newline will
be inserted at that place. When pressing "Ok" on a timer that contains a
summary field, the summary will be displayed. To edit such a timer the "Red"
key must be pressed. Timers without a summary still go into Edit mode when
pressing "Ok". The summary field can only be filled in directly by editing
the 'timers.conf' file with a text editor, or by defining/modifying the timer
via the SVDRP interface.
Diffstat (limited to 'svdrp.h')
-rw-r--r-- | svdrp.h | 52 |
1 files changed, 52 insertions, 0 deletions
@@ -0,0 +1,52 @@ +/* + * svdrp.h: Simple Video Disk Recorder Protocol + * + * See the main source file 'vdr.c' for copyright information and + * how to reach the author. + * + * $Id: svdrp.h 1.1 2000/07/23 14:49:30 kls Exp $ + */ + +#ifndef __SVDRP_H +#define __SVDRP_H + +class cSocket { +private: + int port; + int sock; + int queue; + void Close(void); +public: + cSocket(int Port, int Queue = 1); + ~cSocket(); + bool Open(void); + int Accept(void); + }; + +class cSVDRP { +private: + cSocket socket; + int filedes; + void Close(void); + bool Send(const char *s, int length = -1); + void Reply(int Code, const char *fmt, ...); + void CmdChan(const char *Option); + void CmdDelc(const char *Option); + void CmdDelt(const char *Option); + void CmdHelp(const char *Option); + void CmdLstc(const char *Option); + void CmdLstt(const char *Option); + void CmdModc(const char *Option); + void CmdModt(const char *Option); + void CmdMovc(const char *Option); + void CmdMovt(const char *Option); + void CmdNewc(const char *Option); + void CmdNewt(const char *Option); + void Execute(char *Cmd); +public: + cSVDRP(int Port); + ~cSVDRP(); + void Process(void); + }; + +#endif //__SVDRP_H |