Release script.embuary.helper - a skin helper service / widgets alternative
#13
@Hitcher 
Another approach just as suggestion. If you want I can add this window property directly to the script so it always sets a loading property + and clears it once endDirectory is reached.

In DialogVideoInfo.xml
Code:

    <onload>SetProperty(CL,1,home)</onload>
    <onload>AlarmClock(clearCL,ClearProperty(CL,home),00:01,silent)</onload>

Container layout:
xml:


                        <itemlayout condition="!String.IsEmpty(Window(Home).Property(CL))">
                                  ---- loading spinner for example ---
                        </itemlayout>
                        <itemlayout condition="String.IsEmpty(Window(Home).Property(CL))" width="257">
                            <control type="group">
                                <left>70</left>
                                <top>64</top>
                                <include content="CastLayout">
                                    <param name="mainlabel" value="$PARAM[mainlabel]" />
                                    <param name="sublabel" value="$PARAM[sublabel]" />
                                    <param name="labels_visible" value="$PARAM[labels_visible]" />
                                    <param name="focused" value="false" />
                                    <param name="id" value="$PARAM[id]" />
                                </include>
                            </control>
                        </itemlayout>
                        <focusedlayout condition="!String.IsEmpty(Window(Home).Property(CL))">
                                  ---- loading spinner for example ---
                        </focusedlayout>
                        <focusedlayout condition="String.IsEmpty(Window(Home).Property(CL))" width="257">
                            <control type="group">
                                <left>70</left>
                                <top>64</top>
                                <include content="CastLayout">
                                    <param name="mainlabel" value="$PARAM[mainlabel]" />
                                    <param name="sublabel" value="$PARAM[sublabel]" />
                                    <param name="labels_visible" value="$PARAM[labels_visible]" />
                                    <param name="focused" value="true" />
                                    <param name="id" value="$PARAM[id]" />
                                </include>
                            </control>
                        </focusedlayout>
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply


Messages In This Thread
RE: script.embuary.helper - a (maybe) skin helper service / widgets alternative - by sualfred - 2019-07-18, 13:07
Logout Mark Read Team Forum Stats Members Help
script.embuary.helper - a skin helper service / widgets alternative3