Solved Guide not loading with matching channel id
#1
I've been trying to search what happened but I can't find any explanation. Hopefully someone can help.

I tried testing the latest iptv simple in leia and matrix, and can't get it to work. So far, I can only get it to work with iptv simple v.3.5.7;  Any updated version breaks the guide. What changed?

My m3u file looks like this:

Code:
#EXTINF:-1 tvg-id="10367" tvg-chno="2"  tvg-name="CBS 2", CBS 2

My xmltv file looks like this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<tv source-info-url="http://tvschedule.zap2it.com/" source-info-name="zap2it.com">
   <channel id="10367">
       <icon src="http://zap2it.tmsimg.com/h3/NowShowing/10367/s10098_h3_aa.png" />
   </channel>

It was working good with v3.5.7. The only way I can get it to work in the newer versions is if i add <display-name>CBS 2</display-name>  in xmltv, but of course, my script doesn't work taken that into account, so it is no ideal in my setup. I am reverting back to v3.5.7 to keep it working, but I'd hate to keep the addon out dated.

Is there any reason why matching by channel id is no longer working? Or maybe I'm missing something. Please help.

thank you!
Reply
#2
What you have explained should work. Could you also add some programme data to your example so I can run it locally and see if/where something is going wrong?

Also please explain what is not working? I.e. what behaviour do you expect and what behaviour you actually see.

And please include a full debug log too please.
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#3
I think you found a bug Wink
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#4
Or maybe not. The DTD for XMLTV states that at least one display name should be provided with each channel entry.

https://github.com/XMLTV/xmltv/blob/76ca...v.dtd#L162

The “+” symbol means at least one.
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#5
Can you try one of the these builds: https://jenkins.kodi.tv/blue/organizatio.../artifacts

Assuming you run one of those platforms.
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#6
(2019-10-27, 11:34)phunkyfish Wrote: Can you try one of the these builds: https://jenkins.kodi.tv/blue/organizatio.../artifacts

Assuming you run one of those platforms.

Hi @phunkyfish thanks for addressing this. Yes, v3.8.6 from this link works. I'm using Win 10 x64 with just using channel id as the only mapping line to the m3u as I've been doing before.


Code:
#EXTM3U
#EXTINF:-1 tvg-chno="2" tvg-id="10367" tvg-name="CBS 2" tvg-logo="http://URL..../cbs_losAngeles_440x330_NETWORK_LARGE_440_330.png" group_title="PS Vue",CBS 2
plugin://plugin.video.psvue/?url=......

#EXTINF:-1 tvg-chno="4" tvg-id="10590" tvg-name="NBC 4" tvg-logo="http://URL...../nbc_440x330_NETWORK_LARGE_440_330.png" group_title="PS Vue",NBC 4
plugin://plugin.video.psvue/?url=....


Code:

<?xml version="1.0" encoding="utf-8"?>
<tv source-info-url="http://tvschedule.zap2it.com/" source-info-name="zap2it.com">
    <channel id="10367">
        <icon src="http://zap2it.tmsimg.com/h3/NowShowing/10367/s10098_h3_aa.png" />
    </channel>
    <channel id="10590">
        <icon src="http://zap2it.tmsimg.com/h3/NowShowing/10590/s10590_h3_aa.png" />
    </channel>
<programme start="20191027200000 -0700" stop="20191027210000 -0700" channel="10367">
        <episode-num system="dd_progid">EP02971532.0025</episode-num>
        <title lang="en">God Friended Me</title>
        <sub-title lang="en">The Greater Good</sub-title>
        <desc lang="en">NEW "The Greater Good" | Season 2 - Episode 5 | First aired: October 27, 2019 
Miles' world and Arthur's world intersect when the God account indicates that Bishop Thompson's daughter is in need of help; Jaya's parents, impressed with Rakesh's success, want the pair to move forward in their relationship. 
TV-PG | STEREO | CC </desc>
        <episode-num system="onscreen">S02E05</episode-num>
        <episode-num system="xmltv_ns">1.4.</episode-num>
        <icon src="https://zap2it.tmsimg.com/assets/p15528138_l_h9_ac.jpg" />
        <new />
        <rating>
            <value>TV-PG</value>
        </rating>
        <category lang="en">Variety show</category>
    </programme>


Please disregard bad indentation, the original file is correctly formatted.

Tested on Kodi Leia
Expected (and working on 3.5.7 and 3.8.6):
complete guide for these channels.
https://imgur.com/a/COt62dk


Results on v. 3.8.5 in Leia (also v4.xx in matrix):
no programming guide present unless I add the display name in xmltv
https://imgur.com/a/wZKlDIu
Reply
#7
Cool, glad that it works. Should get released officially in the next few days.
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#8
(2019-10-27, 21:08)phunkyfish Wrote: Cool, glad that it works. Should get released officially in the next few days.

Awesome, thanks!....will this be updated on Matrix as well?
Reply
#9
Yes

Matrix:
https://github.com/kodi-pvr/pvr.iptvsimple/pull/297

Leia:
https://github.com/kodi-pvr/pvr.iptvsimple/pull/298
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply

Logout Mark Read Team Forum Stats Members Help
Guide not loading with matching channel id0