[mythtv-users] Aus XMLTV grabber
philledwards at gmail.com
Sat Jun 4 05:47:38 UTC 2005
> I've moved something like this hack into my version of the script,
> available here:
> There is an example of how to set it up in the new example config
> file: you can either look in the script, or regenerate the config
> file with --configure.
> I've also fixed the bug in the option parsing that made '-v' version
> instead of verbose (and other weirdnesses).
> > As for the patch, I'm using Will's --force-explicit-timezone option
> > instead
> > of the patch (I'm running 0.17), and it's working fine here, so
> > give that a
> > go first. You'll have to force mythfilldatabase to pass that flag
> > -- you can
> > either use the mythfilldatabase --graboptions parameter to pass it,
> > or you
> > can use a little script. I've attached the script I use as tv_grab_au.
> The patch has been included in current CVS. I don't think it made it
> into 0.18.1, but it should be in 0.19, whenever that is released.
Thanks Will. The channel id fix seems to work a treat - thanks very
much for that.
I'm unsure how to get the timezone piece working, though. No matter
what OII try my listings are 10 hours behind. This is what I've tried:
1) Running tv_grab_au_tuhs with --force-explicit-timezone. This
results in +0000 entries in the xml file. Do I need to set a TZ
environment variable or something?
The command I ran was:
$ /usr/local/bin/tv_grab_au_tuhs --days 7 --config-file
$ mythfilldatabase --file 1 7 /home/mythtv/.xmltv/tvlistings_tuhs.xml
2) Running tv_grab_au_tuhs WITHOUT --force-explicit-timezone. This
results in NO +0000 offsets in the xml file.
On both the above xml file outputs, mythfilldatabase creates the EPG
entries 10 hours behind whether I have set the "Time offset for XMLTV
listings to +1000" in mythtvsetup or not.
It seems that the only way to get the times right in the EPG is for
the start & end times for the emtries for programs in the xml file to
be in the local time zone rather than UTC which I thought was the
purpose of --force-explicit-timezone but for some reason it's not
working on my machine.
Any ideas? Once I get this bit working I think I'm there!
More information about the mythtv-users