wrong season and episode from xmltv

In the unlikely ;) event you encounter a bug, tell us here
Post Reply
danzaywer
Posts: 2
Joined: Thu Oct 22, 2015 3:30 pm

wrong season and episode from xmltv

Post by danzaywer » Thu Oct 22, 2015 4:53 pm

Hi,
I noticed that all series have season and episode number increased by one . in xmltv I have this:

Code: Select all

<programme start="20151022140000 +0200" stop="20151022142500 +0200" channel="6605">
    <title>I Simpson</title>
    <sub-title>Imbroglio imbrogliato</sub-title>
    <desc>Imbroglio imbrogliato - 9' Stagione Ep. 16 - Boe spende troppi soldi per una donna e chiede a Homer di imbrogliare l'assicurazione. Ma Homer combina un guaio, e Boe deve pensare a un altro raggiro.</desc>
    <icon src="http://guidatv.sky.it/app/guidatv/images/epgimages/2014/6/11/simpson-wp-medium.34808_med.jpg" />
    <episode-num system="xmltv_ns">9.16.</episode-num>
    <episode-num system="onscreen">Stagione 9 Episodio 16</episode-num>
    <category>Intrattenimento</category>
    <category>Animazione</category>
  </programme>
in program guide I have this:
guida.jpg
guida.jpg (12.86 KiB) Viewed 7954 times
and %%SERIES2%%E%%EPISODENUMBER2%% return me S10E17
Someone can help me to figure why this happen?
this is for all series, not only Simpsons
Excuse my english...

styrsven
Posts: 38
Joined: Tue Mar 19, 2013 10:58 pm

Re: wrong season and episode from xmltv

Post by styrsven » Sat Oct 24, 2015 7:24 am

You have an error in your xmltv grabber.
In the xmltv_ns format, 1 is subtracted from the actual season and episode numbers.

<episode-num system="xmltv_ns">9.16.</episode-num>

Is correctly interpreted as season 10, episode 17.

Either
<episode-num system="xmltv_ns">9.16.</episode-num>
or
<episode-num system="onscreen">Stagione 9 Episodio 16</episode-num>
is wrong

danzaywer
Posts: 2
Joined: Thu Oct 22, 2015 3:30 pm

Re: wrong season and episode from xmltv

Post by danzaywer » Sat Oct 24, 2015 11:10 am

Tank you very much !

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests