<div dir="ltr">FYI, a while ago the possibility to recover XMLTVID from deleted channels was added, see <a href="https://www.mythtv.org/wiki/Channel_Scanning#Restore_Data">https://www.mythtv.org/wiki/Channel_Scanning#Restore_Data</a><div>Never tested this with ATSC, but it might be useful.</div><div><br></div><div>Klaas.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 19 Nov 2023 at 06:21, Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz">stephen_agent@jsw.gen.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sat, 18 Nov 2023 20:55:37 -0800, you wrote:<br>
<br>
>Thank you, Stephen and Gary, for all the info.  If I don't run a<br>
>rescan or use my external program to make modifications, I'm still not<br>
>clear on what happens.<br>
><br>
>I have been assuming that the program guide, backed by info from SD,<br>
>is accurate (except for glitches, and perhaps delays catching up to<br>
>channel redefinitions).  Accurate means the programs listed on, e.g.,<br>
>4.3 are what I'd actually see if I tuned to 4.3.  Less importantly, it<br>
>means the callsign and icon are accurate.  But is any of that true?<br>
>For example, if the xmltvid is not updated, and if that's the key for<br>
>matching SD, then I'd be getting a listing for something that might be<br>
>showing on a different channel, or not at all.  @Gary says that<br>
>sometimes SD will continue to use the same xmltvid, in which case a<br>
>mismatch on that would not be a problem.  But that also means that<br>
>sometimes it changes, and then what happens in mythtv?<br>
<br>
Sorry, I can not help with SchedulesDirect as they do not do New<br>
Zealand EPG.  I believe it is possible to get channels created from<br>
the XMLTV EPG data, rather than from a channel scan.  So should you be<br>
doing that instead of scanning?<br>
<br>
>The interpretation of "same channel" as "same callsign" explains why<br>
>sometimes I will try to limit recording to, e.g., 11.1, and I end up<br>
>getting double recordings on 11.1 and 11.3: they have the same<br>
>callsign. (Actually, slightly different: "KNTV HD" vs "KNTV-HD".  But<br>
>I think I've had this problem with that pair).<br>
<br>
With callsigns there is no such thing as "slightly different" - any<br>
difference at all means it is a different channel.  There is no<br>
matching for "similar" callsigns.<br>
<br>
I have a channel that is on two sources where I often see that the<br>
upcoming recordings list is showing that it will record from both<br>
sources.  But in fact it only records from the higher priority source<br>
(free-to-air DVB-T).  I think this is a bug, but not a bad one as it<br>
is only a display problem.  And very occasionally, I have had both<br>
channels recorded.  I think, but have not confirmed, that it has<br>
happened when the DVB-T tuner was taking a long time to tune, so the<br>
recording from there was not marked as started, and the DVB-S2<br>
recording was then also started.<br>
<br>
>BTW, the changes to virtual channel 4 are definitely part of an ATSC<br>
>3.0 move.  And 44.5 already has a date/time in channel.deleted.  I<br>
>used the Services API Channel/RemoveDBChannel to do that, which must<br>
>mean it didn't get deleted on its own or via an update from SD.<br>
<br>
Any channel deletion using the proper MythTV tools (the API or<br>
mythtv-setup) will mark the channel as deleted if there are any<br>
recordings that match the channel.  If there are no matching<br>
recordings, I am not sure of the exact process - it may just be marked<br>
as deleted in the same way, or it may be completely removed from the<br>
channel table.  In any case, there seems to be a housekeeping task<br>
that runs regularly (daily?) that will completely remove old channels<br>
when there are no more matching recordings.<br>
<br>
The channel scan process now uses the same delete channel procedure as<br>
manual deletions - it will mark channels as deleted if they disappear<br>
from their source.<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</blockquote></div>