Skip to content

Commit a479fc6

Browse files
committed
Imported Upstream version 2.1.8
1 parent ed6f1dd commit a479fc6

File tree

223 files changed

+11043
-1817
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

223 files changed

+11043
-1817
lines changed

CONTRIBUTORS

+129-3
Large diffs are not rendered by default.

Doxyfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1658,7 +1658,7 @@ UML_LOOK = NO
16581658
# the class node. If there are many fields or methods and many nodes the
16591659
# graph may become too big to be useful. The UML_LIMIT_NUM_FIELDS
16601660
# threshold limits the number of items for each type to make the size more
1661-
# managable. Set this to 0 for no limit. Note that the threshold may be
1661+
# manageable. Set this to 0 for no limit. Note that the threshold may be
16621662
# exceeded by 50% before the limit is enforced.
16631663

16641664
UML_LIMIT_NUM_FIELDS = 10

Doxyfile.filter

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# See the main source file 'vdr.c' for copyright information and
1010
# how to reach the author.
1111
#
12-
# $Id: Doxyfile.filter 2.1 2013/02/17 10:54:05 kls Exp $
12+
# $Id: Doxyfile.filter 3.0 2013/02/17 10:54:05 kls Exp $
1313

1414
$TAG = "///<";
1515

HISTORY

+541-4
Large diffs are not rendered by default.

INSTALL

+19-45
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ The program will be called with two or three (in case of "edited") string
254254
parameters. The first parameter is one of
255255

256256
before if this is *before* a recording starts
257+
started if this is after a recording has *started*
257258
after if this is *after* a recording has finished
258259
edited if this is after a recording has been *edited*
259260
deleted if this is after a recording has been *deleted*
@@ -279,6 +280,9 @@ case "$1" in
279280
before)
280281
echo "Before recording $2"
281282
;;
283+
started)
284+
echo "Started recording $2"
285+
;;
282286
after)
283287
echo "After recording $2"
284288
;;
@@ -325,38 +329,9 @@ Note that the file system need not be 64-bit proof, since the 'vdr'
325329
program splits video files into chunks of about 2GB. You should use
326330
a disk with several gigabytes of free space. One GB can store roughly
327331
half an hour of SD video data, or 10 minutes of HD video.
328-
329-
If you have more than one disk and don't want to combine them to form
330-
one large logical volume, you can set up several video directories as
331-
mount points for these disks. All of these directories must have the
332-
same basic name and must end with a numeric part, which starts at 0 for
333-
the main directory and has increasing values for the rest of the
334-
directories. For example
335-
336-
/srv/vdr/video0
337-
/srv/vdr/video1
338-
/srv/vdr/video2
339-
340-
would be a setup with three directories. You can use more than one
341-
numeric digit:
342-
343-
/mnt/MyVideos/vdr.00
344-
/mnt/MyVideos/vdr.01
345-
/mnt/MyVideos/vdr.02
346-
...
347-
/mnt/MyVideos/vdr.11
348-
349-
would set up twelve disks (wow, what a machine that would be!).
350-
351-
To use such a multi directory setup, you need to add the '-v' option
352-
with the name of the basic directory when running 'vdr':
353-
354-
vdr -v /srv/vdr/video0
355-
356-
WARNING: Using multiple disks to form one large video directory this way
357-
is deprecated and will be removed from VDR in a future version! Either
358-
use one of today's large terabyte disks (preferably with a backup disk
359-
in a RAID-1 array), or use something like "mhddfs".
332+
Either use one of today's large terabyte disks (preferably with a backup disk
333+
in a RAID-1 array), or use something like "mhddfs" to group several disks
334+
into one large volume.
360335

361336
Note that you should not copy any non-VDR files into the video directory,
362337
since this might cause a lot of unnecessary disk access when VDR cleans up those
@@ -416,8 +391,9 @@ access your DiSEqC equipment (see man vdr(5) for details).
416391
A special form of DiSEqC is used to connect several receivers to one signal
417392
source using only a single cable. This method, known as "Satellite Channel Routing"
418393
according to EN50494 (aka "Unicable(TM)", "OLT(TM)", "SatCR", "Single Cable
419-
Distribution", "Channel Stacking System" or "Single Cable Interface") uses
420-
the file "scr.conf" to specify which SCR channels use which user band frequency.
394+
Distribution", "Channel Stacking System" or "Single Cable Interface") or
395+
EN50607 (aka "JESS") uses the file "scr.conf" to specify which SCR channels
396+
use which user band frequency.
421397

422398
If DVB-S devices need to be connected to the same satellite cable, but no
423399
"Satellite Channel Routing" is available, they can be set to be "bonded" in
@@ -468,19 +444,17 @@ for a detailed description).
468444

