mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
- Updated the Finnish OSD texts (thanks to Rolf Ahrenberg). - Fixed a crash when setting the time transponder in the Setup menu, caused by the new 'noneString' in cMenuEditChanItem (reported by Thomas Günther). - Added NULL checks to some strdup() calls in menuitems.c (suggested by Darren Salt). - Removed the unnecessary 'value' member from cMenuEditItem. - Fixed the initial setting of the time transponder setup parameter (reported by Thomas Günther). - Fixed unnecessary Set() calls in cMenuEditIntItem::ProcessKey(). - Allowing a tolerance for symbol rate values that are off by one (thanks to Richard Lithvall). - Added VBITeletextDescriptorTag, TeletextDescriptorTag, LocalTimeOffsetDescriptorTag and PremiereContentTransmissionDescriptor to 'libsi' (thanks to Marco Schlüßler). - Using geteuid() to check whether VDR is running as user 'root' (suggested by Tobias Grimm). - Added a missing "Key$" in skincurses.c (reported by Darren Salt). - Reintroduced the log message "deleting plugin: ..." when shutting down VDR (upon request by Ville Skyttä, as in the initial patch from Christoph Haubrich). - Fixed the vdr.1 man page (a single DVB card can record and do live tv). - The preferred audio language is now automatically selected when starting replay. - Updated the Danish OSD texts (thanks to Mogens Elneff). - The new function cPlugin::Active() can be used by a plugin to indicate that it is still busy and the system should not shut down or restart (based on a patch from Sascha Volkenandt). See PLUGINS.html for details. - Fixed setting the 'Delta' parameter when calling the shutdown script with no active timer (reported by Helge Lenz). - In order to make sure that plugins are compiled with the same DVB driver header files as VDR itself, the definition of DVBDIR has been removed from the VDR Makefile. If you are using a driver version that has its header files at a location other than /usr/include/linux/dvb, you can define DVBDIR in the Make.config file (see also INSTALL). Note that if you already have a Make.config file of your own, you should add the lines ifdef DVBDIR INCLUDES += -I$(DVBDIR)/include endif to its end, as in the new Make.config.template. Any reference to DVBDIR should be removed from all plugins' Makefiles, like this: ------------------------------------------------------------ --- PLUGINS/src/hello/Makefile 2005/11/11 13:20:14 1.10 +++ PLUGINS/src/hello/Makefile 2006/04/15 11:58:46 1.11 @@ -20,7 +20,6 @@ ### The directory environment: -DVBDIR = ../../../../DVB VDRDIR = ../../.. LIBDIR = ../../lib TMPDIR = /tmp @@ -40,7 +39,7 @@ ### Includes and Defines (add further entries here): -INCLUDES += -I$(VDRDIR)/include -I$(DVBDIR)/include +INCLUDES += -I$(VDRDIR)/include DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' ------------------------------------------------------------ Thanks to Marco Schlüßler for pointing out this problem. - Implemented kNext and kPrev keys (based on a patch from Peter Juszack). See MANUAL for details. - Implemented kChanPrev (from a patch from Darren Salt). - The "Update channels" parameter in the "Setup/DVB" menu has been extended to allow updating only the PIDs (see MANUAL for details). When updating to this version of VDR, please verify that the setting is as you want it to be, because the values have been shifted. - The new APIVERSION (see config.h) now allows existing compiled plugins to be used with newer versions of VDR, as long as there have been no changes to the VDR header files since the last APIVERSION. Existing plugins' Makefiles should have all references to VDRVERSION changed to APIVERSION, like this: ------------------------------------------------------------ --- PLUGINS/src/hello/Makefile 2006/04/15 11:58:46 1.11 +++ PLUGINS/src/hello/Makefile 2006/04/16 09:03:50 1.12 @@ -28,9 +28,9 @@ -include $(VDRDIR)/Make.config -### The version number of VDR (taken from VDR's "config.h"): +### The version number of VDR's plugin API (taken from VDR's "config.h"): -VDRVERSION = $(shell grep 'define VDRVERSION ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g') +APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h) ### The name of the distribution archive: @@ -67,7 +67,7 @@ libvdr-$(PLUGIN).so: $(OBJS) $(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@ - @cp $@ $(LIBDIR)/$@.$(VDRVERSION) + @cp $@ $(LIBDIR)/$@.$(APIVERSION) dist: clean @-rm -rf $(TMPDIR)/$(ARCHIVE) ------------------------------------------------------------ - If a timer is newly created from within the "Schedule" menu, and its event is already running or has its start time within the next two minutes, it now goes directly into the "Edit timer" menu in order to allow the user to make further changes to timer parameters before the actual recording starts (inspired by Christian Wieninger's "epgsearch" plugin). - Added format check to syslog_with_tid(). - Updated the INSTALL file's section about non-VDR files in the video directory (since version 1.3.38 disk access is done in a separate thread, so the watchdog timer won't hit). - Changed the behaviour of the "Use small font" setup option to *always* use the small font if set to '2' - even if it would have been a fixed font (suggested by Ronny Kornexl). - No longer using characters 0x01 and 0x02 for mapping single quote and slash in recording names (thanks to Patrick Fischer for reporting that this was a problem with XML). The single quote is not mapped at all, and the slash is interchanged with the tilde. Existing recordings will be handled like before, so there is no need to actually rename them. - The cRemote::CallPlugin() function now has a boolean return value that tells the caller whether initiating the plugin call was successful (suggested by Reinhard Nissl). If it returns false, another plugin call is currently pending and the caller should try again later. This also means that the SVDRP command PLUG can now return an error code is the call fails. - The new function cPlugin::MainThreadHook() can be used by plugins to perform actions in the context of the main program thread. Use this function with great care and only of you absolutely have to! See also PLUGINS.html.
219 lines
7.1 KiB
Groff
219 lines
7.1 KiB
Groff
'\" t
|
|
.\" ** The above line should force tbl to be a preprocessor **
|
|
.\" Man page for vdr
|
|
.\"
|
|
.\" Copyright (C) 2006 Klaus Schmidinger
|
|
.\"
|
|
.\" You may distribute under the terms of the GNU General Public
|
|
.\" License as specified in the file COPYING that comes with the
|
|
.\" vdr distribution.
|
|
.\"
|
|
.\" $Id: vdr.1 1.23 2006/04/14 13:03:18 kls Exp $
|
|
.\"
|
|
.TH vdr 1 "14 Apr 2006" "1.3.47" "Video Disk Recorder"
|
|
.SH NAME
|
|
vdr - the Video Disk Recorder
|
|
.SH SYNOPSIS
|
|
.B vdr
|
|
[options]
|
|
.SH DESCRIPTION
|
|
.B vdr
|
|
implements a complete digital Set-Top Box and Video Recorder.
|
|
It can work with signals received from satellites (DVB-S) as
|
|
well as cable (DVB-C) and terrestrial (DVB-T) signals.
|
|
|
|
At least one DVB card is required to run \fBvdr\fR. With it you can watch
|
|
live tv while recording one or more other broadcasts from the same transponder.
|
|
It is also possible to start watching a recorded programme before the live
|
|
broadcast has ended (\fBtime shifting\fR). In order to record from different
|
|
transponders simultaneously two or more DVB cards are necessary.
|
|
By default \fBvdr\fR can support up to four
|
|
DVB cards. The primary DVB card (the one your tv set is connected to) has
|
|
to be a "full featured" card, which means it must contain an MPEG decoder
|
|
and provide audio and video signal outputs.
|
|
|
|
\fBvdr\fR uses the On Screen Display of the DVB card to display its menus.
|
|
It can be controlled by the PC keyboard, a home built "Remote Control Unit"
|
|
(RCU) or the "Linux Infrared Remote Control" (LIRC).
|
|
|
|
Remote access is possible via the "Simple Video Disk Recorder Protocol" (SVDRP),
|
|
which can be accessed on port 2001, for instance by \fBtelnet\fR.
|
|
.SH OPTIONS
|
|
.TP
|
|
.BI \-a\ cmd ,\ \-\-audio= cmd
|
|
Send Dolby Digital audio to stdin of command \fIcmd\fR.
|
|
.TP
|
|
.BI \-c\ dir ,\ \-\-config= dir
|
|
Read config files from directory \fIdir\fR
|
|
(default is to read them from the video directory).
|
|
.TP
|
|
.B \-d, \-\-daemon
|
|
Run in daemon mode (implies \-\-no\-kbd).
|
|
.TP
|
|
.BI \-D\ num ,\ \-\-device= num
|
|
Use only the given DVB device (\fInum\fR = 0, 1, 2...).
|
|
There may be several \fB\-D\fR options (by default all DVB devices will be used).
|
|
.TP
|
|
.BI \-E\ file ,\ \-\-epgfile= file
|
|
Write the EPG data into the given \fIfile\fR
|
|
(default is \fI/video/epg.data\fR).
|
|
Use \fB\-E\-\fR to disable this.
|
|
If \fIfile\fR is a directory, the file \fIepg.data\fR
|
|
will be created in that directory.
|
|
.TP
|
|
.BI \-g,\ \-\-grab= dir
|
|
Write images from the SVDRP command GRAB into the
|
|
given directory \fIdir\fR. \fIdir\fR must be the full path name of an
|
|
existing directory, without any "..", double '/'
|
|
or symlinks. By default, or if \fB\-g\-\fR is given,
|
|
grabbing images to disk is disabled.
|
|
.TP
|
|
.B \-h, \-\-help
|
|
Print a help message and exit.
|
|
.TP
|
|
.BI \-l\ level ,\ \-\-log= level
|
|
Set logging to \fIlevel\fR.
|
|
\fB0\fR\ =\ no logging, \fB1\fR\ =\ errors only,
|
|
\fB2\fR\ =\ errors and info, \fB3\fR\ =\ errors, info and debug.
|
|
The default logging level is \fB3\fR.
|
|
If logging should be done to LOG_LOCALn instead of
|
|
LOG_USER, add '.n' to LEVEL, as in 3.7 (n=0..7).
|
|
.TP
|
|
.BI \-L\ dir ,\ \-\-lib= dir
|
|
Search for plugins in directory \fIdir\fR (default is ./PLUGINS/lib).
|
|
There can be several \fB\-L\fR options with different \fIdir\fR values.
|
|
Each of them will apply to the \fB\-P\fR options following it.
|
|
.TP
|
|
.BI \-\-lirc[= path ]
|
|
Use a LIRC remote control device.
|
|
If \fIpath\fR is omitted, vdr uses \fI/dev/lircd\fR.
|
|
.TP
|
|
.B \-m, \-\-mute
|
|
Mute audio of the primary DVB device at startup.
|
|
.TP
|
|
.B \-\-no\-kbd
|
|
Don't use the keyboard as an input device.
|
|
.TP
|
|
.BI \-p\ port ,\ \-\-port= port
|
|
Use \fIport\fR for SVDRP. A value of \fB0\fR turns off SVDRP.
|
|
The default SVDRP port is \fB2001\fR.
|
|
You need to edit the file \fIsvdrphosts.conf\fR in order to enable
|
|
access to the SVDRP port.
|
|
.TP
|
|
.BI \-P\ options ,\ \-\-plugin= options
|
|
Load a plugin, defined by the given \fIoptions\fR.
|
|
The first word in \fIoptions\fR must be the name of an existing \fBvdr\fR
|
|
plugin, optionally followed by a blank separated list of command line options
|
|
for that plugin. If \fIoptions\fR contains any blanks, you need to enclose it
|
|
in quotes, like for example
|
|
|
|
\fBvdr \-P "abc \-a \-b xyz"\fR
|
|
|
|
which would load a plugin named \fBabc\fR, giving it the command line options
|
|
\fB\-a\ \-b\ xyz\fR. If you want to load all available plugins (without any
|
|
particular options) you can use
|
|
|
|
\fBvdr \-P "*"\fR
|
|
|
|
(note the quotes around the asterisk to prevent wildcard expansion).
|
|
.TP
|
|
.BI \-\-rcu[= path ]
|
|
Use a serial port remote control device.
|
|
If \fIpath\fR is omitted, vdr uses \fI/dev/ttyS1\fR.
|
|
.TP
|
|
.BI \-r\ cmd ,\ \-\-record= cmd
|
|
Call \fIcmd\fR before and after a recording.
|
|
.TP
|
|
.BI \-s\ cmd ,\ \-\-shutdown= cmd
|
|
Call \fIcmd\fR to shutdown the computer.
|
|
.TP
|
|
.BI \-t\ tty ,\ \-\-terminal= tty
|
|
Set the controlling terminal.
|
|
.TP
|
|
.BI \-u\ user ,\ \-\-user= user
|
|
Run as user \fIuser\fR in case vdr was started as user 'root'.
|
|
Starting vdr as 'root' is necessary if the system time shall
|
|
be set from the transponder data, but for security reasons
|
|
vdr can switch to a lesser privileged user id during normal
|
|
operation.
|
|
.TP
|
|
.BI \-v\ dir ,\ \-\-video= dir
|
|
Use \fIdir\fR as video directory.
|
|
The default is \fI/video\fR.
|
|
.TP
|
|
.B \-V, \-\-version
|
|
Print version information and exit.
|
|
.TP
|
|
.BI \-w\ sec ,\ \-\-watchdog= sec
|
|
Activate the watchdog timer with a timeout of \fIsec\fR seconds.
|
|
A value of \fB0\fR (default) disables the watchdog.
|
|
.SH EXIT STATUS
|
|
.TP
|
|
.B 0
|
|
Successful program execution.
|
|
.TP
|
|
.B 1
|
|
An error has been detected which requires the DVB driver and \fBvdr\fR
|
|
to be reloaded.
|
|
.TP
|
|
.B 2
|
|
An non-recoverable error has been detected, \fBvdr\fR has given up.
|
|
.SH FILES
|
|
.TP
|
|
.I channels.conf
|
|
Channel configuration.
|
|
.TP
|
|
.I timers.conf
|
|
Timer configuration.
|
|
.TP
|
|
.I setup.conf
|
|
User definable setup.
|
|
.TP
|
|
.I commands.conf
|
|
User definable commands (executed from the \fBCommands\fR menu).
|
|
.TP
|
|
.I svdrphosts.conf
|
|
SVDRP host configuration, defining which hosts or networks are given
|
|
access to the SVDRP port.
|
|
.TP
|
|
.I marks.vdr
|
|
Contains the editing marks defined for a recording.
|
|
.TP
|
|
.I info.vdr
|
|
Contains a description of the recording.
|
|
.TP
|
|
.I resume.vdr
|
|
Contains the index into the recording where the last replay session left off.
|
|
.TP
|
|
.I index.vdr
|
|
Contains the file number, offset and type of each frame of the recording.
|
|
.TP
|
|
.I remote.conf
|
|
Contains the key assignments for the remote control.
|
|
.TP
|
|
.I keymacros.conf
|
|
Contains user defined remote control key macros.
|
|
.TP
|
|
.IR 001.vdr\ ...\ 255.vdr
|
|
The actual data files of a recording.
|
|
.TP
|
|
.I epg.data
|
|
Contains all current EPG data. Can be used for external processing and will
|
|
also be read at program startup to have the full EPG data available immediately.
|
|
.TP
|
|
.I .update
|
|
If this file is present in the video directory, its last modification time will
|
|
be used to trigger an update of the list of recordings in the "Recordings" menu.
|
|
.SH SEE ALSO
|
|
.BR vdr (5)
|
|
.SH AUTHOR
|
|
Written by Klaus Schmidinger, with contributions from many others.
|
|
See the file \fICONTRIBUTORS\fR in the \fBvdr\fR source distribution.
|
|
.SH REPORTING BUGS
|
|
Report bugs to <vdr\-bugs@cadsoft.de>.
|
|
.SH COPYRIGHT
|
|
Copyright \(co 2006 Klaus Schmidinger.
|
|
|
|
This is free software; see the source for copying conditions. There is NO
|
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|