[mythtv-users] Problem about xmltv and 2 different places to get info from
Per Jørgensen
myth at pbj-design.dk
Sat Jan 5 20:35:59 UTC 2008
Hey Frederik.
Thanks for the answer - that solves my problem in the first row.
But after getting the grabber to work and made a script running once a
day in /etc/cron.daily/mythfilldatabase with the following lines:
#!/bin/sh
# PBJ 061007
# Cronjob for Filling TV-data into
# MythTV MySQL-database
/usr/bin/mythfilldatabase --update --file 2 -1 /root/.mythtv/Inetbox1.xml
# Filling up fro ahot.dk
cd /home/myth
python .xmltv/tv_grab_dk_ahot.py --output > ahot.xml
tv_cat /home/myth/ahot.xml
mythfilldatabase --update --file 2 -1 ahot.xml
rm -rf ahot.xml
I can see that it's getting all the info from the internet - But during
mythfilldatabase --update --file 2 -1 ahot.xml I'll get these errors
removing conflicting program: TV1000 Krapyl 20080111200000-20080111220000
conflicted with : TV1000 Colour Me Kubrick
20080111200000-20080111220000
removing conflicting program: TV1000 Lange flate ballær
20080111210000-20080111230000
conflicted with : TV1000 Colour Me Kubrick
20080111200000-20080111220000
removing conflicting program: TV1000 Central Station
20080111210000-20080111230000
conflicted with : TV1000 Colour Me Kubrick
20080111200000-20080111220000
removing conflicting program: TV1000 Breakfast on Pluto
20080111220000-20080112001000
conflicted with : TV1000 Children of Men
20080111220000-20080112000000
removing conflicting program: TV1000 Children of Men
20080111220000-20080112000000
conflicted with : TV1000 Bob og Carol og Ted og Alice
20080111220000-20080112000000
removing conflicting program: TV1000 Bob og Carol og Ted og Alice
20080111220000-20080112000000
conflicted with : TV1000 Rent 20080111230000-20080112011000
removing conflicting program: TV1000 Rent 20080111230000-20080112011000
conflicted with : TV1000 Beck 20080111230000-20080112010000
A lot of these errors - ending up with only a couple of channels are
with EPG on!
Is there anything I'm doing wrong here ??The only time there's tv1000 is
from ahot.dk
So what's going sromg again - sad only to have half the channels listed
with EPG!
Thanks
Per
Fredrik Hallgarde skrev:
> Per Jørgensen skrev:
>
>> Hey group.
>>
>> I've got a problem here in Denmark, Where xmltv i from default
>> configurated to get the data from tv2.dk. The problem is that not all
>> chanals from my satelite is not in TV2.dk - so I need to get some extra
>> information from another place.
>> I found this place (unfortunably it's in Danish - but the commands are
>> still readable) - http://niels.dybdahl.dk/xmltvdk/index.php/Ahot_grabber
>>
>> I have runned these commands:
>>
>> python tv_grab_dk_ahot.py --configure (worked fine)
>> &
>> python tv_grab_dk_ahot.py --output ahot.xml
>>
>> Also running and getting the information - as far as I can see on the
>> screen. But haven't got any information in the output afterwards !
>> This grabber have the missing information, I have configured as told in
>> the guide - but I'm not getting any info in /home/myth/ahot.xml -it's
>> just an empty file after running the command:
>> python .xmltv/tv_grab_dk_ahot.py --out /home/myth/ahot.xml
>>
>> This file is just empty - so I cannot get the information into MythTV
>> with mythfilldatabase --file /home/myth/ahot.xml
>>
>> What is going wrong here - I've run it as root and as my mythtv user -
>> since I don't get the info into a file ????
>>
>> Thanks
>> Per
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>
>>
>>
>>
>>
> What if you instead of relying on the --out parameter try to just
> redirect the output?
>
> python .xmltv/tv_grab_dk_ahot.py > /home/myth/ahot.xml
>
> If that works I would strongly check wether the grabber has a --out
> parameter or if there is something wrong with it.
>
> Fredrik
> - who is combining tv_grab_se_swedb with tv_grab_dk to get both Swedish
> and Danish channels...
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
More information about the mythtv-users
mailing list