• XMLTV
  • Some episode/season info not displayed

Hello,

I have got TVHeadend 4.1-2309~g0736ebc running on a Ubuntu 16.10 server with Emby. TvHeadend works great however there are a few issues with XMLTV schedules direct.

I have configured tv_grab_sd_json with two lineups and TVH grabs the schedules properly including icons etc. 4.1 performs this a lot better than 4.0 btw :)

However only about half of the programs have season/episode information. I have configured NextPVR on another VM which works great with about 90% season/episode information from Schedules Direct except that stutters a bit while playing to Kodi.

Here is an example.

I configured tv_grab_sd_json on another account and sent the out to a file so I could read it as I can't find where TVH stores the output from this when it runs it.

The below episode of Midsomer Murders does not have episode/season information in TVH Gui however it has it correctly in the XML as I understand you need to +1 to the numbers in the file.

 <programme start="20161108200000 +0000" stop="20161108220000 +0000" channel="I24293.json.schedulesdirect.org">
    <title>Midsomer Murders</title>
    <sub-title>A Dying Art</sub-title>
    <credits> comes to the picturesque Midsomer village of Angel's Rise with the opening of a new sculpture park. When its launch is marred by murder, DCI Ba$
    <audio>
      <actor>Neil Dudgeon</actor>
      <actor>Gwilym Lee</actor>
      <actor>Fiona Dolman</actor>
      <actor>Navin Chowdhry</actor>
      <actor>Emma Cunniffe</actor>
      <actor>Manjinder Virk</actor>
      <producer>Brian True-May</producer>
    </credits>
    <category>Crime drama</category>
    <category>Mystery</category>
    <category>Series</category>
    <category>series</category>
    <icon height="360" width="240" src="https://json.schedulesdirect.org/20141201/image/assets/p12541787_e_v5_aa.jpg" />
    <episode-num system="xmltv_ns">17.3/6.</episode-num>
    <episode-num system="dd_progid">EP012606120297</episode-num>
    <audio>

The below images shows NextPVR has correctly got the information.

!midsumer.png!

TVH corrects displays the information from another episode and the XML is shown below:

<programme start="20161109200000 +0000" stop="20161109220000 +0000" channel="I44643.json.schedulesdirect.org">
    <title>Midsomer Murders</title>
    <sub-title>Fit for Murder</sub-title>
    <dredits>
    <eategory>series</category>gid">EP012606120297</episode-num>
      <actor>John Nettles</actor>
      <actor>Jason Hughes</actor>
      <actor>Jane Wymark</actor>
      <actor>Laura Howard</actor>
      <actor>Barry Jackson</actor>
      <actor>Daniel Casey</actor>
      <actor>John Hopkins</actor>
      <actor>Kirsty Dillon</actor>
      <actor>Neil Dudgeon</actor>
      <actor>Fiona Dolman</actor>
      <producer>Brian True-May</producer>
    </credits>
<category>Crime drama</category>
    <category>Mystery</category>
    <category>Series</category>
    <eategory>series</category>gid">EP012606120297</episode-num>
    <length units="minutes">90</length>
    <episode-num system="xmltv_ns">12.7/10.</episode-num>
    <episode-num system="dd_progid">EP012606120091</episode-num>

Does anyone know what could be the problem? Should I instead use something like mc2xml?

The reason I want XML EPG is because Emby will correctly identify the recording and not just shove it in Movies so it fills up my Kodi Movies DB.

Thanks for any help :)
2 months later
Did you figure this out? I want proper season info as well and am not seeing it. Have you tried zap2xml?