Page 1 of 6

Differences between Data Direct and Zap2IT Labs

Posted: Sat Aug 18, 2007 5:45 pm
by rmeden
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"

Re: Differences between Data Direct and Zap2IT Labs

Posted: Sun Aug 19, 2007 7:35 pm
by GLCamp
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

Re: Differences between Data Direct and Zap2IT Labs

Posted: Sun Aug 19, 2007 9:19 pm
by rmeden
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

Re: Differences between Data Direct and Zap2IT Labs

Posted: Mon Aug 20, 2007 3:50 pm
by sbtvlist
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

Re: Differences between Data Direct and Zap2IT Labs

Posted: Mon Aug 20, 2007 4:22 pm
by StuartM
Steve, perhaps you better ask on the xmltv-users mailing list?

Re: Differences between Data Direct and Zap2IT Labs

Posted: Wed Aug 22, 2007 9:37 am
by rmeden
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

Re: Differences between Data Direct and Zap2IT Labs

Posted: Wed Aug 22, 2007 11:13 am
by whurlston
I wondered about that. So "new" means a new episode and not just a new series?

Re: Differences between Data Direct and Zap2IT Labs

Posted: Wed Aug 22, 2007 11:56 am
by rmeden
xtvd/schedules/schedule/@new => Optional. Designates that a program is new, not previously aired.

Re: Differences between Data Direct and Zap2IT Labs

Posted: Wed Aug 22, 2007 2:11 pm
by cwarren
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

Re: Differences between Data Direct and Zap2IT Labs

Posted: Wed Aug 22, 2007 2:17 pm
by neopelago
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?