Fetch channels from listings source not working - SOLVED

Forum rules
Get Help using the Schedules Direct service. NOTE: application issues are probably better resolved via the application's support methods. If you post here, at least include your application name!

Fetch channels from listings source not working - SOLVED

Postby Iczer » Sat Apr 13, 2013 10:45 pm

Hello all. Thanks very much for your efforts in maintaining Schedules Direct - it was amazing how quickly you set it up back when Zap2It announced they were pulling their free channel listings years ago, and I've enjoyed the service ever since.

I'm finally upgrading my old KnoppMyth box to new hardware and have put LinHES (new name of KnoppMyth) version R8 on it. Everything's been smooth up to the point where I try to "Fetch channels from listings source" for my three tuners (HDHomeRun Prime). Unfortunately, nothing happens. I can successfully retrieve my lineup from Schedules Direct (WOW Chicago Suburbs - Cable (60193) IL58819), and I've followed the steps both here:
http://www.mythtv.org/wiki/Configuring_MythTV_for_the_HDHomeRun_Prime
(mythTV 0.25 - what LinHES R8 uses)

and here:
http://www.mythtv.org/wiki?title=Configuring_MythTV_for_the_HDHomeRun_Prime&diff=54978&oldid=53554#Illustrated_Guide_.28.24.29
(mythTV 0.24-fixes - it tells you to create a Demo test recorder capture card and use that with the video source temporarily to get channel listings)

Here's the output when I run mythfilldatabase and only update channels:
[root@vidiot ~]# mythfilldatabase --sourceid 1 --only-update-channels
2013-04-13 23:50:01.575431 C mythfilldatabase version: fixes/0.25 [v0.25.3-32-g79a24c9] http://www.mythtv.org
2013-04-13 23:50:01.575446 C Qt version: compile: 4.8.2, runtime: 4.8.2
2013-04-13 23:50:01.575449 N Enabled verbose msgs: general
2013-04-13 23:50:01.575464 N Setting Log Level to LOG_INFO
2013-04-13 23:50:01.575498 I Added logging to the console
2013-04-13 23:50:01.575502 I Added database logging to table logging
2013-04-13 23:50:01.575572 N Setting up SIGHUP handler
2013-04-13 23:50:01.575637 N Using runtime prefix = /usr
2013-04-13 23:50:01.575645 N Using configuration directory = /root/.mythtv
2013-04-13 23:50:01.575742 I Assumed character encoding: C
2013-04-13 23:50:01.575747 W This application expects to be running a locale that specifies a UTF-8 codeset, and many features may behave improperly with your current language settings. Please set the LC_ALL or LC_CTYPE, and LANG variable(s) in the environment in which this program is executed to include a UTF-8 codeset (such as 'en_US.UTF-8').
2013-04-13 23:50:01.576000 E Unable to read configuration file mysql.txt
2013-04-13 23:50:01.576129 N Empty LocalHostName.
2013-04-13 23:50:01.576135 I Using localhost value of vidiot.local
2013-04-13 23:50:01.576286 I Testing network connectivity to '192.168.1.139'
2013-04-13 23:50:01.581710 I Starting IO manager (write)
2013-04-13 23:50:01.581811 I Starting IO manager (read)
2013-04-13 23:50:01.583080 I Starting process signal handler
2013-04-13 23:50:01.583169 I Starting process manager
2013-04-13 23:50:01.725567 N Setting QT default locale to en_US
2013-04-13 23:50:01.725743 I Current locale en_US
2013-04-13 23:50:01.725826 N Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
2013-04-13 23:50:01.745339 I Loading en_us translation for module mythfrontend
2013-04-13 23:50:01.749029 I Current MythTV Schema Version (DBSchemaVer): 1299
2013-04-13 23:50:01.749123 I Running for sourceid 1 ONLY because --sourceid was given on command-line
2013-04-13 23:50:01.750717 I Updating source #1 (WOW_QAM) with grabber schedulesdirect1
2013-04-13 23:50:01.751583 I No channels are configured to use grabber.
2013-04-13 23:50:01.751689 I DataDirect: Grabbing channel data
2013-04-13 23:50:01.751738 I Downloading DataDirect feed
content-type missing in HTTP POST, defaulting to application/octet-stream
content-type missing in HTTP POST, defaulting to application/octet-stream
2013-04-13 23:50:13.667936 I Downloaded 57839 bytes
2013-04-13 23:50:13.667955 I Uncompressing DataDirect feed
2013-04-13 23:50:13.673923 I Uncompressed to 408163 bytes
2013-04-13 23:50:13.679123 I New static DB connectionDataDirectCon
2013-04-13 23:50:13.702873 I DataDirect: Your subscription expires on Tue Apr 1 2014 12:13 PM
2013-04-13 23:50:14.352620 I DataDirect: sourceid 1 has lineup type: Cable
2013-04-13 23:50:14.849704 I DataDirect: sourceid 2 has lineup type: CableDigital
2013-04-13 23:50:18.997413 N SourceUtil::IsProperlyConnected(): Source ID 1 appears to be connected
to 3 scanable inputs, and 1 non-scanable input. This may be a problem.
2013-04-13 23:50:18.998677 N Data fetching complete.
2013-04-13 23:50:19.106485 I DataDirect: Deleting temporary files
[root@vidiot ~]#

