[mythtv-users] Turning off visibility does not disable a channel.

Simon Hobson linux at thehobsons.co.uk
Thu Feb 11 15:01:37 UTC 2021


Douglas Peale <Douglas_Peale at Comcast.net> wrote:

> I was only able to disable the wrong source, and select the channel on the correct source by deleting the channel on the wrong
> source. This won't work in the long run, because it will just be re-enabled when I scan channels again.
> 
> I will have to manually lower the priority of the wrong source channels, but I can't to that with mythweb, so I will have to
> suffer the horrible channel editor in mythTV backend setup.

Script it ! General rule of thumb - if you are going to be doing it several times, then automate it (unless automation would be very "expensive" compared to doing it by hand).

https://www.mythtv.org/wiki/Database_editing_script

Hmm, I need to find time to update that page, a few details have changed. Anyway, just edit it to fit your needs.

It takes time maintaining the script, but less than manually fiddling with channels every time you do anything. Once yours script is setup, you can rescan as often as you like, and just check for any new channels that have appeared and which will need adding. Most of the work is in finding (e.g.) the XML TV channel ID for fetching listings - which you'd have to do anyway if you were manually editing things.

Simon



More information about the mythtv-users mailing list