[mythtv-users] Zombie channel keeps coming back

Karl Newman newmank1 at asme.org
Fri Feb 8 17:35:10 UTC 2013


On Fri, Feb 8, 2013 at 7:57 AM, Michael T. Dean <mtdean at thirdcontact.com>wrote:

> On 02/05/2013 05:49 PM, Karl Newman wrote:
>
>> Some time ago my local Comcast changed their lineup from BBCA to BBCAP
>> (Pacific time zone feed) while keeping the same channel. I only noticed it
>> when recordings were wrong/offset by 3 hours. So, I went into
>> SchedulesDirect and saw that BBCAP was deselected so I enabled it and and
>> saved the lineup (and confirmed the change stuck). I use 2 SD lineups and
>> ensured the change was made for both. The BBCA channel does not appear in
>> any of my SD lineups, even as deactivated--it shows only the BBCAP
>> channel.
>> I then used MythWeb to delete the old BBCA channel and confirmed it was
>> actually gone. However, the next time mythfilldatabase ran, it re-added
>> the
>> BBCA channel. I can't figure out why it would have done that if it was not
>> even shown in SchedulesDirect. Here's the relevant section from the log
>> file:
>>
>> 2013-02-05 03:07:16.350234 I [12523/12523] CoreContext filldata.cpp:600
>> (Run) - Updating source #1 (Comcast STB) with grabber schedulesdirect1
>> 2013-02-05 03:07:16.350835 I [12523/12523] CoreContext filldata.cpp:615
>> (Run) - Found 254 channels for source 1 which use grabber
>> 2013-02-05 03:07:16.350879 I [12523/12523] CoreContext filldata.cpp:198
>> (GrabDDData) - This DataDirect listings source is shared by 2 MythTV
>> lineups
>> 2013-02-05 03:07:16.350884 N [12523/12523] CoreContext filldata.cpp:207
>> (GrabDDData) - We should keep data around after this one
>> 2013-02-05 03:07:16.350929 I [12523/12523] CoreContext mythdbcon.cpp:422
>> (getStaticCon) - New static DB connectionDataDirectCon
>> 2013-02-05 03:07:16.351945 I [12523/12523] CoreContext filldata.cpp:231
>> (GrabDDData) - Retrieving datadirect data.
>> 2013-02-05 03:07:16.351950 I [12523/12523] CoreContext filldata.cpp:234
>> (GrabDDData) - Grabbing ALL available data.
>> 2013-02-05 03:07:16.352006 I [12523/12523] CoreContext datadirect.cpp:1158
>> (GrabData) - DataDirect: Grabbing listing data
>> 2013-02-05 03:07:16.352130 I [12523/12523] CoreContext datadirect.cpp:1021
>> (DDPost) - Downloading DataDirect feed
>> 2013-02-05 03:09:56.232812 I [12523/12523] CoreContext datadirect.cpp:1033
>> (DDPost) - Downloaded 4688537 bytes
>> 2013-02-05 03:09:56.232824 I [12523/12523] CoreContext datadirect.cpp:1035
>> (DDPost) - Uncompressing DataDirect feed
>> 2013-02-05 03:09:56.444984 I [12523/12523] CoreContext datadirect.cpp:1040
>> (DDPost) - Uncompressed to 57376175 bytes
>> 2013-02-05 03:09:56.670957 I [12523/12523] CoreContext datadirect.cpp:468
>> (characters) - DataDirect: Your subscription expires on Wed 19 Jun 10:59
>> PM
>> 2013-02-05 03:09:56.893480 I [12523/12523] CoreContext datadirect.cpp:2324
>> (set_lineup_type) - DataDirect: sourceid 1 has lineup type: CableDigital
>> 2013-02-05 03:09:56.912755 I [12523/12523] CoreContext datadirect.cpp:2324
>> (set_lineup_type) - DataDirect: sourceid 2 has lineup type: CableDigital
>> 2013-02-05 03:12:19.503506 I [12523/12523] CoreContext filldata.cpp:272
>> (GrabDDData) - Grab complete.  Actual data from Mon Feb 4 00:00:00 2013 to
>> Wed Feb 20 23:59:59 2013 (UTC)
>> 2013-02-05 03:12:19.503951 I [12523/12523] CoreContext filldata.cpp:276
>> (GrabDDData) - Main temp tables populated.
>> 2013-02-05 03:12:19.503954 I [12523/12523] CoreContext filldata.cpp:279
>> (GrabDDData) - Updating MythTV channels.
>> 2013-02-05 03:12:19.814200 I [12523/12523] CoreContext datadirect.cpp:2269
>> (update_channel_basic) - DataDirect: Adding channel 162 'BBC America'
>> (BBCA).
>> 2013-02-05 03:12:19.852101 I [12523/12523] CoreContext icondata.cpp:164
>> (UpdateSourceIcons) - IconData: Updating icons for sourceid: 1
>> 2013-02-05 03:12:19.946945 I [12523/12523] CoreContext filldata.cpp:281
>> (GrabDDData) - Channels updated.
>> 2013-02-05 03:12:24.281900 I [12523/12523] CoreContext filldata.cpp:309
>> (GrabDDData) - Clearing data for source.
>> 2013-02-05 03:12:24.281948 I [12523/12523] CoreContext filldata.cpp:315
>> (GrabDDData) - Clearing from Sun Feb 3 16:00:00 2013 to Wed Feb 20
>> 15:59:59
>> 2013 (localtime)
>> 2013-02-05 03:14:10.267566 I [12523/12523] CoreContext filldata.cpp:317
>> (GrabDDData) - Data for source cleared.
>> 2013-02-05 03:14:10.267575 I [12523/12523] CoreContext filldata.cpp:319
>> (GrabDDData) - Updating programs.
>> 2013-02-05 03:15:00.093776 I [12523/12523] CoreContext filldata.cpp:321
>> (GrabDDData) - Program table update complete.
>>
>> Should I report this as a problem to SchedulesDirect, or do I need to
>> re-download the channel list in mythtv-setup or ???
>>
>> Note: using 0.25.3 on Gentoo.
>>
>
>

