Hallo,
ich beschäftige mich nun bereits einige Zeit mit dem Thema. Leider schaffe ich es einfach nicht xmltv2vdr so zu konfigurieren, dass die IPTV-Kanäle ein EPG laden.
Es gibt einige Beiträge zu dem Thema, keiner konnte mich bisher zu einer Lösung finden.
Das xmltv-EPG wird anscheinend korrekt geladen und die Datei epg.db erzeugt.
Wenn das EPG geladen werden sollte, kommen nun folgende Log-Zeilen:
Jan 28 17:49:06 htpc001 vdr: [29552] xmltv2vdr importer thread started (pid=28479, tid=29552, prio=high)
Jan 28 17:49:06 htpc001 vdr: [29552] xmltv2vdr: 'vdrepg' importing from db
Jan 28 17:49:06 htpc001 vdr: [29552] xmltv2vdr: 'vdrepg' ERROR cannot get schedule for channel ORF1 - try add option
Jan 28 17:49:06 htpc001 vdr: [29552] xmltv2vdr: 'vdrepg' processed no vdr events - see ERRORs above!
Jan 28 17:49:06 htpc001 vdr: [29552] xmltv2vdr importer thread ended (pid=28479, tid=29552)
Lösche ich die epg.db kommt etwas mehr, aber der eigentliche Fehler bleibt der gleiche:
Jan 28 19:26:52 htpc001 vdr: [30394] xmltv2vdr importer thread started (pid=28479, tid=30394, prio=high)
Jan 28 19:26:52 htpc001 vdr: [30394] xmltv2vdr: 'epgdata2xmltv' no channels, please configure source
Jan 28 19:26:52 htpc001 vdr: [30394] xmltv2vdr: 'vdrepg' vdrepg 5 '' 0 orf1.at orf2.at orf3.at
Jan 28 19:26:52 htpc001 vdr: [30394] xmltv2vdr: 'vdrepg' executing epgsource
Jan 28 19:26:55 htpc001 vdr: [30394] xmltv2vdr: 'vdrepg' parsing output
Jan 28 19:26:55 htpc001 vdr: [30394] xmltv2vdr: 'vdrepg' event without id, using starttime as id (weak)!
Jan 28 19:26:55 htpc001 vdr: [30394] xmltv2vdr: 'vdrepg' processed 521 xmltv events
Jan 28 19:26:55 htpc001 vdr: [30394] xmltv2vdr: 'vdrepg' importing from db
Jan 28 19:26:55 htpc001 vdr: [30394] xmltv2vdr: 'vdrepg' ERROR cannot get schedule for channel ORF1 - try add option
Jan 28 19:26:55 htpc001 vdr: [30394] xmltv2vdr: 'vdrepg' processed no vdr events - see ERRORs above!
Jan 28 19:26:55 htpc001 vdr: [30394] xmltv2vdr importer thread ended (pid=28479, tid=30394)
Display More
Leider sagt mir der Fehler "ERROR cannot get schedule for channel ORF1 - try add option" nicht wirklich etwas.
Mein Gedanke war, dass VDR bereits ein EPG für den Kanal haben muss, damit das Skript dieses dann updaten kann.
Wie mache ich das dann aber bei einem IPTV-Kanal? Da kann VDR ja nicht im Vorhinein irgendein EPG laden?
Hat jemand ein ähnliches Setup und hatte damit erfolg?
Besten Dank,
schnere
Anbei mein Setup
Die IPTV-Kanäle in der channels.conf:
:IPTV
ORF1;IPTV:1:S=0|P=0|F=EXT|U=vlc2iptv|A=1:I:0:72=2:70=@3:0:0:1:0:0:0
ORF2;IPTV:2:S=0|P=0|F=EXT|U=vlc2iptv|A=2:I:0:3=2:6=@4:0:0:1:0:0:0
ORF3;IPTV:3:S=0|P=0|F=EXT|U=vlc2iptv|A=3:I:0:3=2:6=@4:0:0:1:0:0:0
Die xmltv2vdr-Einstellungen aus der setup.conf:
xmltv2vdr.channel.orf1.at = 0;1;I-0-1-1
xmltv2vdr.channel.orf2.at = 0;1;I-0-2-1
xmltv2vdr.channel.orf3.at = 0;1;I-0-3-1
xmltv2vdr.options.epall = 0
xmltv2vdr.options.imgdelafter = 30
xmltv2vdr.options.order = LOT,CRS,CAD,ORT,CAT,VID,AUD,SEE,RAT,STR,REV
xmltv2vdr.options.wakeup = 0
xmltv2vdr.source.order = epgdata2xmltv,vdrepg
Die Config-Datei fürs EPG (/var/lib/epgsources/vdrepg):
Und das vdrepg Skript:
#!/bin/bash
BVTWORKDIR=/var/cache/vdr
tv_grab_eu_egon --output $BVTWORKDIR/epg.xmltv 2> /dev/null
sed -i 's/<url.*//g' $BVTWORKDIR/epg.xmltv
sed -i 's/orf1.orf.at/orf1.at/g' $BVTWORKDIR/epg.xmltv
sed -i 's/orf2.orf.at/orf2.at/g' $BVTWORKDIR/epg.xmltv
sed -i 's/orf3.orf.at/orf3.at/g' $BVTWORKDIR/epg.xmltv
cat $BVTWORKDIR/epg.xmltv
#echo `date` >> /tmp/vdrepg