<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 25, 2022 at 1:58 AM Mike Perkins <<a href="mailto:mikep@randomtraveller.org.uk">mikep@randomtraveller.org.uk</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 24/04/2022 23:00, DryHeat122 wrote:<br>
> I went through the whole process. I re-ran mythfilldatabase, it seemed to<br>
> be getting new data.  I restarted the backend. I then started the frontend<br>
> and looked at the program guide. It's exactly the same as it was, including<br>
> the 10XX channel numbers, which should not be present in the db anymore.<br>
> Where is it even getting them?  Also I don't see anywhere in setup where I<br>
> specify the DB or .xmltv file a source is supposed to use.<br>
> <br>
When you create a data source, the name you give it will become the name of the xmltv file which is <br>
used. ie <sourcename> in setup becomes /home/mythtv/.mythtv/<sourcename>.xmltv. You connect that <br>
source to the tuner(s) which are able to receive those channels.<br>
<br>
Thus, for each source you have, there will be a separate .xmltv file with info related to the <br>
channels that source can receive. Which makes sense, each different source will have different <br>
tuning characteristics, frequencies and channel numbering - and, possibly, different methods of <br>
obtaining schedule information.<br>
<br>
<sourcename> is *not* provided by mythtv. You have to define them when you create a new source. If <br>
you see names in wiki entries, etc, they are names chosen by the writers of that information and <br>
refer to their own systems, not yours.<br>
<br>
Mythfilldatabase (mfdb) will run once, reading every .xmltv file in the .mythtv directory in turn. <br>
Note that the backend /should/ be running while the database is being updated as mfdb will call the <br>
backend as it finishes. If the backend is not running, there will usually be a warning message at <br>
the end of the mfdb log file.<br>
<br>
Note that in recent releases, the 'old' channel information is not deleted when you create a new <br>
source, as this may destroy links to old recorded programs which still exist in the system. However, <br>
those channels should not appear in the channel listings any more.<br><br></blockquote><div>Here is what I've got in relevant directories:</div><div><font face="monospace"> /home/mythtv/.xmltv</font></div><font face="monospace">     -rw-r--r-- 1 mythtv mythtv  2273280 Apr 24 08:57 SchedulesDirect.DB<br>     -rw-r--r-- 1 root   root        169 Apr 22 17:38 SchedulesDirect-hdpvr.DB<br>     -rw-r--r-- 1 mythtv mythtv 16003072 Apr 23 22:17 SchedulesDirect-sd-ota.DB<br>     -rw-r--r-- 1 mythtv mythtv    98304 Jul 27  2020 SchedulesDirect-sd-otr.DB<br><br>/home/mythtv/.mythtv<br>     drwxr-xr-x 2 mythtv mythtv  4096 Jul 26  2020 3rdParty<br>     drwxr-xr-x 6 mythtv mythtv  4096 Jul 27  2020 cache<br>     drwxr-xr-x 2 mythtv mythtv 24576 Apr 19 18:58 channels<br>     lrwxrwxrwx 1 root   root      22 Jul 26  2020 config.xml -> /etc/mythtv/config.xml<br>     -rw-rw-r-- 1 mythtv mythtv   148 Jul 27  2020 hdpvr.xmltv<br>     -rw-rw-r-- 1 mythtv mythtv    48 Apr 23 17:22 hdpvr.xmltv.TMP<br>     -rw-rw-r-- 1 mythtv mythtv   163 Apr 23 17:28 SchedulesDirect.xmltv<br>     -rw-rw-r-- 1 mythtv mythtv   170 Jul 27  2020 sd-ota.xmltv<br>     -rw-rw-r-- 1 mythtv mythtv    48 Apr 23 17:22 sd-ota.xmltv.TMP<br>     drwxr-xr-x 2 mythtv mythtv  4096 Jul 26  2020 themes<br>     drwxr-xr-x 4 mythtv mythtv  4096 Jul 26  2020 tmp</font></div><div class="gmail_quote"><br></div><div class="gmail_quote">The ones dated 2020 are from the last time I set this up.  It looks like, per your post, the .xmltv files I generated over the weekend did not overwrite the old ones, but were assigned to .TMP extensions.</div><div class="gmail_quote"><br></div><div class="gmail_quote">Do I need all those DB files under ../.xmltv? What else do I need to do to straighten this out, hopefully without wiping out existing recordings?  </div><div class="gmail_quote"><br></div></div>