Duplicate start times in xml data

Discussion of Version 3 and developing lua grabbers
Post Reply
gEd
Posts: 5
Joined: Tue Dec 09, 2008 12:14 am

Duplicate start times in xml data

Post by gEd » Sat Feb 21, 2009 9:45 pm

Hi Alan

GBPVR is refusing to load my xml file due to a duplicate channel no+start time. After hunting around, I found this entry in the xml file for today.

Code: Select all

  <programme start="20090221173500 +0000" stop="20090221174000 +0000" channel="UK_RT_92">
    <title lang="en">Regional News and Weather</title>
    <desc lang="en">Regional updates from newsrooms across the UK.</desc>
    <category lang="en">News and Current Affairs</category>
    <length units="minutes">5</length>
    <video>
      <aspect>16:9</aspect>
    </video>
    <subtitles type="teletext">
      <language lang="en">English</language>
    </subtitles>
  </programme>
  <programme start="20090221173500 +0000" stop="20090221183500 +0000" channel="UK_RT_92">
    <title lang="en">Total Wipeout</title>
    <desc lang="en">Richard Hammond and Amanda Byram present the game show where 20 contestants take on one of television&apos;s largest and most extreme obstacle courses. Crashes, smashes and hilarious mud splashes are on the cards as the competitors journey across the globe to the purpose-built course in Argentina and put their strength, balance and bravery to the test in the hope of winning 10,000 pounds and being crowned champion.</desc>
Is this something that you might be able to take account of (e.g write warning to log and drop duplicate entry)?

cheers!

alanbirtles
Site Admin
Posts: 495
Joined: Mon Sep 06, 2004 4:44 pm

Re: Duplicate start times in xml data

Post by alanbirtles » Sat Feb 21, 2009 9:47 pm

it would probably be quite a lot of work and its not a very common problem. This is the first time i've seen the radio times data quite so badly messed up. Just wait for tomorrow for the programs to pass out of the data

Post Reply