Master-timer
Hulk (Diskussion | Beiträge) K (Änderungen von 82.184.99.35 (Diskussion) rückgängig gemacht und letzte Version von Hulk wiederhergestellt) |
|
(5 dazwischenliegende Versionen von 5 Benutzern werden nicht angezeigt) |
Aktuelle Version vom 30. November 2009, 06:02 Uhr
Inhaltsverzeichnis |
[Bearbeiten] Beschreibung
Master-Timer is a system for automatic recording of series and movies. Upon start the configuration files are read. Then, depending on configuration the "epg.data" in the current directory is used or the EPG-data is requested with the "LSTE"-command directly from VDR. After that matching entries are looked for and then programmed via SVDR into VDR. That's about it.
It is advisable to create a Cronjob for periodic execution of "run-mt.pl"
[Bearbeiten] Softwareanforderungen
VDR
[Bearbeiten] Installation
If you have a version of Master-Timer before 0.7.0 installed you should remove the old files before copying the new. Otherwise the procedure will be most likely none-working.
For the examples you have to in the path of the extracted archive
> cd <path to extracted archive>
Master-Timer uses the directory "$HOME/.master-timer" or "/etc/master-timer" to there it's configuration-files and to store some additional data-files. A sample configuration is included in the sample-directory inside the distribution-archive.
> mkdir /etc/master-timer > cp sample/* /etc/master-timer or. > mkdir ~/.master-timer > cp sample/* ~/.master-timer
After that you have to place the program-files ("*.pl") somewhere in you path. e.g. /usr/local/bin From the path where you extracted the archive: > cp -d /*.pl lib parts /usr/local/bin The parameter "-a" is important to preserve the symlinks
Now it's the time to make yourself comfortable with the configuration files. Especially "config" and "torecord". All (sample/)configuration files include comments for understanding you can and have to do.
[Bearbeiten] Starten von Master-Timer
Just run "run-mt.pl"
For cyclic starting you can create a Cronjob. Here is an example for the /etc/crontab Instead of "root" you may have to specify the user under which the script shall be started. - snip - 0 6 * * * root /usr/local/bin/run-mt.pl - snip - This entry would start run-mt.pl every day at 6 o'clock.