[mythtv] Channel Management Ideas and Plans

Stuart Auchterlonie stuarta at squashedfrog.net
Tue Apr 16 20:21:04 UTC 2019

On 16/04/2019 16:48, David Engel wrote:
> On Tue, Apr 16, 2019 at 01:44:20PM +0100, Stuart Auchterlonie wrote:
>> Maybe i update my channels in a funny way ;-)
>> truncate channel;
>> truncate eit_cache;
>> truncate program;
>> rescan
>> restart backend
> I'd consider that funny, and highly trusting that rescanning will
> re-use the same chanids.  With what I've proposed, you wouldn't need
> to change much and you also wouldn't need to rely on getting the same
> chanids.  Instead of "truncate channel", you'd run "update channel set
> visible=<value-for-deleted>".
> David

Yes they do get the same chanid's, and when they don't it's because
the channel numbers have changed (and / or the channel lineup)
which is the normal reason to rescan here.


More information about the mythtv-dev mailing list