[mythtv-users] [UK] Missing xmltvids
Mike Perkins
mikep at randomtraveller.org.uk
Thu Mar 8 14:38:26 UTC 2007
Nick Morrott wrote:
> On 07/03/07, David Campbell <dave at cpfc.org> wrote:
>
>> Thanks - I have been manually adding the Id's manually using mythweb.
>> For many of the channels this works great and I have EPG for the correct
>> channels but for others I get no EPG at all. I am not sure why.
>
> Make sure that you are also adding the channel IDs to the
> <videosource>.xmltv file in $BACKEND_USER/.mythtv, where <videosource>
> is the name of the videosource you created in mythtv-setup. This file
> is what mythfilldatabase (MFDB) uses to determine which channels to
> grab data for. You want to make sure that channels defined in MythTV
> and entries in this file are in complete agreement, otherwise you can
> get extra channels created when MFDB runs.
>
>> I am also getting some rogue channels in the listing with no name or
>> EPG. Still trying to work out how to delete those.
>
> You can use the channel editor in mythtv-setup for this.
>
> Nick
Having (briefly) looked at the FillDatabase code, I have to wonder why
the above is necessary. Why not ensure that the file passed to the
grabber is always correct by generating it on the fly? A temp file,
filled with "channel " plus the result of a "select xmltvid from channel
where sourceid=n and visible=1" (other options may apply, this is off
the top of my head) will ensure you only pull in the exact list of
channels you need for that source.
This means that, for the UK at least, one of the bigger sources of
frustration would be removed - getting the database out of step with the
<source>.xmltv file because one or other needed editing.
Now if we could only get the Channel_ids file to always match what the
Radio Times website expects, and get the callsigns the same everywhere,
we'd be set...
Obviously, the above may not apply outside the UK.
Mike Perkins
More information about the mythtv-users
mailing list