Thanks for the response. See my answers inline below.


>  Almost definitely a problem in your configuration.  You need to a) check
> carefully that your lineup is correct at Schedules Direct


Yes, I did that (even logged out and logged back in to verify the changes
"stuck").


> (and, should probably do a "re-add" lineup while there just to make sure),


Didn't do that yet.


> b) go into mythtv-setup and figure out what channels you have using the
> Channel Editor.  If you only have BBCA, then edit it as below.  If you have
> both BBCA and BBCAP, then delete BBCA and verify the xmltv ID on BBCAP.  If
> you only have BBCAP, verify the xmltv ID on it.


I had both BBCA and BBCAP, despite deleting BBCA several times (it keeps
coming back with mythfilldatabase).


>  If all else fails, I highly recommend you backup your database, then use
> mythtv-setup to "Delete all video sources" and then re-create Video
> Sources, re-connect inputs, re-create channels (scan for scannable--such as
> digital--or Fetch channels from listings provider for analog and
> non-scannable digital (firewire or CableCARD)).
>
>
Well, all else failed so I ran through that last night, did the fetch
lineup from listings source, etc. It made no difference, the BBCA channel
just kept coming back with mythfilldatabase. It didn't matter if I deleted
the channel with mythtv-setup or via mythweb.


> Note, also, that mythfilldatabase is not meant to change your channel
> lineups.  It will not properly add channels to scannable digital sources.
>
> This is not a scannable source--I'm using an analog PVR-500 to capture
from cable boxes.


> So, when your (or anyone else's) cable company changes your channels, the
> best approach is to:  a) go to Schedules Direct website and fix up all of
> your lineups, b go into mythtv-setup's Channel Editor and find the changed
> channel, c) hit SELECT (Enter/Space) to edit it, d) change the channel
> number and/or callsign to whatever you like, e) on the 2nd(?) screen of
> channel setting, change the xmltv ID for the channel to the new channel's
> info, and f) run mythfilldatabase --dd-grab-all.
>
> Deleting a channel and expecting the new one to magically appear is a
> recipe for confusion, problems, and disappointment.  :)  You'll almost
> definitely have to get the new channel (now that you deleted a
> perfectly-good channel that just had the wrong listings and/or channel
> number/callsign) the same way you got all the others--through the complex
> scanning process or a proper "Fetch channels..." or ...
>
> Mike
>

If mythfilldatabase --dd-grab-all is not intended to add channels, then why
does it do it? The root of the problem is that SchedulesDirect appears to
be telling mythfilldatabase that the BBCA channel should be in my channel
list (with the same channel number as BBCAP), but it doesn't show up
anywhere in my lineups on the SD website so that I can deselect it. For now
I just marked the BBCA channel as invisible so it won't try to schedule
things on it, but I might follow up by doing a re-add on the SD website and
see if a delete "sticks" after that.

Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130208/63a1fab5/attachment.html>


More information about the mythtv-users mailing list