Deprecated uEPG - Universal EPG Framework
#47
(2020-03-22, 05:03)Tony5856 Wrote:
(2020-03-22, 02:54)Lunatixz Wrote:
(2020-03-22, 01:51)Tony5856 Wrote: Once again, great module you have made, i'm loving it!

I have set up a custom skin in my addon folder and it works great with uepg.
Is it possible to use two different skin folders with uepg?
For example, a 1080i folder for one section of my addon and a 720p folder for a different section of my addon.
I have looked through the code in uepg and it seems as though it looks for any folder named 1080i, 720p, or xml and uses one if it exists.

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
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, 08:36


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