Deprecated uEPG - Universal EPG Framework
#31
(2020-03-10, 18:45)Lunatixz Wrote:
(2020-03-10, 07:00)Tony5856 Wrote:
(2020-03-10, 05:24)Tony5856 Wrote: Thanks for the response. I have started with a fresh install of kodi 18, and created a new addon for testing. 
I have used guidedata based on the example given in the uepg module. My guide data is this

Guide_Data ={
    "channelname": "Test Channel 1",
    "channelnumber": 1,
    "channellogo": "",
    "isfavorite": "False",
    "guidedata": [{
        "url": "",
        "starttime": 1583807560,
        "endtime": 0,
        "runtime": 3600,
        "label": "Test show 1",
        "label2": "HD",
        "art": {
            "thumb": ""
        },
        "streamdetails": {
            "video": ""
        }
    }]
}

and the code to call uepg is,

xbmc.executebuiltin("RunScript(script.module.uepg,json=%s&refresh_path=%s&refresh_interval=%s&row_count=%s&include_hdhr=false)"%(urllib.quote_plus(json.dumps(list(Guide_Data))),(sys.argv[0]+"?mode=1"),7200,5))

When i run the addon it open a blank window and a popup says there is an error, but looking at the log I can not find the error.
The log is here,

https://www.dropbox.com/s/jdtcc4c2n0odau...0.log?dl=1

What am I doing wrong please.  

I forgot to turn on debugging in the eupg module, here is the log with dubug,

https://www.dropbox.com/s/pd0kim3vt8rypry/kodi.log?dl=1  
Don't mean to be a pain, please post logs here: https://paste.kodi.tv/ THX. 
I have done some testing since the last post.
my guide data is this

Guide_Data ={ "channelname": "Test Channel 1", 
"channelnumber": 14, 
"channellogo": "", 
"isfavorite": "False", 
"guidedata": [{
    "url": "", 
    "starttime": 1583807560, 
    "endtime": 0, 
    "runtime": 3600, 
    "label": "Test show 1", 
    "label2": "HD", 
    "art": {
        "thumb": ""}, 
    "streamdetails": {
        "video": ""}
    }]
}

and the call to uepg is,
xbmc.executebuiltin("RunScript(script.module.uepg,json=%s&refresh_path=%s&refresh_interval=%s)"%(urllib.quote(json.dumps(list(Guide_Data))),(sys.argv[0]+"?mode=1"),(urllib.quote("7200"))))

I pasted the log as you requested, i hope i did it right, lol

https://paste.kodi.tv/ritamozivu.kodi

Thanks again,
Tony
Reply


Messages In This Thread
uEPG - Universal EPG Framework - by Lunatixz - 2017-09-08, 19:50
RE: uEPG - Universal EPG Module - by Lunatixz - 2017-09-08, 19:50
RE: uEPG - Universal EPG Module - by zoomin - 2020-04-18, 12:42
RE: uEPG - Universal EPG Framework - by Tony5856 - 2020-03-10, 19:40
RE: uEPG - Universal EPG Framework - by umiki - 2020-03-09, 22:35
RE: uEPG - Universal EPG Framework - by umiki - 2020-03-10, 19:21
Logout Mark Read Team Forum Stats Members Help
uEPG - Universal EPG Framework1