Sky-plugin

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(Links: s)
(Konfiguration: - hardcodet)
Zeile 23: Zeile 23:
  
 
==Konfiguration==
 
==Konfiguration==
  shell> mkdir -p /etc/vdr/plugins/sky
+
  shell> mkdir -p [[Struktur|$VDRCONFIG]]/sky
  shell> cp $SOURCEDIR/VDR/PLUGIN/src/sky /etc/vdr/plugins/sky/channels.conf.sky
+
  shell> cp [[Struktur|$SOURCEDIR]]/VDR/PLUGIN/src/sky [[Struktur|$VDRCONFIG]]/plugins/sky/channels.conf.sky
  
 
Hier waren in der '''getskyepg.pl''' kleine anpassungen noetig.
 
Hier waren in der '''getskyepg.pl''' kleine anpassungen noetig.
Zeile 42: Zeile 42:
 
Am besten in den '''PATH''' kopieren.
 
Am besten in den '''PATH''' kopieren.
  
  shell> cp $SOURCEDIR/VDR/PLUGIN/src/sky/getskyepg.pl /usr/local/bin
+
  shell> cp [[Struktur|$SOURCEDIR]]/VDR/PLUGIN/src/sky/getskyepg.pl /usr/local/bin
 
  shell> chmod 777 /usr/local/bin/getskyepg.pl
 
  shell> chmod 777 /usr/local/bin/getskyepg.pl
  
 
Test: ('''-D 1''' steht fuer einen Tag, '''{-h,-help}''' weiß mehr)
 
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> getskyepg.pl -D 1 -c [[Struktur|$VDRCONFIG]]/plugins/sky/channels.conf.sky &
 
  shell> tail -f /var/log/messages
 
  shell> tail -f /var/log/messages
 
  SKYEPG: received 45 lines
 
  SKYEPG: received 45 lines
Zeile 59: Zeile 59:
 
Spater kann dies via '''/etc/crontab''' geschehen (Bsp. Nacht's um 04:00 Uhr)
 
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
+
  0 4    * * *  root    /usr/local/bin/getskyepg.pl -D 7 -c [[Struktur|$VDRCONFIG]]/plugins/sky/channels.conf.sky
  
 
<!-- ==Einstellungen== -->
 
<!-- ==Einstellungen== -->

Version vom 12. April 2006, 11:41 Uhr

Inhaltsverzeichnis

Beschreibung

Autor: Klaus Schmidinger


Hardwareanforderungen

Softwareanforderungen

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


Konfiguration

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

Hier waren in der getskyepg.pl kleine anpassungen noetig.

shell> which logger wget
/bin/logger
/usr/bin/wget
$WGET = "/usr/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 $VDRCONFIG/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 $VDRCONFIG/plugins/sky/channels.conf.sky


Links

  1. Homepage des Plugins
In anderen Sprachen