Kodi Community Forum

Full Version: Conditionally Include file - broken on kodi startup
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Something has changed with Kodi Leia after the nightly's in june.

I cant pinpoint the exact version i started having issues.

On kodi startup i have two conditional includes for xml's. (includes.xml)
Code:
<include condition="!Skin.HasSetting(HomeVertical)" file="Includes_Home_Horizontal.xml"/>
<include condition="Skin.HasSetting(HomeVertical)" file="Includes_Home_Vertical.xml"/>


Using "kodisetup-20170629-4461f46f96-master-x86.exe" nightly. Works as expected.
Using "KodiSetup-20170808-b6318a5472-master-x86.exe" nighly. Not working until a skin refresh after loading kodi.
This should be fixed already in latest master. See https://github.com/xbmc/xbmc/pull/12519
Always try and use latest master if you think you found something
Thanks BigNoid and Martijn. Working with the latest nightly.