Download returns no schedule data just my expire date

Discussion about Schedules Direct grabber code and data formats.

Download returns no schedule data just my expire date

Postby ronlemire61 » Sun Nov 09, 2008 3:13 am

Hi,

This is my first experience with SchedulesDirect so I may be not be doing everything correctly.
I'm a C# .Net programmer experimenting with downloading from the feed.
I've got a C# Winforms app that connects via a web service proxy generated from http://docs.tms.tribune.com/tech/tmsdat ... ivery.wsdl.
I had to modify the wsdl so that wsdl.exe would produce a proxy class so maybe that's where the problem is.

My code looks like this:
Code: Select all
         ScheduleDirect.xtvdWebService xtvd = new ScheduleDirect.xtvdWebService();
         System.Net.NetworkCredential cred = new System.Net.NetworkCredential("myUserID", "myPassword");
         xtvd.Credentials = cred;
         string startTime = "2008-11-09T14:50:35Z";
         string endTime = "2008-11-10T14:50:35Z";
         ScheduleDirect.xtvdResponse results = xtvd.download(startTime, endTime);
         ScheduleDirect.downloadTimes  downloadTimes = xtvd.acknowledge();


Both the download and acknowledge method calls are successful so I'm connecting to the server.
The results from xtvd.download is this:
"Your subscription will expire: 2008-11-15T08:30:45Z"
That's it. The date looks correct because I started the trial yesterday.
But there is no xml with schedule data.

Should I be getting real data within the trial period?
When I call xtvd.acknowledge it return almost instantly.
The call xtvd.download takes about a minute so it seems like its downloading data but when I look at the response object it only has a one element messages array and a one element messagesField array both elements containing only my expire date.
Any ideas what the problem is?

Thanks...Ron
ronlemire61
 
Posts: 9
Joined: Sat Nov 08, 2008 9:39 am

Re: Download returns no schedule data just my expire date

Postby ronlemire61 » Sun Nov 09, 2008 7:26 am

Problem solved.
Needed to fix the <xsd:include schemaLocation="..."> elements in .wsdl and .xsd to chain together the schemas.
Getting data now.

Ron Lemire
ronlemire61
 
Posts: 9
Joined: Sat Nov 08, 2008 9:39 am

Re: Download returns no schedule data just my expire date

Postby rmeden » Sun Nov 09, 2008 8:47 am

glad it's working..

Can you send me a your C# so I can add it to the list of sample programs HERE?

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

Not getting any local program listings

Postby ronlemire61 » Mon Nov 10, 2008 3:35 pm

Hi,

I'm a trial member who is downloading DISH program data through a C# WinForms app.
As I start to query my data I don't see any listings under channel 100 i.e. no local program listings.
Am I doing something wrong or is it that local listings are not available?

Thanks...Ron
ronlemire61
 
Posts: 9
Joined: Sat Nov 08, 2008 9:39 am

Re: Download returns no schedule data just my expire date

Postby rmeden » Mon Nov 10, 2008 11:34 pm

note... C# sample converted to it's own thread.
rmeden
SD Board Member
 
Posts: 1512
Joined: Tue Aug 14, 2007 2:31 pm
Location: Cedar Hill, TX

Re: Download returns no schedule data just my expire date

Postby ronlemire61 » Tue Nov 11, 2008 7:11 am

On the question about not getting any local channel data like ABC, CBS, NBC, PBS.
Should my download include data for these channels?
Looks like I'm getting channels >= 100 but not < 100.

Thanks...Ron
ronlemire61
 
Posts: 9
Joined: Sat Nov 08, 2008 9:39 am

Re: Download returns no schedule data just my expire date

Postby rmeden » Tue Nov 11, 2008 10:18 am

what does the "lineup report" say from the "account" page on SD. You should get all those channels. (remember you may have turned some off)
rmeden
SD Board Member
 
Posts: 1512
Joined: Tue Aug 14, 2007 2:31 pm
Location: Cedar Hill, TX

Re: Download returns no schedule data just my expire date

Postby ronlemire61 » Tue Nov 11, 2008 9:24 pm

Lineup was the problem.
Had chosen DISH Network - Satellite but should have chosen DISH San Diego - Satellite.

Thanks...Ron
ronlemire61
 
Posts: 9
Joined: Sat Nov 08, 2008 9:39 am

Re: Download returns no schedule data just my expire date

Postby ronlemire61 » Wed Nov 12, 2008 1:35 pm

How far into the future can DISH program data be downloaded?
It looks from my downloads today to be about 2 weeks. Is that correct?
I did 2 downloads today, one for 11/24 - 11/30 and another for 12/01 - 12/07. The max time in the schedule table was 11/27 15:55.

I would like to start the month by getting that month's schedules then set up my recording timers based on what I like.
If I can't get a month into the future it's not a big deal. Just wanted to know what I can expect.

By the way the data is exactly what I wanted. Programming against it will make it so much easier to plan my recordings. I find that getting easy to scroll lists with the DISH online browser to be so tedious. I can now put a few weeks of movies in alphabetical order into a grid and scroll in a lot less time than in DISH's browser. Then I just take that a movie that I'm interested in and get another list of all the show times.

Thanks...Ron
ronlemire61
 
Posts: 9
Joined: Sat Nov 08, 2008 9:39 am

Re: Download returns no schedule data just my expire date

Postby rmeden » Wed Nov 12, 2008 2:54 pm

We're supposed to be providing two weeks worth of data, but sometimes TMS doesn't have the info available.

Personally, I wouldn't count on anything older than 7 days.... more than that the data simply isn't very accurate (it changes over time).

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


Return to Developers Corner

Who is online

Users browsing this forum: No registered users and 5 guests