Can someone tell me if dd-direct is working in my config?

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!
Post Reply
TheKorn
Posts: 2
Joined: Wed Oct 22, 2014 6:52 am

Can someone tell me if dd-direct is working in my config?

Post by TheKorn » Wed Oct 22, 2014 7:08 am

Running mythtv 0.25.2-15 . Made the hosts file change, adding
54.85.117.227 docs.tms.tribune.com webservices.schedulesdirect.tmsdatadirect.com
to /etc/hosts . Checked that every time I ping docs or webservices, I get 54.85.117.227 pinging back, so that part works.


But I'm really unsure as to whether the new dd-direct service is actually working or not. Here's what mythfilldatabase reports:

Code: Select all

2014-10-22 08:49:35.965355 N  Data is already present for Wed Oct 29 2014, skipping
2014-10-22 08:49:35.965378 I  Checking day @ offset 8, date: Thu Oct 30 2014
2014-10-22 08:49:35.985906 N  Data is already present for Thu Oct 30 2014, skipping
2014-10-22 08:49:35.985937 I  Checking day @ offset 9, date: Fri Oct 31 2014
content-type missing in HTTP POST, defaulting to application/octet-stream
2014-10-22 08:49:36.004834 N  Data is already present for Fri Oct 31 2014, skipping
2014-10-22 08:49:36.004862 I  Checking day @ offset 10, date: Sat Nov 1 2014
2014-10-22 08:49:36.023537 N  Data is already present for Sat Nov 1 2014, skipping
2014-10-22 08:49:36.023560 I  Checking day @ offset 11, date: Sun Nov 2 2014
2014-10-22 08:49:36.044526 N  Data is already present for Sun Nov 2 2014, skipping
2014-10-22 08:49:36.044554 I  Checking day @ offset 12, date: Mon Nov 3 2014
2014-10-22 08:49:36.064564 N  Data is already present for Mon Nov 3 2014, skipping
2014-10-22 08:49:36.064593 I  Checking day @ offset 13, date: Tue Nov 4 2014
2014-10-22 08:49:36.074100 I  Data refresh needed because only 0 out of 51 channels have at least one program listed for day @ offset 13 from 8PM - midnight.
Previous day had 51 channels with data in that time period.
2014-10-22 08:49:36.074106 N  Refreshing data for Tue Nov 4 2014
2014-10-22 08:49:36.075499 I  Retrieving datadirect data.
2014-10-22 08:49:36.075514 I  Grabbing data for Wed Oct 22 2014 offset 13
2014-10-22 08:49:36.075524 I  From Tue Nov 4 05:00:00 2014 to Wed Nov 5 05:00:00 2014 (UTC)
2014-10-22 08:49:36.075529 I  DataDirect: Grabbing listing data
2014-10-22 08:49:36.075541 I  Downloading DataDirect feed
2014-10-22 08:49:36.476015 E  DataDirect: Failed to get data: Download error
2014-10-22 08:49:36.476021 E  Encountered error in grabbing data.
2014-10-22 08:49:36.541676 E  Failed to fetch some program info
2014-10-22 08:49:36.541697 I  Adjusting program database end times.
2014-10-22 08:49:36.667409 I      0 replacements made
2014-10-22 08:49:36.667414 I  Marking generic episodes.
2014-10-22 08:49:36.790689 I      Found 861
2014-10-22 08:49:36.790731 I  Extending non-unique programids with multiple parts.
2014-10-22 08:49:36.819408 I      Found 0
2014-10-22 08:49:36.819430 I  Marking repeats.
2014-10-22 08:49:36.901509 I      Found 1338
2014-10-22 08:49:36.901516 I  Unmarking new episode rebroadcast repeats.
2014-10-22 08:49:36.965312 I      Found 0
2014-10-22 08:49:37.190179 I  Marking episode first showings.
2014-10-22 08:49:38.955577 I      Found 12851
2014-10-22 08:49:38.955583 I  Marking episode last showings.
content-type missing in HTTP POST, defaulting to application/octet-stream
2014-10-22 08:49:40.538518 I      Found 12851
2014-10-22 08:49:40.545234 I  DataDirect: Grabbing next suggested grabbing time
2014-10-22 08:49:40.945898 I  Suggested Time data: 613 bytes
2014-10-22 08:49:40.946070 I  DataDirect: BlockedTime is: 2014-10-22T09:49:45
2014-10-22 08:49:40.946138 I  DataDirect: NextSuggestedTime is: 2014-10-23T08:49:45
2014-10-22 08:49:40.946603 I
===============================================================
| Attempting to contact the master backend for rescheduling.  |
| If the master is not running, rescheduling will happen when |
| the master backend is restarted.                            |
===============================================================
2014-10-22 08:49:40.956996 I  MythCoreContext: Connecting to backend server: x.y.m.n:6543 (try 1 of 1)
2014-10-22 08:49:40.960052 I  Using protocol version 72
2014-10-22 08:49:40.962834 I  Received remote 'Clear Cache' request
2014-10-22 08:49:40.963310 N  mythfilldatabase run complete.
2014-10-22 08:49:40.974411 I  DataDirect: Deleting temporary files
The lines that bother me are "0 out of 51 channels have at least one program listed" which is then followed quickly by "failed to get data: download error".

So point blank, do I have a working config or not?

Thanks in advance!

bill6502
Posts: 16
Joined: Fri Sep 19, 2014 4:52 pm

Re: Can someone tell me if dd-direct is working in my config

Post by bill6502 » Wed Oct 22, 2014 6:27 pm

TheKorn wrote: ...
2014-10-22 08:49:40.946138 I DataDirect: NextSuggestedTime is: 2014-10-23T08:49:45
...
The lines that bother me are "0 out of 51 channels have at least one program listed" which is then followed quickly by "failed to get data: download error".

So point blank, do I have a working config or not?
The NextSuggestTime line above clearly says you're able to download a file from SD.
If it's still failing, I'd re-run the command with --dd-grab-all -v channel,network,file options
and pastebin the entire session. Unless you have an underpowered backend --dd-grab-all
is the preferred option. At least that's what the MythTV developers always say.

TheKorn
Posts: 2
Joined: Wed Oct 22, 2014 6:52 am

Re: Can someone tell me if dd-direct is working in my config

Post by TheKorn » Tue Oct 28, 2014 6:02 am

Circling back to this...

Looks like schedules direct is sending empty info:

2014-10-28 07:55:31.441473 I Did not find any new program data.

Here's the complete command I ran, along with the output is available at http://pastebin.com/Ty0kzxcq


Willing to try any/all suggestions. Going to try re-running with --loglevel=debug or -v all next pass in an hour, see if that turns up anything interesting.

Post Reply