Re: Live/Taped attribute

Nick Morrott <[email protected]>
Newsgroups gmane.comp.tv.xmltv.devel
Message-ID <CAOQWjw3qt16OEt=nJmezg-HON6THZLE=66DTpamHxwrMGAJBrw@mail.gmail.com>
On 12 May 2016 at 22:16, Robert Eden <[email protected]> wrote:
> On 5/12/2016 3:59 PM, Nick Morrott wrote:
>> An idea:
>>
>> i) add an optional programme element "live" to specify whether a given
>> programme is broadcast live (element present) or not (absent).
>>
>> <!ELEMENT live EMPTY>
>>
>>
>> ii) add an optional programme element "live-delayed" to specify if a
>> live transmission is being shown in its entirety but after a
>> tape_delay.
>>
>> <!ELEMENT live-delayed EMPTY>
>>
>>
>> iii) update the <programme> element to optionally permit one of either
>> "live" OR "live-delayed" as a sub-element:
>>
>> <!ELEMENT programme (title+, sub-title*, desc*, credits?, date?,
>>                       category*, keyword*, language?, orig-language?,
>>                       length?, icon*, url*, country*, episode-num*,
>>                       video?, audio?, previously-shown?, premiere?,
>>                       last-chance?, new?, subtitles*, rating*,
>>                       star-rating*, review*, (live | live-delayed)? )>
>>
>>
>> Anything consuming the data could look for these elements
>> automatically and optionally add extra time to a recording in case the
>> live showing runs late.
>
> I'm far from an XML user much less expert, but is that the way it's
> normally done?  Mark's
> "tape-delay" = "live|delay|taped"  looks cleaner to me.

I'd rather see a simple

<live /> or <live-delayed />

flag in the XMLTV data, than

<tape-delay>live<tape-delay> or <tape-delay>delay<tape-delay>

<live /> is cleaner (IMO), easier to read, and easier to program against.

(I'm not sure about any proposed implementation details for
tape-delay, so I'm guessing here. It could be less noisy.)

Across all grabbers, I'd imagine the overwhelming majority of
programmes using these new flags would specify the "live" flag to
specify a real "live" transmission.

Here in the UK some programming that has had a known live-delay are
Formula 1 races where the broadcaster has not had the right to air the
race live, and repeats of live material on the BBC's Red Button and
interactive channels.

> Nick, is your way more "the XML" way?

The idea was to keep the implementation simple. W.r.t "tape-delay" I'm
not sold on using an anachronistic term (i.e. tape) for a new element.
Maybe broadcast-delay would be less specific in this instance?

Cheers,
Nick

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.