Hmm, am trying to add Delete_Eps_After_Watching prompt to Nox like Simplicity. Everything worked fine until onboard was implemented on 1bb7e0a88b38d4f1c76b3dc2a3e0603beda326f5.
The top of my original MyVideoNav.xml file looked like this:
Code:
<window id="25">
<defaultcontrol always="true">9999</defaultcontrol>
<allowoverlay>no</allowoverlay>
<views>50,51,501,504,503,500,508,509,512,514,516,505,510,511,550,560,55,517</views>
<controls>
<control type="button" id="9999">
<description>trigger</description>
<visible>Container.Content(TVShows) | Container.Content(Episodes)</visible>
<include condition="!Skin.HasSetting(DeleteEps)">No_Delete_Eps</include>
<include condition="Window.Previous(FullScreenVideo) + !Player.HasVideo + Skin.HasSetting(DeleteEps)">Delete_Eps</include>
<onfocus>SetFocus(50)</onfocus>
<texturenofocus>-</texturenofocus>
<texturefocus>-</texturefocus>
</control>
<control type="button" id="9999">
<description>trigger</description>
<onfocus>SetFocus(50)</onfocus>
<texturenofocus>-</texturenofocus>
<texturefocus>-</texturefocus>
<visible>!Skin.HasSetting(tv_theme)</visible>
<enable>!Skin.HasSetting(tv_theme)</enable>
</control>
With 1bb7e0a88b38d4f1c76b3dc2a3e0603beda326f5 it looks like this
Code:
<window id="25">
<defaultcontrol always="true">50</defaultcontrol>
<onload condition="Skin.HasSetting(tv_theme) + System.HasAddon(script.tvtunes)">XBMC.RunScript(script.tvtunes,backend=True)</onload>
<allowoverlay>no</allowoverlay>
<views>50,51,501,504,503,500,508,509,512,514,516,505,510,511,550,560,55,517</views>
<controls>
<control type="button" id="9999">
<description>trigger</description>
<visible>Container.Content(TVShows) | Container.Content(Episodes)</visible>
<include condition="!Skin.HasSetting(DeleteEps)">No_Delete_Eps</include>
<include condition="Window.Previous(FullScreenVideo) + !Player.HasVideo + Skin.HasSetting(DeleteEps)">Delete_Eps</include>
<onfocus>SetFocus(50)</onfocus>
<texturenofocus>-</texturenofocus>
<texturefocus>-</texturefocus>
</control>
Now while it works, movie navigation is frozen. How would I correctly fix this other than reverting 1bb7e0a88b38d4f1c76b3dc2a3e0603beda326f5 (which is easy to do, but I want to learn how to actually do it properly). I know the defaultcontrol value changed but I don't know how to alter the delete_eps code below to fit without borking everything to hell.