469445
The recommended PC key assignments are:
470446

471-
Up, Down, Left, Right Crsr keys in numeric block
472-
Menu 'Home' in numeric block
447+
Up, Down, Left, Right Cursor keys
448+
Menu 'Home'
473449
Ok 'Enter'
474-
Back 'End' in numeric block
450+
Back 'Backspace'
475451
Red, Green, Yellow, Blue 'F1'..'F4'
476-
0..9 '0'..'9' in top row
477-
Power 'P'
478-
Volume+/- '+', '-'
479-
Mute 'm'
480-
481-
If you prefer different key assignments, or if the default doesn't work for
482-
your keyboard, simply delete the file 'remote.conf' and restart 'vdr' to get
483-
into learning mode.
452+
0..9 '0'..'9'
453+
Volume+/- 'PgUp', 'PgDn'
454+
Mute 'F10'
455+
456+
If you want to change your key assignments later, simply delete the file
457+
'remote.conf' and restart 'vdr' to get into learning mode.
484458

485459
Generating source code documentation:
486460
-------------------------------------

MANUAL

+130-9
Original file line numberDiff line numberDiff line change
@@ -363,15 +363,29 @@ Version 2.0
363363
- 0 Toggles an editing mark. If the mark indicator shows a red triangle,
364364
the current mark is deleted. Otherwise a new mark is set at the
365365
current position.
366-
- 4, 6 Move an editing mark back and forward. You need to first jump to
367-
an editing mark for this to work.
366+
- 1, 3 Move an editing mark back and forward in "binary" mode. Pressing
367+
either of these keys for the first time moves the mark 120 seconds
368+
in the given direction (configurable via "Setup/Replay/Binary skip
369+
initial value"). Further presses of the same key keep moving
370+
the mark by the same value. Once the other key is pressed, the value
371+
is divided by 2 (hence the name "binary") with every further press
372+
of either key. Pressing '1' and '3' alternatingly divides the
373+
distance all the way down to a single I-frame. That way a particular
374+
place in a recording (for instance the beginning or end of a
375+
commercial break) can be found very quickly. If none of these two
376+
keys is pressed for a while (configurable via "Setup/Replay/Binary
377+
skip timeout") the distance falls back to the initial value.
378+
If replay is not in Pause mode, or if there is no mark at the
379+
current position, the skip is performed without moving any mark.
380+
- 4, 6 Move an editing mark back and forward by one I-frame. You need to
381+
first jump to an editing mark for this to work.
368382
- 7, 9 Jump back and forward between editing marks. Replay goes into still
369383
mode after jumping to a mark. If the current position is at the
370384
first or last mark, or if there are no marks at all, these keys
371385
jump to the very beginning or end, respectively, of the recording.
372386
- 8 Positions replay at a point 3 seconds before the current or next
373387
"begin" mark and starts replay.
374-
- 2 Start the actual cutting process.
388+
- 2 Starts the actual cutting process.
375389

376390
Editing marks are represented by black, vertical lines in the progress display.
377391
A small black triangle at the top of the mark means that this is a "begin"
@@ -500,9 +514,34 @@ Version 2.0
500514
folder name in the list). The "Yellow" key deletes the current folder (note
501515
that this will merely delete the folder definition stored in 'folders.conf'
502516
and has no effect on existing timers or recordings). The "Blue" key can be
503-
used to edit an existing folder definition. The "Red" key selects the current
504-
folder, or enters a sub folder. Once a folder has been selected, the entire
505-
path of the timer's file name will be replaced with the selected folder.
517+
used to edit an existing folder definition. The "Red" key opens a folder that
518+
contains sub folders, while pressing Ok selects the current folder. Once a
519+
folder has been selected, the entire path of the timer's file name will be
520+
replaced with the selected folder.
521+
522+
In the "Recordings" menu the folders of existing recordings can be renamed or
523+
moved by pressing the "Blue" key ("Edit") while the cursor is positioned on
524+
a folder. This will open a menu in which the folder's name and location (the
525+
"parent" folder) can be edited. If such an operation will result in moving
526+
more than one recording, you will be asked for confirmation.
527+
The name, folder, priority and lifetime of an individual recording can be
528+
changed by pressing the "Blue" key ("Info") while the cursor is positioned
529+
on a recording, and in the resulting Info menu pressing the "Blue" key again
530+
to bring up the "Edit recording" menu.
531+
In the "Edit recording" menu the Red button ("Folder") allows you to select one
532+
of your predefined folders. The Green button has multiple functions, depending
533+
on what is currently going on with the recording. It can either stop or cancel
534+
a cut, move or copy operation. If the button reads "Stop..." it means that the
535+
respective operation is already happening, while "Cancel..." means that the
536+
operation is still pending execution. If no operation is currently happening
537+
and the recording has editing marks, the Button will read "Cut" and triggers
538+
cutting the recording (same as pressing '2' while replaying the recording).
539+
The Yellow button ("Delete marks") allows you to delete all editing marks from
540+
the selected recording (if there are any and the recording is not currently
541+
being cut). To directly edit the folder or name of the recording, position the
542+
cursor to the respective line and press the Right key to start editing (press
543+
Ok to confirm the edit, or Back to return to the previous value). Once you are
544+
finished with editing the recording properties, press Ok to confirm the changes.
506545

