2017-07-18, 22:45
So the skin I work on provided a 720p folder with all the xml files. For Leia, I converted my layout to 1080/16:9 aspect. Following the example of Estuary (don't know why this is now preferred though) I placed all the new xml files in an xml folder, then modified addon.xml (again using Estuary as guidance) such that:
For no particular reason, I left the 720p folder in place. My understanding of the intent of addon.xml, is that only when screen resolution is set to 1280x720 the 720p folder would be used; otherwise for any other screen resolution the xml folder is used.
However, in looking at logs when my skin is first loaded, Kodi logs:
First, under windows screen resolution is 1920,1080 (Kodi set to full screen using window)
Eventually my skin starts loading:
then
So if I understand what is happening all my custom skin files from xml folder are read, then the 720p folder, even though there should be no need to load those files given the addon.xml says use xml folder for current screen resolution? Then Kodi errors on all the "custom" xml files that of course are duped in each of the two folders.
So I guess I have no understanding of how multiple skin xml resolution folders along with addon.xml are supposed to work?
scott s.
.
Code:
<extension point="xbmc.gui.skin" effectslowdown="0.75" debugging="false">
<res width="1920" height="1440" aspect="4:3" default="false" folder="xml" />
<res width="1920" height="1280" aspect="3:2" default="false" folder="xml" />
<res width="1920" height="1200" aspect="16:10" default="false" folder="xml" />
<res width="2040" height="1080" aspect="17:9" default="false" folder="xml" />
<res width="1920" height="1080" aspect="16:9" default="true" folder="xml" />
<res width="1280" height="720" aspect="16:9" default="true" folder="720p"/>
<res width="2560" height="1080" aspect="21:9" default="false" folder="xml" />
</extension>
For no particular reason, I left the 720p folder in place. My understanding of the intent of addon.xml, is that only when screen resolution is set to 1280x720 the 720p folder would be used; otherwise for any other screen resolution the xml folder is used.
However, in looking at logs when my skin is first loaded, Kodi logs:
First, under windows screen resolution is 1920,1080 (Kodi set to full screen using window)
Code:
DEBUG: CWinEventsWin32::WndProc: window resize event
DEBUG: CWinEventsWin32::WndProc: window move event
DEBUG: CWinSystemWin32::ResizeInternal - resizing due to size change (0,0,1920,1080 fullscreen)->(0,0,1920,1080 fullscreen)
DEBUG: CWinEventsWin32::WndProcWindow is active
Eventually my skin starts loading:
Code:
INFO: Loading custom window XMLs from skin path E:\Media\Kodi 18 A1 0629\portable_data\addons\skin.aeonmq5.leiamod\xml
then
Code:
INFO: Loading custom window XMLs from skin path E:\Media\Kodi 18 A1 0629\portable_data\addons\skin.aeonmq5.leiamod\720p
ERROR: No id specified or id already in use for custom window in CustomCode.xml
ERROR: No id specified or id already in use for custom window in CustomDelay.xml
...
So if I understand what is happening all my custom skin files from xml folder are read, then the 720p folder, even though there should be no need to load those files given the addon.xml says use xml folder for current screen resolution? Then Kodi errors on all the "custom" xml files that of course are duped in each of the two folders.
So I guess I have no understanding of how multiple skin xml resolution folders along with addon.xml are supposed to work?
scott s.
.