2020-03-15, 12:28
(2020-03-08, 08:36)BlissSol Wrote: I Wondering if anyone has any suggestions...I solved my own issue;
I compiled my own build of Kodi (18.6 Leia) for Windows x64, and changed the default skin to Xonfluence, and included various addon's into the source.
The problem i have is that when it built the project, for some reason it skipped the 'media' folder for the skin - i discovered this by adding the advancedsettings.xml to enable debugging when running;
I then confirmed this by going into the folder 'Program files\kodi\addons\skin.xonfluence... and sure enough no media folder;
But if i go back to my source it was compiled from, the media folder exists within the xonfluence skin folder.
Obviously i added addons/skin.xonfluence/* into the \cmake\installdata\common\addons.txt
I added <addon>skin.xonfluence</addon> into the \system\addon-manifest.xml
And i changed \system\settings\settings.xml to have this...
<setting id="lookandfeel.skin" type="addon" label="166" help="36103">
<level>0</level>
<default>skin.xonfluence</default>
<constraints>
<addontype>xbmc.gui.skin</addontype>
</constraints>
<control type="button" format="addon">
<show more="true" details="true">installed</show>
</control>
</setting>
Did i need to add more into the settings.xml, or was it possibly unhappy as the media folder has been prebuilt with texture packer?
If it was due to the folder being prebuilt - is it possible to get the folder which hasn't been compiled with texture packer - as it doesn't seem to exist in the Git repo?
By unpacking the XBT files in the media folder to the base images using the Kodi Texture Tool, I was able to successfully build Kodi & have xonfluence working properly as the default skin.
Interestingly enough, the build process didn't repack all the images back into an xbt file - and my kodi runs without any images packed (thus no xbt files).
It may be that the build process will only pack\build images for the 2 usual default skins (thus it didn't pack\build an xbt file for xonfluence) - but i have bothered to dig that far into it.
Here's the Kodi Texture Tool, for unpacking or repacking XBT files;
https://forum.kodi.tv/showthread.php?tid=201883