507546
* Parameters in the "Setup" menu
508547

@@ -706,13 +745,13 @@ Version 2.0
706745
1 = ANSI/SCTE
707746

708747
Video format = 4:3 The video format (or aspect ratio) of the tv set in use
709-
(4:3 or 16:9).
748+
(4:3 or 16:9). Applies only to SD output devices.
710749

711750
Video display format = letterbox
712751
The display format to use for playing wide screen video on
713752
a 4:3 tv set ("pan & scan", "letterbox" or "center cut out").
714753
This option is only available if "Video format" is set to
715-
4:3.
754+
4:3. Applies only to SD output devices.
716755

717756
Use Dolby Digital = yes
718757
Controls whether Dolby Digital tracks appear in the "Audio"
@@ -776,6 +815,28 @@ Version 2.0
776815
are connected to the same sat cable must be set to the same
777816
number here.
778817

818+
Use dish positioner = no
819+
By default, the 'P' command code in DiSEqC command sequences
820+
is ignored. Set this parameter to 'yes' if you are using a
821+
satellite dish positioner.
822+
823+
Site latitude (degrees) = 0
824+
Site longitude (degrees) = 0
825+
Set these to the latitude and longitude of your dish's
826+
location if you use a satellite dish positioner. Use the
827+
"Green" key to switch between north/south and east/west,
828+
respectively.
829+
830+
Max. positioner swing (degrees) = 65
831+
Defines the maximum angle by which the positioner can move
832+
the dish away from due south (or north) in either direction.
833+
The valid range is 0...90.
834+
835+
Positioner speed (degrees/s) = 1.5
836+
Defines the speed at which the positioner moves the dish.
837+
The valid range is 0.1...180. This value is used to calculate
838+
how long it takes the positioner to reach the target position.
839+
779840
CAM:
780841

781842
n CAM Name Shows the CAM slots that are present in this system, where
@@ -784,7 +845,19 @@ Version 2.0
784845
if it is in the process of being reset, its current status
785846
is displayed. The "Red" key can be pressed to enter the CAM
786847
menu, and the "Green" key triggers a reset of the selected
787-
slot. The "Ok" key also opens the CAM menu.
848+
slot. The "Ok" key also opens the CAM menu. The "Yellow" key
849+
assigns the selected CAM to a device and switches it to the
850+
current channel. The CAM/device combination remains tuned to
851+
the current channel until the smart card in the CAM has been
852+
activated and thus starts to descramble, or until a recording
853+
needs this device. Pressing the "Yellow" key while a CAM is
854+
in activation mode cancels the activation. The activation mode
855+
remains in effect even if you switch to a different channel
856+
(provided there is more than one device in the system) or
857+
watch a recording. To activate your smart card simply switch
858+
to the channel you want to watch, open the "Setup/CAM" menu,
859+
select the CAM that contains the smart card (in case you
860+
have more than one CAM) and press the "Yellow" key.
788861

789862
Recording:
790863

