Differences between Data Direct and Zap2IT Labs

Discussion about Schedules Direct grabber code and data formats.

Differences between Data Direct and Zap2IT Labs

Postby rmeden » Sat Aug 18, 2007 5:45 pm

The Tribune Media service Schedules Direct obtains data from is called "Data Direct". It is similar to the Zap2IT labs service, but there are some differences. This sticky topic will highlight them.

Service URL:
The new URLs are: (in a code block to prevent linkifying by phpbb)
Code: Select all
WSDL  : http://docs.tms.tribune.com/tech/tmsdatadirect/schedulesdirect/tvDataDelivery.wsdl
service: http://webservices.schedulesdirect.tmsdatadirect.com/schedulesdirect/tvlistings/xtvdService


Program-ID:
The program-id field used in <schedule> <program> is now at least 14 characters. (it was 12). We're checking on the official size.

Repeat
The <schedule> attribute "Repeat" has been replaced with "New"
rmeden
SD Board Member
 
Posts: 1482
Joined: Tue Aug 14, 2007 2:31 pm
Location: Cedar Hill, TX

Re: Differences between Data Direct and Zap2IT Labs

Postby GLCamp » Sun Aug 19, 2007 7:35 pm

Is there a way to map the old 12 Character Program-ID to the new 14 Character Program-ID?

The old Program-ID was defined ->

xtvd/schedules/schedule/@program
Field length: minimum 12, maximum 12 (e.g. MV1234560000, SH0123450000)
Unique description identifier necessary to reference movies, shows, episodes, sports from the programs data. First two digits are alphanumeric and correspond to movies (MV), shows (SH), episodes (EP) and sports (SP). For shows beginning with EP, the next 6 digits represent the series ID, with the last 4 digits representing the episode id. If episode information is not available, the program will appear as type SH, the next 6 digits as the series id and the last 4 digits as zeros.

Is the new schema available for downloading?

TIA
GLCamp
 
Posts: 16
Joined: Sun Aug 19, 2007 7:27 pm

Re: Differences between Data Direct and Zap2IT Labs

Postby rmeden » Sun Aug 19, 2007 9:19 pm

Looks like the series-id went from 6 to 8 digits.

new program-id defined:

Field length minimum 12, maximum 14
Unique description identifier necessary to reference movies, shows, episodes, sports from the programs data. First two digits are alphanumeric and correspond to movies (MV), shows (SH), episodes (EP) and sports (SP).

For shows beginning with EP, the next 8 digits represent the series ID, with the last 4 digits representing the episode id.

If episode information is not available, the program will appear as type SH, the next 8 digits as the series id and the last 4 digits as zeros
rmeden
SD Board Member
 
Posts: 1482
Joined: Tue Aug 14, 2007 2:31 pm
Location: Cedar Hill, TX

Re: Differences between Data Direct and Zap2IT Labs

Postby sbtvlist » Mon Aug 20, 2007 3:50 pm

I use XMLTV to access the Zap2it service. There is no URL that I am aware of other than XMLTV hast the URL embedded. So, how do you use this service with XMLTV.

Steve
sbtvlist
 
Posts: 38
Joined: Fri Aug 17, 2007 10:29 pm

Re: Differences between Data Direct and Zap2IT Labs

Postby StuartM » Mon Aug 20, 2007 4:22 pm

Steve, perhaps you better ask on the xmltv-users mailing list?
StuartM
 
Posts: 30
Joined: Mon Aug 20, 2007 7:28 am

Re: Differences between Data Direct and Zap2IT Labs

Postby rmeden » Wed Aug 22, 2007 9:37 am

I just found another difference.

The <schedules> attribute "repeat" has been replaced with an attribute called "new".

I have a request into TMS for release notes that document the differences and I'll post as I know more.

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

Re: Differences between Data Direct and Zap2IT Labs

Postby whurlston » Wed Aug 22, 2007 11:13 am

I wondered about that. So "new" means a new episode and not just a new series?
whurlston
 
Posts: 62
Joined: Thu Aug 16, 2007 10:43 pm

Re: Differences between Data Direct and Zap2IT Labs

Postby rmeden » Wed Aug 22, 2007 11:56 am

xtvd/schedules/schedule/@new => Optional. Designates that a program is new, not previously aired.
rmeden
SD Board Member
 
Posts: 1482
Joined: Tue Aug 14, 2007 2:31 pm
Location: Cedar Hill, TX

Re: Differences between Data Direct and Zap2IT Labs

Postby cwarren » Wed Aug 22, 2007 2:11 pm

Looking at the data from Z2I, it was already changed. Coincidence? Have no idea how long that change has been there since we're in the repeat season now mostly already.

Chuck
cwarren
 
Posts: 17
Joined: Fri Aug 17, 2007 5:50 am

Re: Differences between Data Direct and Zap2IT Labs

Postby neopelago » Wed Aug 22, 2007 2:17 pm

What we need is a new version of the TMSDataDirect XTVD Schema Definition. I have been using Version 1.3.6 and I believe TMS has a version 1.3.7 on its web site. Are they going to provide one for what they are feeding to SchedulesDirect? Also, is the 14-char id already in effect or is it upcoming?
neopelago
 
Posts: 16
Joined: Fri Aug 17, 2007 9:51 am

Next

Return to Developers Corner

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron