kodi-pvr / pvr.dvbviewer

Kodi's DVBViewer client addon
GNU General Public License v2.0
11 stars 26 forks source link

iptv no epg #66

Closed dellas60 closed 7 years ago

dellas60 commented 7 years ago

when i'm on dvbviewer there's epg from iptv(vu+),but on kodi with your great addon there is no epg

manuelm commented 7 years ago

The EPG get's pulled using the RS API. Do you see EPG entries in the RS webinterface or by visiting http://:8089/api/epg.html ?

If you use some external data feed make sure to insert the data into the RS. But I'm not sure if that's possible.

dellas60 commented 7 years ago

i use dms 2.0.2,and yes i see epg on dms web interface from dvbs and iptv,but on kodi i can see only epg from dvbs channel

manuelm commented 7 years ago

Which Kodi or PVR version?

dellas60 commented 7 years ago

kodi 17.3 and kodi 18 alpha(milhouse)/dvbviewer 3.0.5

manuelm commented 7 years ago

So you're missing EPG in both Kodi versions?

Edit: Did this suddenly appear? EPG is working fine here so I'm wondering if its related to DMS your DMS version.

dellas60 commented 7 years ago

no,since the dms 2.0.0. the problem is appear only for iptv there is no problem with dvb s epg

manuelm commented 7 years ago

I assume DMS doesn't export the EPG for IPTV. For further debugging you can either look at the output from http://<rs_ip>:8089/api/epg.html?lvl=2&channel=<epg_id> yourself, the value for epg_id can be fetched from http://<rs_ip>:8089/api/getchannelsxml.html?fav=1&subchannels=1&upnp=1&logo=1

or create + pastebin a Kodi debug log which allows me to extract you the url.

dellas60 commented 7 years ago

How to create + pastebin a Kodi debug log

manuelm commented 7 years ago

See http://kodi.wiki/view/Log_file/Easy

dellas60 commented 7 years ago

thanks

dellas60 commented 7 years ago

https://gist.github.com/anonymous/0820acc6aad35f36702bb2fe9692a0d8

dellas60 commented 7 years ago

when i put epg id there is no epg on iptv channel i get only epg Ver="2"

manuelm commented 7 years ago

Well, you have a lot of channels defined. Grepping for Loaded x EPG entries for channel ... doesn't yield a single EPG entry. All your channels have 0 EPG entries.

Can you name me a channel which has EPG in the DMS webinterface? I'm not talking about any EPG in the dvbviewer application.

dellas60 commented 7 years ago

MBC 1 on divers group has epg (dvbs),but on mbc group has no epg (iptv)

manuelm commented 7 years ago

MBC 1 on divers group has epg (dvbs),but on mbc group has no epg (iptv)

RS API says NILSAT/MBC 1 and mbc/MBC 1 do not have any EPG:

[...]
15:59:41.850 T:139713155405568   DEBUG: CurlFile::Open(0x7f10e0005da0) http://192.168.1.110:8089/api/epg.html?lvl=2&channel=571746048281330&start=42906.624769&end=42910.624769
15:59:41.850 T:139713155405568    INFO: AddOnLog: DVBViewer Client: Loaded 0 EPG entries for channel 'MBC 1'
[...]
15:59:42.525 T:139713155405568   DEBUG: CurlFile::Open(0x7f10e0005e00) http://192.168.1.110:8089/api/epg.html?lvl=2&channel=2073305426052460&start=42906.624769&end=42910.624769
15:59:42.525 T:139713155405568    INFO: AddOnLog: DVBViewer Client: Loaded 0 EPG entries for channel 'MBC 1'
[...]

Can you provide a screenshot which clearly shows that NILSAT/MBC 1 or mbc/MBC 1 actually has EPG? I still doubt that.

PS: Debugging with a few channels is a lot easier than with 8512. So if you want to further diagnose the problem (after showing me the screenshot) I kindly ask you to reduce your channels and make their names unique.

dellas60 commented 7 years ago

with mbc only https://gist.github.com/dellas60/b63bde872d29616f892706e87c7ab068

manuelm commented 7 years ago

The new log doesn't contain any new information.

Can you provide a screenshot which clearly shows that NILSAT/MBC 1 or mbc/MBC 1 actually has EPG? I still doubt that.

dellas60 commented 7 years ago

screenshot001 screenshot002

manuelm commented 7 years ago

I'm not asking about screenshots from Kodi or from the Dvbviewer application. I'm asking about screenshots from the DMS webinterface which shows the missing EPG.

dellas60 commented 7 years ago

capture capture2

manuelm commented 7 years ago

Thank you. I'll ask in the dvbviewer forum about your issue. I still don't see anything wrong on the PVR side.

One last thing. Can you pastebin me your channel list? The reduced one would be preferred. You can export it from the RS API endpoint: http://:8089/api/getchannelsxml.html?subchannels=1&logo=1

manuelm commented 7 years ago

What's the output of: http://192.168.1.110:8089/api/epg.html?lvl=2&channel=2073305426052460&start=42906.729329&end=42910.729329 ? Is it empty/<epg Ver="2"/> or do you actually see some entries?

Also if you happen to have an android device you can test the dvbviewer app (it's free) and verify you actually have EPG entries there. It's using the same API as the PVR.

dellas60 commented 7 years ago

yes empty,and for android app same problem no epg for iptv

manuelm commented 7 years ago

Ok, thank you. I've asked about your issue in an internal dvbviewer forum. I assume the DMS webinterface has either access to some extra EPG which the API doesn't have or it's just a bug. We'll see.

dellas60 commented 7 years ago

ok thank you for your help

manuelm commented 7 years ago

Which tool are you using to import the (external) EPG for the IPTV channels?

manuelm commented 7 years ago

Tjod from the dvbviewer team asked what kind of channel your IPTV channels are. Do you have added them as TS streams or as DVB IPTV? You can check their type in the channellist editor. If they are of type DVB IPTV it's the best to remove and add them as TS streams again.

dellas60 commented 7 years ago

Yes the format is ts streams.and no epg

dellas60 commented 7 years ago

There is no tool,dvbbviewer scan m3u channel list (put as ts stream) from vu+ (enigma2), and get epg auto without tool

manuelm commented 7 years ago

According to Griga from the DVBViewer team your vu+ device might send the EPG as part of the TS-stream and the DMS webinterface is doing a fallback to the DVB-S EPGID schema if no EPG has been found. Right know there is nothing a DMS API consumer like my PVR or the android app can do.

dellas60 commented 7 years ago

Ok,thank you

manuelm commented 7 years ago

Griga has implemented a fix for this in the DMS. You might contact him for a beta test or just wait for the next release.

dellas60 commented 7 years ago

Thank you,you are the best.but he can give me beta test.

manuelm commented 7 years ago

Closing this. It's fixed in DMS