Only when I have the dummy capture card set to use the input source do I get a successful download. However, no channels show up in the channel editor If it's just the HDHomeRun Prime tuners set to the input source, I get the message "DataDirect: Failed to get data: Download error" when running the same mythfilldatabase command above.

I chatted with Cecil, the creator of KnoppMyth/LinHES, and he said that he ran into the same issue himself, but it fixed itself eventually. I'm okay with waiting, but at the same time am anxious to get my new box up and running :-) Any suggestions, ways I could download the channels in a file, or way way I could perhaps check the data that's being downloaded to see if it's correct?

Thanks very much!
Last edited by Iczer on Wed Apr 17, 2013 11:47 am, edited 1 time in total.
Iczer
 
Posts: 3
Joined: Sat Apr 13, 2013 8:47 pm

Re: Fetch channels from listings source not working

Postby wstenson » Sun Apr 14, 2013 1:06 pm

I am also seeing this problem for a couple of weeks now. Manual fetch of listings seems to work. I normally run mythfilldatabase from cron.daily at the standard 3:10 localtime (which is GMT-5 for me). I am posting a snippet from the cron output. I am running media-tv/mythtv-0.25.3_p20130101 on Gentoo.

2013-04-14 03:10:29.422261 I Checking day @ offset 9, date: Tue Apr 23 2013
2013-04-14 03:10:29.426767 I Data refresh needed because only 0 out of 20 channels have at least one program listed for day @ offset 9 from 8PM - midnight. Previous day had 18 channels with data in that time period.
2013-04-14 03:10:29.426776 N Refreshing data for Tue Apr 23 2013
2013-04-14 03:10:29.427509 I Retrieving datadirect data.
2013-04-14 03:10:29.427542 I Grabbing data for Sun Apr 14 2013 offset 9
2013-04-14 03:10:29.427586 I From Tue Apr 23 05:00:00 2013 to Wed Apr 24 05:00:00 2013 (UTC)
2013-04-14 03:10:29.427601 I DataDirect: Grabbing listing data
2013-04-14 03:10:29.427658 I Downloading DataDirect feed
content-type missing in HTTP POST, defaulting to application/x-www-form-urlencoded. Use QNetworkRequest::setHeader() to fix this problem.
2013-04-14 03:10:41.080352 E DataDirect: Failed to get data: Download error
2013-04-14 03:10:41.080368 E Encountered error in grabbing data.
2013-04-14 03:10:41.080497 I Checking day @ offset 10, date: Wed Apr 24 2013
2013-04-14 03:10:41.081893 I Data refresh needed because no data exists for day @ offset 10 from 8PM - midnight.
2013-04-14 03:10:41.081901 N Refreshing data for Wed Apr 24 2013
2013-04-14 03:10:41.082556 I Retrieving datadirect data.
2013-04-14 03:10:41.082588 I Grabbing data for Sun Apr 14 2013 offset 10
2013-04-14 03:10:41.082632 I From Wed Apr 24 05:00:00 2013 to Thu Apr 25 05:00:00 2013 (UTC)
2013-04-14 03:10:41.082645 I DataDirect: Grabbing listing data
2013-04-14 03:10:41.082698 I Downloading DataDirect feed
content-type missing in HTTP POST, defaulting to application/x-www-form-urlencoded. Use QNetworkRequest::setHeader() to fix this problem.
2013-04-14 03:10:52.000808 E DataDirect: Failed to get data: Download error
2013-04-14 03:10:52.000823 E Encountered error in grabbing data.
2013-04-14 03:10:52.000957 I Checking day @ offset 11, date: Thu Apr 25 2013
2013-04-14 03:10:52.002365 I Data refresh needed because no data exists for day @ offset 11 from 8PM - midnight.
2013-04-14 03:10:52.002373 N Refreshing data for Thu Apr 25 2013
2013-04-14 03:10:52.002993 I Retrieving datadirect data.
2013-04-14 03:10:52.003024 I Grabbing data for Sun Apr 14 2013 offset 11
2013-04-14 03:10:52.003067 I From Thu Apr 25 05:00:00 2013 to Fri Apr 26 05:00:00 2013 (UTC)
2013-04-14 03:10:52.003080 I DataDirect: Grabbing listing data
2013-04-14 03:10:52.003132 I Downloading DataDirect feed
content-type missing in HTTP POST, defaulting to application/x-www-form-urlencoded. Use QNetworkRequest::setHeader() to fix this problem.
2013-04-14 03:11:02.921264 E DataDirect: Failed to get data: Download error
2013-04-14 03:11:02.921279 E Encountered error in grabbing data.
wstenson
 
