2020-03-22, 19:10
(2020-03-22, 08:36)Tony5856 Wrote:As a workaround, i have just added a sub directory and placed the skin folders in there.(2020-03-22, 05:03)Tony5856 Wrote:Those are my first attempt at skinning by the way.(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.Here are a couple of screen shots.
EX. Pseudocode
python:
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?
https://www.dropbox.com/s/jcm9dgcd8z03vh...9.png?dl=1
https://www.dropbox.com/s/vh5rz1fiebqk69...9.png?dl=1
Thanks for the help!
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
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