Deprecated uEPG - Universal EPG Framework
#48
(2020-03-22, 08:36)Tony5856 Wrote:
(2020-03-22, 05:03)Tony5856 Wrote:
(2020-03-22, 02:54)Lunatixz Wrote: Thanks.... Yes, it's possible on your end to write a function that determines skin path for use in uEPG.

EX. Pseudocode

def getSkinPath():
   res = xbmcgui.getResolution() # https://codedocs.xyz/xbmc/xbmc/group__py...91c294d9e1
   return  'special://plugin.video.example/resources/skins/default_%s/'%(res)
xbmc.executebuiltin("RunScript(script.module.uepg,json=%s&skin_path=%s&refresh_path=%s&refresh_interval=%s&row_count=%s)"%(getGuide(),getSkinPath(),'','7200','6')))

BTW can you post a screenshot of your skin?  
Here are a couple of screen shots. 

https://www.dropbox.com/s/jcm9dgcd8z03vh...9.png?dl=1

https://www.dropbox.com/s/vh5rz1fiebqk69...9.png?dl=1

Thanks for the help!   
Those are my first attempt at skinning by the way.
Trying to add any folder deeper than the addon path is causing an error.
This is as deep as it will allow me,

C:\Users\hoise\Desktop\Tonys_build3\Kodi\portable_data\addons\plugin.video.tvfanatic

Here is the error

                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.RuntimeError'>
                                            Error Contents: XML File for Window is missing
                                            Traceback (most recent call last):
                                              File "C:\Users\hoise\Desktop\Tonys_build3\Kodi\portable_data\addons\script.module.uepg\uepg.py", line 299, in <module>
                                                if data is not None: initChannels(params, data, dataType)
                                              File "C:\Users\hoise\Desktop\Tonys_build3\Kodi\portable_data\addons\script.module.uepg\uepg.py", line 275, in initChannels
                                                channelLST.myEPG = epg.uEPG('%s.guide.xml'%utils.ADDON_ID,channelLST.skinPath,'default')
                                            RuntimeError: XML File for Window is missing
                                            -->End of Python script error report<--

Any ideas?
Thanks  
As a workaround, i have just added a sub directory and placed the skin folders in there.

On a side note, if I wanted to skin my addon itself, would i need to change it to a script.module?
I'm not sure how to call the window to use, should it be a view instead?
Is there any documentation for skinning an addon specifically, not just skinning a skin?

Thanks again
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 umiki - 2020-03-09, 22:35
RE: uEPG - Universal EPG Framework - by umiki - 2020-03-10, 19:21
RE: uEPG - Universal EPG Framework - by Tony5856 - 2020-03-22, 19:10


Logout Mark Read Team Forum Stats Members Help
uEPG - Universal EPG Framework1
This forum uses Lukasz Tkacz MyBB addons.