Page 1 of 1

wrong season and episode from xmltv

Posted: Thu Oct 22, 2015 4:53 pm
by danzaywer
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 7961 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...

Re: wrong season and episode from xmltv

Posted: Sat Oct 24, 2015 7:24 am
by styrsven
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

Re: wrong season and episode from xmltv

Posted: Sat Oct 24, 2015 11:10 am
by danzaywer
Tank you very much !