Posts: 2
Joined: Sun Apr 14, 2013 12:53 pm

Re: Fetch channels from listings source not working

Postby rmeden » Sun Apr 14, 2013 2:05 pm

Murtag:
Looks to me like your SD side is working and the problem is with Myth...

I think these messages are clues:
Code: Select all
2013-04-13 23:50:01.751583 I  No channels are configured to use grabber.
2013-04-13 23:50:18.997413 N  SourceUtil::IsProperlyConnected(): Source ID 1 appears to be connected
                        to 3 scanable inputs, and 1 non-scanable input. This may be a problem.


You may need to manually configure a channel or do another scan. You can get a list of channel-ids to manually configure by clicking "channel report" on the SD account page. I would add a few channels and see if that populates the guide.

Robert
rmeden
SD Board Member
 
Posts: 1507
Joined: Tue Aug 14, 2007 2:31 pm
Location: Cedar Hill, TX

Re: Fetch channels from listings source not working - SOLVED

Postby Iczer » Wed Apr 17, 2013 11:47 am

UPDATE:
I was able to get channels to populate by deleting all capture cards and re-doing the 0.24 steps in the link I posted above:
http://www.mythtv.org/wiki?title=Config ... _.28.24.29

Didn't think I had to delete all tuners. Reminds me of the old R4, R5 KnoppMyth setup days where after the initial install, you had to do the same thing and re-add your tuner for it to work. :-)
Now I have to figure out why I can tune ClearQAM channels using the Windows HDHomeRun test tuner program, but my LinHES box can't watch LiveTV (haven't tried recording anything yet)...screen goes blank and says "No Signal" for a half second.
Iczer
 
Posts: 3
Joined: Sat Apr 13, 2013 8:47 pm

Re: Fetch channels from listings source not working - SOLVED

Postby Iczer » Sat Apr 20, 2013 9:11 pm

FURTHER UPDATE (04-20-13):
Turns out that in order to tune ClearQAM, I wasn't supposed to use the channel listings from Schedules Direct, as they don't provide QAM channels. Instead, I had to do a channel scan, and then use the Channel Editor to match up the scanned channels with the XMLID provided by Schedules Direct via their website. Now I can finally tune channels via Myth!
Iczer
 
Posts: 3
Joined: Sat Apr 13, 2013 8:47 pm

Re: Fetch channels from listings source not working - SOLVED

Postby davidj » Tue Aug 13, 2013 4:16 pm

I just had this happen to me and after hours of searching forums, checking and double checking everything, here are the steps I took to eventually resolve my problem, running Mythbuntu 12.04 and myth .025 -

1) Shut down frontend and backend, go into backend setup
2) Log into Scheduels Direct, and select the resend lineups button
3) Manually checked every channel to make sure none were using EID data
4) I cleared and re-entered the password for logging into SD, and made sure the user ID was correct
5) Downloaded the lineups from SD
6) Matched the correct lineup from the pull down to the correct source (I have two)
7) Repeat steps 4-6 for the second source.
8) Exited the backend setup, then ran mythfilldatabase.
9) ran mythfilldatabase a second time using the --dd-grab-all option
10) restarted the backend and the frontend and all the listings were restored properly
davidj
 
Posts: 1
Joined: Tue Aug 13, 2013 3:44 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 6 guests