hello
why i can not chose tv_grab_ch in mythtv-setup?
i use a modified mythfillepg script with this graboptions:
GRABOPTIONS=--slow --quiet --config-file /home/mythtv/.xmltv/tv_grab_ch.conf
to fill the database but it still take tv_grab_de_tvtoday.
i manual set the the xmlgrabber in the table videosource to tv_grab_ch.
mythfillepg output:
[EMAIL PROTECTED]:/home/thomas$ /usr/local/bin/mythfillepg manual
Start: Fre Jan 13 07:09:32 CET 2006
User (whoami): mythtv
Offset (read out): 103
No Offset or manual run
Will grab 7 days.
2006-01-13 07:09:32.884 New DB connection, total: 1
2006-01-13 07:09:32.912 New DB connection, total: 2
Grabbing XMLTV data using tv_grab_ch is not verified as working.
Refreshing Tomorrow's data
2006-01-13 07:09:32.922 New DB DataDirect connection
Retrieving datadirect data...
Grabbing data for Fre Jan 13 2006 offset 1
From : Fre Jan 13 23:00:00 2006 To : Sam Jan 14 23:00:00 2006 (UTC)
--07:09:32-- http://datadirect.webservices.zap2it.com/tvlistings/xtvdService
= `-'
Auflösen des Hostnamen »datadirect.webservices.zap2it.com« 206.18.98.160
Connecting to datadirect.webservices.zap2it.com|206.18.98.160|:80...
verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 401 Unauthorized
Connecting to datadirect.webservices.zap2it.com|206.18.98.160|:80...
but that looks good:
[EMAIL PROTECTED]:/home/thomas$ tv_grab_ch
using config filename /home/mythtv/.xmltv/tv_grab_ch.conf
getting list of channels
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE tv SYSTEM xmltv.dtd
tv source-info-url=http://www.fernsehen.ch/;
source-data-url=http://www.fernsehen.ch/sender/; generator-info-name=XMLTV
generator-info-url=http://membled.com/work/apps/xmltv/;
channel id=C3sat.de
display-name lang=de3sat/display-name
/channel
channel id=br-online.de
display-name lang=deBR alpha/display-name
/channel
channel id=france2.fr
display-name lang=deFrance 2/display-name
/channel
channel id=ard.de
display-name lang=deARD/display-name
/channel
.
.
.
the script:
#!/bin/bash
# Customized mythfilldatabase script that efficiently grabs#
# only the needed days to minimize load and bandwidth. #
# #
# Created by: Jeroen Brosens #
# e-mail: [EMAIL PROTECTED]#
# web:http://www.fotoniq.nl/projects/mythtv/ #
# #
# Below are some variables that can be edited to you liking. #
# Make sure you set your GRABOPTIONS correctly!#
# NOTE: Some grabbers do not support the same arguments that #
# I used, please check this for your one. #
# Mythbackend settings; usually these will do fine.
BACKEND_HOST=localhost
STATUSPORT=6544
# Number of days in the guide that should be filled
TOTAL_DAYS=7
# XMLTV Grabber options
GRABOPTIONS=--slow --quiet --config-file /home/mythtv/.xmltv/tv_grab_ch.conf
# log file
LOG=/var/log/mythtv/mythfillepg.log
# date
DATE=`date`
###
# Do not edit below this line #
###
echo -e Start: $DATE\nUser (whoami): `whoami`
OFFSET=$(wget http://$BACKEND_HOST:$STATUSPORT -qO /dev/stdout | \
grep guide data until | grep -o ([0-9]* | tr -d ()
echo Offset (read out): $OFFSET
if [ -n $1 ]
then
OFFSET=0
fi
if (( $OFFSET ))
then
TO_GRAB=$(($TOTAL_DAYS - $OFFSET))
else
OFFSET=0
TO_GRAB=$TOTAL_DAYS
echo No Offset or manual run
fi
echo Will grab $TO_GRAB days.
if (( $TO_GRAB 0 ))
then
mythfilldatabase --update --graboptions $GRABOPTIONS \
--days $TO_GRAB --offset $OFFSET
fi
echo Finished.
bye thomas
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users