[mythtv-users] Using XMLTV source with mythexternrecorder keeps adding additional channels

Erik Merkle mythtv at emerkle.net
Tue Jun 16 13:32:32 UTC 2020


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.

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.

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:

select value,data from mythconverg.settings where value =
'MythFillDatabaseArgs';

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:

update settings set data = '--only-update-guide' where value =
'MythFillDatabaseArgs';

Hope that helps,
Erik

On Mon, Jun 15, 2020 at 11:29 PM Stephen Worthington <
stephen_agent at jsw.gen.nz> wrote:

> On Tue, 16 Jun 2020 15:13:52 +1200, you wrote:
>
> >I've got two IPTV recorders defined that utilise the same xmltv feed.
> >
> >IPTVNZ is a FreeBox device
> > - 12 channels defined via iptv-nz.m3u8
> > - Video Source IPTV_NZ  -> NZ xmltv epg feed with 30 channels
> >
> >VLCNZ is an EXTERNAL device with 16 channels defined via
> > - 16 channels defined via vlc-nz-channels.conf
> > - Video Source VLC_NZ  -> NZ xmltv epg feed with 30 channels
> >
> >The grabber uses the same EPG data but I have two different sources to
> >avoid confusion.
> >
> >running mythfilldatabase the IPTVNZ channel listing stays the same and any
> >non-matching channels in the EPG file are flagged and ignored.
> >
> >2020-06-16 14:57:05.029634 I  XMLTV config file is:
> >/home/mythfe/.mythtv/IPTV NZ.xmltv
> >2020-06-16 14:57:06.035537 N  Unknown xmltv channel identifier: tv.11 -
> >Skipping channel.
> >2020-06-16 14:57:06.035737 N  Unknown xmltv channel identifier: tv.12 -
> >Skipping channel.
> >2020-06-16 14:57:06.717274 N  Unknown xmltv channel identifier: tv.21 -
> >Skipping channel.
> >
> >Whilst with the EXTERNAL Feed the additional channels, which I don't want
> >to load into my MythTV environment, get added against the "VLC NZ"
> >sourceid.
> >
> >2020-06-16 14:57:14.592501 I  XMLTV config file is:
> >/home/mythfe/.mythtv/VLC NZ.xmltv
> >2020-06-16 14:57:20.231268 I  Updated programs: 53 Unchanged programs:
> 5499
> >2020-06-16 14:57:20.262160 N  Data fetching complete.
> >
> >
> >These are both using the same EPG data file
> https://i.mjh.nz/nz/epg.xml.gz
> >so I don't understand why one tuner/source works as I expect and the other
> >tuner doesn't.
> >
> >I've taken a look at the code under
> > - libs/libmythtv/programdata.cpp
> >and in theory it should work as I expect. At present the only work around
> >I've got is to tag the unwanted channels as NOT visible.
>
> If you add "--only-update-guide" to the mythfilldatabase command line,
> that will prevent it from doing any channel updates or adds.  If you
> are running mythfilldatabase internally from mythbackend, you may need
> to turn that off and run it externally from systemd or a cron job in
> order to add that option.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20200616/fc22c66f/attachment.htm>


More information about the mythtv-users mailing list