Hi, apologies for resurrecting this old thread, but I've only just signed up to the service and I notice an inconsistency in the dd_progid. It is highlighted when viewed adjacent to the xmltv_ns tag in the same programme.
Here's the first entry in my current feed which doesn't seem to fit the specification in the PDF.
- Code: Select all
<programme start="20170111154500 +0000" stop="20170111163000 +0000" channel="I1.21441.schedulesdirect.org">
<title lang="en">The Hairy Bikers' Comfort Food</title>
<sub-title lang="en">Nostalgia</sub-title>
<desc lang="en">This episode is all about nostalgic comfort food, dishes to conjure up childhood memories, holiday favourites and tastes of days gone by. The Bikers cook a Lancashire hotpot just like Dave's mother used to make, and a French speciality brings back holiday memories for Si.</desc>
<credits>
<actor>Michelle Crowley</actor>
<presenter>Dave Myers</presenter>
<presenter>Simon King</presenter>
</credits>
<date>20170111</date>
<category lang="en">Cooking</category>
<category lang="en">Reality</category>
<episode-num system="dd_progid">EP02575606.0001</episode-num>
<episode-num system="xmltv_ns">0.7.</episode-num>
<new />
</programme>
The xmltv_ns tag indicates this is Season 1 Episode 8 (0.7. zero indexed), but the dd_progid says episode 0001. Shouldn it not be 0008? This makes using this information for series link functionality impossible using the dd_prog_id.
Actually, I just scanned ahead in the xml feed to find the next episode of that show and it says:
- Code: Select all
<episode-num system="dd_progid">EP02575606.0009</episode-num>
<episode-num system="xmltv_ns">0.8.</episode-num>
which appears to be correct. Either this is an error in the data you're using, or there's a bug which might for example not set the episode number correctly for the first instance of some shows. The xmltv_ns data seems more consistently reliable but is not always present.