Timer concept of the DVBViewer Recording Service

From DVBViewer

Jump to: navigation, search

Contents

The DVB Recording Service now uses its own svctimers.xml file (Configuration folder\config). The Timers.xml of the DVBViewer is not used any more, this means the service does not get any timers programmed in the DVBViewer via the timers.xml.

Exception: No svctimers.xml is present but a timers.xml is found, in this case the DVBViewer Timers are imported.

Most of the functions of the timers were kept. But there are several new timer types now.

[edit] Recording Timer

Under the timer type Recoding Timer are all timer grouped, which need a DVB-device. This type is like the "old" timer.

It has three subtypes:

The Recording subtype has several additional properties

[edit] The Recording Sub type

[edit] Recording folder

The recording folder is saved with the timer. Changes in the options only affect timer with recording folder = Auto. There is a new selection "Auto".

Depending on the setting in the options "Auto" does one of the following:

if this fails try option 2.

[edit] Recording format

For each recording the format can be selected separately. The default is defined in the options. All known limitations apply (H264 only as TS also a Transponder Dump etc.).

[edit] Priority

Timers can now have a priority. If two timers with different priorities start at the same time the one with the higher priority is preferred, if there are not enough DVB-devices. A higher priority timer can also stop a lower priority timer to get a device. Note: 0=Lowest priority, 100=Highest priority.

[edit] Recording file name

The following place holders can be used for the recording file name:

%year = year
%date = sortable month and day
%time = time
%station = the channel
%event = the title of the broadcast
%title = the (Sub)Title (if any)
%tshort = the (Sub)Title (if any) shortened to 80 chars.
%m = Month
%d = day of the month
%h = time hour
%M = time minute
%g = the Genre (if any)
%D = Day of the week (Mo, Tue etc)

Additionally you can define sub folders. Example:

 %station\%date_%time_%station_%event does: 
[..]kabel eins\01-13_20-10-06_kabel eins_first strike - jackie chans erstschlag.ts

You can use more than one sub folder. The sub folders are generated automatically. You can also use a predefined folder name...

[edit] Audio/Teletext/DVB-Subtitle and PAT/PMT Adjust

For each timer these settings can be set separately. See also here for an explanation of these settings.

[edit] Whole Transponder

Records all data of a transponder into a TS file.

[edit] After recording task

These are normal Process timers, which will be generated on the fly by the recording timer. But only if the recording timer was not cancelled (means prematurely ended or deleted).

The newly created Process timer can not be saved, it expires if it gets cancelled or finishes. It inherits the Shut-down action of the recording timer. This way the Standby or Hibernate action of the original timer is processed after the Process timer finishes.

For this to work properly you have to give some data about the recording to the Process timer. Therefore you can use keywords in the parameters of the Process timer. The Recording Service will replace them with the actual values.

Example (simplified) Parameters for FFMpeg:

 -i "{SOURCE_FILE}" -vcodec libx264 -maxrate 1500k -acodec libfaac -ab 112k -ar 48000 -ac 2 -title "{TITLE}" -y "{PATH_FILENAME}.mp4"

Example parameters for VLC to extract the mp2 audio from a .ts capture of a radio broadcast:

--sout "file/raw:{PATH_FILENAME}.mp2" "{SOURCE_FILE}" vlc://quit

Following place holders do exist (CAPITALS MANDATORY):


{FILENAME_EXT} 04-11_20-10-04_RTL 2_Stargate.ts
{SOURCE_FILE} c:\capture\4-11_20-10-04_RTL 2_Stargate.ts
{PATH_FILENAME} c:\capture\4-11_20-10-04_RTL 2_Stargate
{FILENAME} 04-11_20-10-04_RTL 2_Stargate
{PATH} c:\capture\
{EXT} .ts
{CHANNEL} RTL 2
{TITLE} Stargate
{SUBTITLE} Episode 2

The usual rules for parameters apply: Paths and file name should be put into ", also all other text which could contain spaces.

All user input or message boxes must be suppressed at all costs. There is no user interaction.

In case of doubt: Please read the manual of the according program.

[edit] The new timer types

These timers behave a little bit different.

[edit] Search Timer

executes a single Autorecording EPG search entry.

[edit] Autosearch timer

executes all Autorecording EPG search entries.

[edit] Process Timer

Allows the executing of external programs like TVInfo, tvxml import etc. The timer uses the existing Process Tasks.

Important: if you use a program make sure it closes itself after executing and it is not allowed to show any message boxes at all. The programs are running in the user context of the Recording Service and there is no user interaction at all.

[edit] See also

Personal tools
Namespaces
Variants
Actions
Navigation
DVBViewer
Toolbox
In other languages