[mythtv-users] Ticket #12321: mythfilldatabase adds channels when only-update-guide requested

Peter Bennett (cats22) cats22 at comcast.net
Sat Nov 29 17:32:20 UTC 2014


On 11/29/2014 08:30 AM, Michael T. Dean wrote:
> On 11/27/2014 10:53 AM, Peter Bennett (cats22) wrote:
>> On 11/26/2014 09:42 AM, Michael T. Dean wrote:
>>> On 11/25/2014 01:40 PM, MythTV wrote:
>>>> #12321: mythfilldatabase adds channels when only-update-guide
>>>> requested
>>>> ---------------------------------------+-------------------------
>>>>    Reporter:  pgbennett@…                |          Owner:  stuartm
>>>>        Type:  Bug Report - General       |         Status:  new
>>>>    Priority:  minor                      |      Milestone:  unknown
>>>> Component:  MythTV - Mythfilldatabase  |        Version:  0.27.4
>>>>    Severity:  medium                     |     Resolution:
>>>>    Keywords:                             |  Ticket locked:  0
>>>> ---------------------------------------+-------------------------
>>>>
>>>> Comment (by Peter Bennett):
>>>>
>>>>    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.
>>>>
>>> Peter, TTBOMK, mythfilldatabase's --remove-new-channels no longer
>>> actually removes the new channels from the lineup (since the end of
>>> DataDirect and the move to Schedules Direct), and now simply ignores
>>> new channels.  Perhaps someone can confirm.
>>>
>>> Otherwise, you'll have to allow mythfilldatabase to add the new
>>> channels to the Ceton's Video Source, then mark them as not visible in
>>> the channel editor.
>> Marking channels "Not Visible" prevents recording but does not prevent
>> them being selected for Live TV. Unfortunately when you select one of
>> the CGMS "record once" channels in live TV causes the front end to hang
>> for a couple of minutes. The reason for this seems to be that you
>> actually get a fraction of a second of signal from the channel before it
>> shuts off. So you are seeing a stationary picture and pressing the stop
>> or menu button and getting no response for a couple of minutes. This
>> situation is made worse by the fact that after eventually getting out of
>> it, the next time you go to live TV it automatically defaults to that
>> same channel and gets stuck again.
>>
>> My current work around is a database script that deletes those channels
>> from the ceton source after mythfilldatabase and another script that
>> runs before front end startup to set the default channel to a known good
>> channel.
>
> If no one who uses --remove-new-channels will confirm, just run a test
> once to verify it works.  Get a good hard copy of the channels that
> should be selected in your lineup and then run mfdb with
> --remove-new-channels and verify that it doesn't add new channels to
> the Ceton's source.
>
> Mike

Thanks Mike, that works. I tested this:
mythfilldatabase --dd-grab-all --remove-new-channels
The bad channels were not added to the Ceton source, nor were they
deleted from Schedules Direct.
The log actually says channels are being updated but does not add them
or list them individually, it just says "Cardutil: TODO Ceton Is
Cablecard Present?" a few times (see below):

2014-11-29 12:17:06.461595 I  Updating MythTV channels.
2014-11-29 12:17:06.471178 I  Cardutil: TODO Ceton Is Cablecard Present?
2014-11-29 12:17:06.471503 I  Cardutil: TODO Ceton Is Cablecard Present?
2014-11-29 12:17:06.471766 I  Cardutil: TODO Ceton Is Cablecard Present?
2014-11-29 12:17:06.471897 I  Cardutil: TODO Ceton Is Cablecard Present?
2014-11-29 12:17:06.472028 I  Cardutil: TODO Ceton Is Cablecard Present?
2014-11-29 12:17:06.472158 I  Cardutil: TODO Ceton Is Cablecard Present?
2014-11-29 12:17:06.475786 I  Cardutil: TODO Ceton Is Cablecard Present?
2014-11-29 12:17:06.475915 I  Cardutil: TODO Ceton Is Cablecard Present?
2014-11-29 12:17:06.476041 I  Cardutil: TODO Ceton Is Cablecard Present?
2014-11-29 12:17:06.476165 I  Cardutil: TODO Ceton Is Cablecard Present?
2014-11-29 12:17:06.476289 I  Cardutil: TODO Ceton Is Cablecard Present?
2014-11-29 12:17:06.476411 I  Cardutil: TODO Ceton Is Cablecard Present?
2014-11-29 12:17:06.481421 I  Channels updated.

So this is the solution to my problem - but the documentation, help
text  and log are still very confusing.

I will remove my database deletes, use --remove-new-channels and watch
to see if all is well.

Regards
Peter


More information about the mythtv-users mailing list