[mythtv-users] mythupchuk -- another script for maintaining UK channels

Chris Dennis cgdennis at btinternet.com
Sat Nov 10 21:23:04 UTC 2012

Thanks for that advice, Mike - that will simplify things greatly.


(Sent from my phone - apologies if the formatting is wrong. )

Mike Perkins <mikep at randomtraveller.org.uk> wrote:

>On 09/11/12 18:36, Chris Dennis wrote:
>> On 09/11/12 18:05, Stephen Robertson wrote:
>>> The invalid data lines is caused by callsign and/or name being
>blank.  I
>>> got round that error by putting something in for those fields.  As I
>>> was deleting them anyway it didn't matter what.  I was/am planning
>>> updating it to cope with that which I will push back.(Chris
>>> a couple of minor changes I made previously).
>> I thought I had already fixed it to put something into missing
>> fields -- I'll check again.
>>> The other lines suggest that you have duplicates in your database.
>> Indeed.  I always delete the existing channels before retuning,
>either directly
>> in via MySQL (deleting all records in tables 'channel' and
>'dtv_multiplex' where
>> sourceid is the source that I'm retuning), or via mythtv-setup (the
>> editor will delete all channels for a source).
>You should not delete the contents of dtv_multiplex, unless you have
>made a 
>really bad hash of your database.
>If you do that, you will have to scan everything again and possibly
>filter out 
>the muxes which apply to you.
>Now that the digital switchover is complete bar some minor twiddling
>the mux 
>table will not change very much at all. If you leave that table alone
>you'll be 
>able to select the "scan existing transports" option and save yourself
>a big step.
>Mike Perkins
>mythtv-users mailing list
>mythtv-users at mythtv.org

Chris Dennis
Fordingbridge, Hampshire
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20121110/01327455/attachment.html>

More information about the mythtv-users mailing list