Opened 10 years ago

Closed 8 years ago

Last modified 7 years ago

#12321 closed Bug Report - General (Invalid)

mythfilldatabase adds channels when only-update-guide requested

Reported by: pgbennett@… Owned by: Peter Bennett
Priority: minor Milestone: unknown
Component: MythTV - Mythfilldatabase Version: 0.27.4
Severity: medium Keywords:
Cc: Ticket locked: no

Description

When running with data direct and requesting not to add channels, it still adds channels This causes me a problem because there are a few channels that do not work on source 3 but do work on source 2. I have tried marking the bad channels as not visible, however live tv does not honor the visible setting. mythfilldatabase --dd-grab-all --only-update-guide Log messages include the following:

2014-11-14 05:10:04.525580 C mythfilldatabase version: fixes/0.27 [v0.27.4-4-gb305eb5] www.mythtv.org 2014-11-14 05:10:04.525595 C Qt version: compile: 4.8.1, runtime: 4.8.1 2014-11-14 05:10:04.525599 N Enabled verbose msgs: general 2014-11-14 05:10:04.525609 N Setting Log Level to LOG_INFO 2014-11-14 05:10:04.536236 N Only updating guide data, channel and icon updates will be ignored 2014-11-14 05:10:04.536359 I Added logging to the console .... 2014-11-14 05:11:46.448152 I Updating MythTV channels. 2014-11-14 05:11:46.464247 I Channels updated. .... 2014-11-14 05:12:57.319566 I Updating MythTV channels. 2014-11-14 05:12:57.363339 I Cardutil: TODO Ceton Is Cablecard Present? 2014-11-14 05:12:57.363700 I Cardutil: TODO Ceton Is Cablecard Present? 2014-11-14 05:12:57.363963 I Cardutil: TODO Ceton Is Cablecard Present? 2014-11-14 05:12:57.364315 I Cardutil: TODO Ceton Is Cablecard Present? 2014-11-14 05:12:57.364559 I Cardutil: TODO Ceton Is Cablecard Present? 2014-11-14 05:12:57.364833 I Cardutil: TODO Ceton Is Cablecard Present? 2014-11-14 05:12:57.404922 I Cardutil: TODO Ceton Is Cablecard Present? 2014-11-14 05:12:57.405152 I Cardutil: TODO Ceton Is Cablecard Present? 2014-11-14 05:12:57.405372 I Cardutil: TODO Ceton Is Cablecard Present? 2014-11-14 05:12:57.405528 I Cardutil: TODO Ceton Is Cablecard Present? 2014-11-14 05:12:57.405677 I Cardutil: TODO Ceton Is Cablecard Present? 2014-11-14 05:12:57.405827 I Cardutil: TODO Ceton Is Cablecard Present? 2014-11-14 05:12:57.406669 I DataDirect?: Adding channel 779 'Comcast SportsNet? New England HD' (CSNNEHD). 2014-11-14 05:12:57.410295 I DataDirect?: Adding channel 774 'NBCSN HD' (NBCSNHD). 2014-11-14 05:12:57.411570 I DataDirect?: Adding channel 837 'Oxygen HD' (OXYGNHD). 2014-11-14 05:12:57.412960 I DataDirect?: Adding channel 790 'Fox News Channel HD' (FNCHD). 2014-11-14 05:12:57.414110 I DataDirect?: Adding channel 840 'FXX HD' (FXXHD). 2014-11-14 05:12:57.415200 I DataDirect?: Adding channel 793 'WE tv HD' (WEHD). 2014-11-14 05:12:57.416275 I DataDirect?: Adding channel 792 'CNBC HD' (CNBCHD). 2014-11-14 05:12:57.417358 I DataDirect?: Adding channel 786 'AMC HD' (AMCHD). 2014-11-14 05:12:57.418441 I DataDirect?: Adding channel 781 'Syfy HD' (SYFYHD). 2014-11-14 05:12:57.419522 I DataDirect?: Adding channel 789 'Bravo HD' (BRAVOHD). 2014-11-14 05:12:57.420696 I DataDirect?: Adding channel 841 'Fox Sports 1 HD' (FS1HD). 2014-11-14 05:12:57.421812 I DataDirect?: Adding channel 775 'PALLADIA' (PLDHD). 2014-11-14 05:12:57.422913 I DataDirect?: Adding channel 788 'FX HD' (FXHD). 2014-11-14 05:12:57.423283 I Channels updated.

There seem to be two places in mythfilldatabase where channels are added, for data-direct and for xmltv. It seems the only-update-guide setting is only handled for the xmltv case.

Attachments (1)

mythtv_version.txt (868 bytes) - added by pgbennett@… 10 years ago.
Mythtv version

Download all attachments as: .zip

Change History (7)

Changed 10 years ago by pgbennett@…

Attachment: mythtv_version.txt added

Mythtv version

comment:1 Changed 10 years ago by sphery

--only-update-guide has no effect whatsoever when used with Schedules Direct data (which your use of --dd-grab-all argument implies). It is meant to be used only with XMLTV data, as is well described by the mythfilldatabase --help text associated with the deprecated --update argument:

--update
Run non-destructive updates on the database for
users in xmltv zones that do not provide channel
data. Stops the addition of new channels and the
changing of channel icons.
Use --only-update-guide instead.

The XMLTV-specific relationship is not described in the separate help text for --only-update-guide:

--only-update-guide
Only update the guide data, do not alter channels or icons.

The proper argument for Schedules Direct users is --remove-new-channels:

--remove-new-channels
When using DataDirect, ask mythfilldatabase to
mark any new channels as disabled on the remote
lineup. Channels can be manually enabled on the
website at a later time, and incorporated into
MythTV by running mythfilldatabase without this
option. New digital channels cannot be directly
imported and thus are disabled automatically.

The help text for --only-update-guide should be updated to say that it will only affect video sources that use XMLTV-based guide data.

comment:2 Changed 10 years ago by Peter Bennett <pgbennett@…>

The problem with this is - I have two sources with the same lineup. Some channels work with the set top box but not with the Ceton. I do not want them deleted from my lineup. I suppose I could create a separate lineup for the Ceton with those channels unselected but that seems overkill.

comment:3 Changed 10 years ago by Peter Bennett <pgbennett@…>

I found that using the option --remove-new-channels has the desired effect when using schedules direct. Channels are not added to my mythtv and channels are also not deleted from schedules direct. So at the least, the documentation should be updated to reflect this, although the preferable solution would be to fix it so the only-update-guide option works the same for both SD and XMLTV and do away with remove-new-channels. One other minor thing is that the following appears in the log multiple times when using a Ceton: 2014-11-29 12:17:06.471503 I Cardutil: TODO Ceton Is Cablecard Present?

comment:4 Changed 8 years ago by Peter Bennett

Owner: changed from stuartm to Peter Bennett
Status: newaccepted

comment:5 Changed 8 years ago by Peter Bennett

Resolution: Invalid
Status: acceptedclosed

I updated and expanded the documentation in the wiki.

https://www.mythtv.org/wiki/Mythfilldatabase#Command_line_options

comment:6 Changed 7 years ago by Peter Bennett

Owner: changed from Peter Bennett to Peter Bennett
Note: See TracTickets for help on using tickets.