Re: xmltv-users Digest, Vol 104, Issue 5

Karl Dietz <[email protected]> Wed, 29 Jun 2016 01:07:49 +0200
Newsgroups gmane.comp.tv.xmltv.general
Message-ID <[email protected]>
Hi Gary,
Hi Paul,

On 28.06.2016 23:20, Gary Buhrmaster wrote:
> On Tue, Jun 28, 2016 at 8:26 PM,
> <[email protected]>  wrote:
>
>> Hi Karl,
>> But the point is I don't see any "role" attributes associated with actors.This one is the DTD -<!ATTLIST actor role CDATA #IMPLIED>
>> It would be nice to have them if possible.

I completely agree.

Generally speaking support for these roles is very new (well "new" for
XMLTV's age) and was one of the later additions to the DTD made in
early 2009
http://xmltv.cvs.sourceforge.net/viewvc/xmltv/xmltv/xmltv.dtd?r1=1.38&r2=1.39
and is only properly supported in the Perl module since late 2013
http://xmltv.cvs.sourceforge.net/viewvc/xmltv/xmltv/lib/XMLTV.pm.in?r1=1.154&r2=1.155
Some stable older grabbers have simply never been updated to this
"fancy new stuff" which may be due to the distributed nature of the
project, with most developers taking care of one countries grabbers at
most. (I'm looking at _eu_epgdata right now)
http://xmltv.cvs.sourceforge.net/viewvc/xmltv/xmltv/grab/eu_epgdata/tv_grab_eu_epgdata?revision=1.44&view=markup#l481

The specific case of the Schedules Direct grabbers is best described by
the people that work on it.

> In this particular case, this appears to be an artifact
> that the information returned for an EPisode does
> not have that data, but the associated generic
> SHow does (EPisode and SHow program types are
> internal terms).  There may be some ways to address
> the lack of detail provided in schedules that point to
> EPisodes, but as discussed elsewhere there are some
> issues with trying to combine data with no currency
> checking available in the source data.

Generally it is the grabbers job to translate between upstream and
downstream data models in the underlying concepts of XMLTV. In this
case that would be combining the show and episode level information.

But as we have very good chances to influence this upstream's data
model it is preferable to properly fix it at the source.

Regards,
Karl

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape