<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">When I switched from Data Direct to XMLTV I had an issue where mythbackend kept running mythfilldatabase with the "--dd-grab-all" option. It took me a little while to figure out that option was being used because it was configured in the datatbase as the value for MythFillDatabaseArgs. Once I cleared that option, mythfilldatabase started running correctly for me when spawned by mythbackend.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">If you always want "--only-update-guide" to be passed to mythfilldatatbase when run by mythbackend, you could add that value to MythFillDatabaseAgs in the database. This could allow you to let mythbackend manage the schedule and not have to create your own cron to run it.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">I am not a myth database expert by any stretch, and I have not found a lot on that particular setting. But you can see what value you have by logging into your database and running:</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">select value,data from mythconverg.settings where value = 'MythFillDatabaseArgs';</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">If you have any other options in there currently, you'll want to append "--only-update-guide". If it's blank, you can just set it:</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">update settings set data = '--only-update-guide' where value = 'MythFillDatabaseArgs';</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Hope that helps,</div><div class="gmail_default" style="font-family:verdana,sans-serif">Erik<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 15, 2020 at 11:29 PM 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 Tue, 16 Jun 2020 15:13:52 +1200, you wrote:<br>
<br>
>I've got two IPTV recorders defined that utilise the same xmltv feed.<br>
><br>
>IPTVNZ is a FreeBox device<br>
> - 12 channels defined via iptv-nz.m3u8<br>
> - Video Source IPTV_NZ  -> NZ xmltv epg feed with 30 channels<br>
><br>
>VLCNZ is an EXTERNAL device with 16 channels defined via<br>
> - 16 channels defined via vlc-nz-channels.conf<br>
> - Video Source VLC_NZ  -> NZ xmltv epg feed with 30 channels<br>
><br>
>The grabber uses the same EPG data but I have two different sources to<br>
>avoid confusion.<br>
><br>
>running mythfilldatabase the IPTVNZ channel listing stays the same and any<br>
>non-matching channels in the EPG file are flagged and ignored.<br>
><br>
>2020-06-16 14:57:05.029634 I  XMLTV config file is:<br>
>/home/mythfe/.mythtv/IPTV NZ.xmltv<br>
>2020-06-16 14:57:06.035537 N  Unknown xmltv channel identifier: tv.11 -<br>
>Skipping channel.<br>
>2020-06-16 14:57:06.035737 N  Unknown xmltv channel identifier: tv.12 -<br>
>Skipping channel.<br>
>2020-06-16 14:57:06.717274 N  Unknown xmltv channel identifier: tv.21 -<br>
>Skipping channel.<br>
><br>
>Whilst with the EXTERNAL Feed the additional channels, which I don't want<br>
>to load into my MythTV environment, get added against the "VLC NZ"<br>
>sourceid.<br>
><br>
>2020-06-16 14:57:14.592501 I  XMLTV config file is:<br>
>/home/mythfe/.mythtv/VLC NZ.xmltv<br>
>2020-06-16 14:57:20.231268 I  Updated programs: 53 Unchanged programs: 5499<br>
>2020-06-16 14:57:20.262160 N  Data fetching complete.<br>
><br>
><br>
>These are both using the same EPG data file <a href="https://i.mjh.nz/nz/epg.xml.gz" rel="noreferrer" target="_blank">https://i.mjh.nz/nz/epg.xml.gz</a><br>
>so I don't understand why one tuner/source works as I expect and the other<br>
>tuner doesn't.<br>
><br>
>I've taken a look at the code under<br>
> - libs/libmythtv/programdata.cpp<br>
>and in theory it should work as I expect. At present the only work around<br>
>I've got is to tag the unwanted channels as NOT visible.<br>
<br>
If you add "--only-update-guide" to the mythfilldatabase command line,<br>
that will prevent it from doing any channel updates or adds.  If you<br>
are running mythfilldatabase internally from mythbackend, you may need<br>
to turn that off and run it externally from systemd or a cron job in<br>
order to add that option.<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>