Sky-plugin

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(Softwareanforderungen)
(Konfiguration)
Zeile 7: Zeile 7:
  
 
==Konfiguration==
 
==Konfiguration==
 +
shell> mkdir -p /etc/vdr/plugins/sky
 +
shell> cp $SOURCEDIR/VDR/PLUGIN/src/sky /etc/vdr/plugins/sky/channels.conf.sky
 +
 +
Hier [[Peanut]] waren in der '''getskyepg.pl''' kleine anpassungen noetig.
 +
 +
$LOGGER = "/usr/bin/logger -t SKYEPG";
 +
$LOGGER = "/usr/bin/logger -t SKYEPG";
 +
 +
shell> echo logger wget | xargs which
 +
/bin/logger
 +
/bin/wget
 +
 +
$WGET = "/bin/wget -q -O-";
 +
$LOGGER = "/bin/logger -t SKYEPG";
 +
 +
Sollte auch funktionieren?
 +
 +
$WGET = "wget -q -O-";
 +
$LOGGER = "logger -t SKYEPG";
 +
 +
Am besten in den '''PATH''' kopieren.
 +
 +
shell> cp $SOURCEDIR/VDR/PLUGIN/src/sky/getskyepg.pl /usr/local/bin
 +
shell> chmod 777 /usr/local/bin/getskyepg.pl
 +
 +
Test: ('''-D 1''' steht fuer einen Tag, '''{-h,-help}''' weiß mehr)
 +
 +
shell> getskyepg.pl -D 1 -c /etc/vdr/plugins/sky/channels.conf.sky &
 +
shell> tail -f /var/log/messages
 +
SKYEPG: received 45 lines
 +
SKYEPG: generated 183 EPG events
 +
SKYEPG: processing channel sky_one_mix - S28.2E-2-2027-5104
 +
SKYEPG: reading www.bleb.org/tv/data/listings/0/sky_one_mix.xml
 +
..........................
 +
SKYEPG: received 171 lines
 +
SKYEPG: done
 +
 +
Spater kann dies via '''/etc/crontab''' geschehen (Bsp. Nacht's um 04:00 Uhr)
 +
 +
0 4    * * *  root    /usr/local/bin/getskyepg.pl -D 7 -c /etc/vdr/plugins/sky/channels.conf.sky
  
 
==Probleme==
 
==Probleme==

Version vom 12. Februar 2005, 12:04 Uhr

Inhaltsverzeichnis

Beschreibung

Hardwareanforderungen

Softwareanforderungen

  • wget (optional fuer den EPG Import)
  • logger (optional fuer den EPG Import)

Konfiguration

shell> mkdir -p /etc/vdr/plugins/sky
shell> cp $SOURCEDIR/VDR/PLUGIN/src/sky /etc/vdr/plugins/sky/channels.conf.sky

Hier Peanut waren in der getskyepg.pl kleine anpassungen noetig.

$LOGGER = "/usr/bin/logger -t SKYEPG";
$LOGGER = "/usr/bin/logger -t SKYEPG";
shell> echo logger wget | xargs which
/bin/logger
/bin/wget
$WGET = "/bin/wget -q -O-";
$LOGGER = "/bin/logger -t SKYEPG";

Sollte auch funktionieren?

$WGET = "wget -q -O-";
$LOGGER = "logger -t SKYEPG";

Am besten in den PATH kopieren.

shell> cp $SOURCEDIR/VDR/PLUGIN/src/sky/getskyepg.pl /usr/local/bin
shell> chmod 777 /usr/local/bin/getskyepg.pl

Test: (-D 1 steht fuer einen Tag, {-h,-help} weiß mehr)

shell> getskyepg.pl -D 1 -c /etc/vdr/plugins/sky/channels.conf.sky &
shell> tail -f /var/log/messages
SKYEPG: received 45 lines
SKYEPG: generated 183 EPG events
SKYEPG: processing channel sky_one_mix - S28.2E-2-2027-5104
SKYEPG: reading www.bleb.org/tv/data/listings/0/sky_one_mix.xml
..........................
SKYEPG: received 171 lines
SKYEPG: done

Spater kann dies via /etc/crontab geschehen (Bsp. Nacht's um 04:00 Uhr)

0 4    * * *   root    /usr/local/bin/getskyepg.pl -D 7 -c /etc/vdr/plugins/sky/channels.conf.sky

Probleme

Links

[1] http://www.cadsoft.de/vdr Homepage des Plugins