birtles.org.uk logo

Duplicate Sub-title fields

Discussion of Version 3 and developing lua grabbers

Duplicate Sub-title fields

Postby gEd » Mon Mar 11, 2013 11:30 pm

Hi Alan

Any idea why I am seeing duplicate sub-title fields in my RT XML file?
I am not using any post_processing (such as I used to use to add episode ot sub-title)

Code: Select all
<programme start="20130311220000 +0000" stop="20130311230000 +0000" channel="UK_RT_47">
    <title lang="en">Mark Lawson Talks To</title>
    <sub-title lang="en">2</sub-title>
    <sub-title lang="en">Mark Lawson Talks to Michael Palin</sub-title>
    <desc lang="en">The journalist interviews the actor, writer and TV presenter, who is best-known for his work with comedy team Monty Python and his travel documentaries. They discuss his childhood and early career, as well as some of the highs an lows of the famous ensemble.</desc>
    <credits>
      <director>Monika Kupper</director>
      <actor>Presenter - Mark Lawson</actor>
      <actor>Guest - Michael Palin</actor>
    </credits>
    <category lang="en">Reality</category>
    <length units="minutes">60</length>
    <video>
      <aspect>16:9</aspect>
    </video>
    <subtitles type="teletext">
      <language lang="en">English</language>
    </subtitles>
  </programme>

<programme start="20130311163000 +0000" stop="20130311171500 +0000" channel="UK_RT_92">
    <title lang="en">Flog It!</title>
    <sub-title lang="en">48, series 11</sub-title>
    <sub-title lang="en">Lincolnshire 48</sub-title>
    <desc lang="en">The team visits Normanby Hall in Lincolnshire, where experts Michael Baggott and Caroline Hawley value items brought in by the public, including traditional Troika and tribal artefacts, one of which brings a surprise for the owners at auction. Presenter Paul Martin returns to the city of Lincoln to visit the cathedral, and gets a unique look at a stained-glass window.</desc>
    <credits>
      <director>Vikki Rogers</director>
      <actor>Presenter - Paul Martin</actor>
      <actor>Contributor - Michael Baggott</actor>
      <actor>Contributor - Caroline Hawley</actor>
    </credits>
    <category lang="en">Reality</category>
    <length units="minutes">45</length>
    <video>
      <aspect>16:9</aspect>
    </video>
    <subtitles type="teletext">
      <language lang="en">English</language>
    </subtitles>
  </programme>


many thanks in advance
gEd
 
Posts: 5
Joined: Tue Dec 09, 2008 12:14 am

Re: Duplicate Sub-title fields

Postby alanbirtles » Tue Mar 12, 2013 8:40 am

if the grabber doesn't understand the episode number format then it adds it as a subtitle, radio times keep changing their formats so there will often be some episodes that don't get parsed.
alanbirtles
Site Admin
 
Posts: 493
Joined: Mon Sep 06, 2004 4:44 pm

Re: Duplicate Sub-title fields

Postby gEd » Tue Mar 12, 2013 8:28 pm

Thanks Alan

for sure, RT appear to be providing some screwy data.

Code: Select all
<sub-title lang="en">48, series 11</sub-title>
    <sub-title lang="en">Lincolnshire 48</sub-title>


would it be possible to add an option to disable this behaviour (if a value for sub-title has already been retrieved)?
It seems more useful to have a sub-title of "Mark Lawson Talks to Michael Palin" than just "2"

many thanks as always.
gEd
 
Posts: 5
Joined: Tue Dec 09, 2008 12:14 am


Return to XMLTV GUI V3

Who is online

Users browsing this forum: No registered users and 1 guest

cron