i made a chnge to the grab, can someone please test
i made a chnge to the grab, can someone please test
hey couch.. any idea how i can add that </programme> tag if it is found missing, automatically.
all in all sometimes the epg source data is screwed,, it will self resolve in aday or two
the simple way is by reading each line of the text file
set the flag=true if found a begin-tag <-- the previous flag must be set false
and set the flag=false if you find an end-tag of the current opened tag
if you find a begin-tag but the prev.flag is true then you have to add the missing end-tag before the line of the begin-tag
I found these errors:
Code:Warning: simplexml_load_file(): temp/epg_xmltv.xml:240330: parser error : attributes construct error in php/xml.php on line 28 Warning: simplexml_load_file(): <programme start=""$today" +0000" stop=""$day2" +0000" channel="PPV - Bite.iptvp in php/xml.php on line 28 Warning: simplexml_load_file(): ^ in php/xml.php on line 28 Warning: simplexml_load_file(): temp/epg_xmltv.xml:240330: parser error : Couldn't find end of Start Tag programme line 240330 in php/xml.php on line 28 Warning: simplexml_load_file(): <programme start=""$today" +0000" stop=""$day2" +0000" channel="PPV - Bite.iptvp in php/xml.php on line 28 Warning: simplexml_load_file(): ^ in php/xml.php on line 28 Warning: simplexml_load_file(): temp/epg_xmltv.xml:240335: parser error : Opening and ending tag mismatch: tv line 3 and programme in php/xml.php on line 28 Warning: simplexml_load_file(): </programme> in php/xml.php on line 28 Warning: simplexml_load_file(): ^ in php/xml.php on line 28 Warning: simplexml_load_file(): temp/epg_xmltv.xml:240336: parser error : Extra content at the end of the document in php/xml.php on line 28 Warning: simplexml_load_file(): <programme start=""$today" +0000" stop=""$day2" +0000" channel="PPV - Don't Look in php/xml.php on line 28 Warning: simplexml_load_file(): ^ in php/xml.php on line 28 Error: Cannot create object
and I also found many lines with similar error:
maybe you forgot to concatenate the string with your var ($today & $day2)Code:<programme start=""$today" +0000" stop=""$day2" +0000" channel="PPV - Bite.iptvprivateserver.tv">
UPDATE
your latest updates (16 minutes ago) is (almost) perfect... no errors found
but there are still some missing slots for few channels
THANK YOU BOSS!
UPDATE #2
now (almost) all channels' time-slots are filled with EPG data + meta... EXCELLENT !!!
Last edited by couch potato; 05-16-2016 at 02:34 PM.
@psycon
I found another bug
some channels in your xmltv file have different "display-name" with the channels' name grabbed from the iptv server
e.g. the name for channel #300 = "HBO East"
but the data in your xmltv file has different names:
Code:<channel id="I300.28458145.microsoft.com"> <display-name>HBO</display-name> <display-name>300 HBO</display-name> <display-name>300</display-name> <display-name>HBO (East)</display-name> </channel>
They won't match each other and the pvr-client will report "NO INFORMATION AVAILABLE"
So, you have to add more "display-name" tag-line to synchronize the epg channel
Code:<channel id="I300.28458145.microsoft.com"> <display-name>HBO</display-name> <display-name>300 HBO</display-name> <display-name>300</display-name> <display-name>HBO (East)</display-name> <display-name>HBO East</display-name> </channel>
not a bug really.. server just changed the name of the channel. ill fix that chan in the next pull
Greetings everybody. First and foremost, I'd like to thank psycon for all your hard work and dedication. Much appreciate amigo.
I too am having the blank EPG problem and I'm wondering if it's a problem with the backend or my set up.
I'm using
- Kodi 16.1 on Android
- PVR NFPS 1.0.3 (is there any reason why my PVR NFPS client doesn't automatically update?)
- Stalker EPG Updater 1.0.16 (Is this necessary if I'm using PVR NFPS?)
I tried the "</programme>" suggestion to no avail. I noticed psycon stated that the EPG is working with the updated version of PVR NFPS, however when I tried to use 1.0.8, it would crash my Kodi.
Is this a problem with the backend / EPG Updater, or is PVR NFPS 1.0.3 no longer supported, or both or something else? btw, if it matters, I'm using IKS so the server # in PVR NFPS 1.0.8 isn't necessary.
Thanks in advance.
update: Now channels are loading slowly, and some channels get a "Stalker Client NFPS" error. I'm assuming there is maintenance going on? Or is this because I'm using PVR NFPS version 1.0.3?
Last edited by Jmalibu; 05-17-2016 at 12:04 AM.
I found an issue with your latest update (9 hours ago)
there are some channel tag-lines with duplicated id
e.g. <channel id="I300.28458145.microsoft.com">
it has 3 tag-lines with duplicated id @
- line #3534
- line #58063
- line #213715
UPDATE:
nevermind boss
I've already injected my own patches into my addon for:
- channel naming standard
- tag-line duplicate remover
Last edited by couch potato; 05-17-2016 at 01:04 PM.