Master-timer
(→Links) |
Hulk (Diskussion | Beiträge) K (Änderungen von 82.184.99.35 (Diskussion) rückgängig gemacht und letzte Version von Hulk wiederhergestellt) |
||
(8 dazwischenliegende Versionen von 8 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
==Beschreibung== | ==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" | ||
+ | |||
==Softwareanforderungen== | ==Softwareanforderungen== | ||
+ | VDR | ||
+ | |||
==Installation== | ==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. | ||
+ | |||
+ | |||
+ | |||
+ | ==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. | ||
+ | |||
+ | |||
+ | |||
+ | |||
==Konfiguration== | ==Konfiguration== | ||
==Links== | ==Links== | ||
− | + | # [http://mt.citd.de Homepage] | |
− | + | # [http://www.hubertus-sandmann.homepage.t-online.de/vdr_addons.htm#master-timer Beschreibung] | |
− | + | ||
− | + | [[Kategorie:Timer und Co]] | |
− | + | [[Kategorie:Skripte]] | |
− | + | ||
− | + | ||
− | + | ||
− | + |
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.