@@ -896,6 +969,43 @@ Version 2.0
896969
Defines whether the player automatically goes into Pause
897970
mode when setting an editing mark.
898971

972+
Pause replay when jumping to a mark = yes
973+
By default replay is automatically paused whenever you jump
974+
to an editing mark with the '7' or '9' key in order to allow
975+
you to easily adjust those marks. If this option is set to
976+
'no', the '9' key will not pause if you are in Play mode and
977+
the mark you jump to is not within 3 seconds of the end of
978+
the recording.
979+
980+
Skip edited parts = no Defines whether the edited parts of a recording are
981+
automatically skipped during replay. This includes jumping
982+
to the first mark if replay starts at the beginning of the
983+
recording, and stopping at the last mark.
984+
In order to work, this option must be enabled before starting
985+
replay.
986+
987+
Pause replay at last mark = no
988+
If enabled, replay of a recording will go into Pause mode
989+
when it has reached the last "end" mark (if any). Note that
990+
the actual position at which the pause occurs may be a couple
991+
of frames before the last "end" mark, depending on how much
992+
data is buffered by your output device.
993+
In order to work, this option must be enabled before starting
994+
replay.
995+
996+
Binary skip initial value (s) = 120
997+
Defines the number of seconds to jump from the current replay
998+
position in either direction, when pressing the '1' or '3'
999+
key for the first time after the "Binary skip timeout".
1000+
The valid range is 10...600.
1001+
1002+
Binary skip timeout (s) = 3
1003+
Defines the number of seconds after which pressing the
1004+
'1' or '3' key falls back to the "Binary skip initial value".
1005+
The valid range is 0...10. Setting the timeout to 0 disables
1006+
the binary mode and makes '1' and '3' always skip the number
1007+
of seconds configured as the initial value.
1008+
8991009
Resume ID = 0 Defines an additional ID that can be used in a multi user
9001010
environment, so that every user has his/her own resume
9011011
files for each recording. The valid range is 0...99, with
@@ -952,6 +1062,17 @@ Version 2.0
9521062
VDR was stopped will be used. The valid range is from
9531063
0 (silent) to 255 (loudest).
9541064

1065+
Volume steps = 51 The number of steps the volume will use when moving from
1066+
the lowest to the highest value. The valid range is from
1067+
5 to 255.
1068+
1069+
Volume linearize = 0 How to linearize the volume control. The valid range is
1070+
from -20 to 20. A value of 0 results in no linearization.
1071+
The higher this value is, the more fine grained the control
1072+
of the volume is for low sound levels. Lower values do the
1073+
same for high sound levels. This allows you to adjust the
1074+
more or less linear volume control of your sound card.
1075+
9551076
Channels wrap = no During zapping with the "Up" and "Down" keys (or the
9561077
"Channel+" and "Channel-" keys) the current channel will
9571078
wrap around the beginning or end of the channel list if

Make.config.template

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# See the main source file 'vdr.c' for copyright information and
77
# how to reach the author.
88
#
9-
# $Id: Make.config.template 2.19 2013/02/18 10:55:39 kls Exp $
9+
# $Id: Make.config.template 3.2 2015/01/30 15:18:47 kls Exp $
1010

1111
### The C compiler and options:
1212

@@ -38,6 +38,7 @@ endif
3838

3939
#VIDEODIR = /srv/vdr/video
4040
#CONFDIR = /var/lib/vdr
41+
#ARGSDIR = /etc/vdr/conf.d
4142
#CACHEDIR = /var/cache/vdr
4243

4344
# Overrides for preset/legacy configurations:
@@ -57,6 +58,7 @@ ifdef ONEDIR
5758
VIDEODIR = /video
5859
CACHEDIR = $(VIDEODIR)
5960
CONFDIR = $(VIDEODIR)
61+
ARGSDIR = $(VIDEODIR)/conf.d
6062
RESDIR = $(VIDEODIR)
6163
endif
6264

Make.global

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# See the main source file 'vdr.c' for copyright information and
55
# how to reach the author.
66
#
7-
# $Id: Make.global 1.2 2012/12/29 12:03:01 kls Exp $
7+
# $Id: Make.global 3.0 2012/12/29 12:03:01 kls Exp $
88

99
# This is just a dummy file for plugins that use old style (version 1.7.33
1010
# or earlier) Makefiles.

0 commit comments

Comments
 (0)