• Vítejte na XBMC-Kodi.cz
  • Česko-slovenská komunita fanoušků XBMC/Kodi
Vítejte návštevníku! Přihlášení Registrace


Hodnocení tématu:
  • 1 Hlas(ů) - 5 Průměr
  • 1
  • 2
  • 3
  • 4
  • 5
Skin Confluence
#81
Chybí tam Trakt.tv? Nomohu najít
 
Citovat
#82
@hrabex: Nechybí. Nastavení vzhledu/Nastavení SCC, zaškrtnout Trakt
X96max plus 4/32 + CE 21 + skin Confluence SCC / TV Samsung QE55Q6FNA
X96max plus 4/32 + CE 20.5 + skin Confluence SCC

AVR Denon 1600H / Dali Spektor 5.1
Win10pro + Kodi19.5
NAS Synology 215j 3TB Raid1
Router Turris 1.1
 
Citovat
#83
Další aktualizace pro uživatele skinu Confluence SCC zde: https://github.com/h4nzi/skin.confluence.scc/tree/nexus. Vyhledávání a rozšířené info o hodnocení podle platforem. Platí jen pro Nexus. Opět díky @JiRo:


Přiložené soubory Miniatury
               
X96max plus 4/32 + CE 21 + skin Confluence SCC / TV Samsung QE55Q6FNA
X96max plus 4/32 + CE 20.5 + skin Confluence SCC

AVR Denon 1600H / Dali Spektor 5.1
Win10pro + Kodi19.5
NAS Synology 215j 3TB Raid1
Router Turris 1.1
 
Citovat
#84
@JiRo: Prosím o pomoc. Podle tvého námětu v Estuary Easy (xbmc-kodi.cz) jsem si kdysi udělal testovací okno. Nyní jsem potřeboval simulovat nahrávání, abych zjistil umístění ikony nahrávání. Napřed jsem to provedl zakomentováním dvou řádků v Home.xml:
 
Kód:
<visible>Container(9000).HasFocus(12) + [PVR.IsRecording | PVR.HasNonRecordingTimer]</visible>
<visible>PVR.HasNonRecordingTimer</visible>

Výsledku jsem docílil, ale když jsem chtěl stejného výsledku docílit vnucením property, nejde mi to. Co dělám špatně?
 
Kód:
<control type="button" id="1207">
                        <include>TestsWindows</include>
                        <label>Fake Recording</label>
                        <label2>$INFO[Window(Home).Property(PVR.HasNonRecordingTimer)]</label2>
                        <onclick condition="String.IsEmpty(Window(Home).Property(PVR.HasNonRecordingTimer))">SetProperty(PVR.HasNonRecordingTimer, True, Home)</onclick>
                        <onclick condition="String.IsEqual(Window(Home).Property(PVR.HasNonRecordingTimer),True)">SetProperty(PVR.HasNonRecordingTimer, False, Home)</onclick>
                        <onclick condition="String.IsEqual(Window(Home).Property(PVR.HasNonRecordingTimer),False)">ClearProperty(PVR.HasNonRecordingTimer, Home)</onclick>
            </control>
 
Napadá mě jediná věc, že property není ve tvaru string a proto ji skin nevidí, ale nenašel jsem tvar, ve kterém má být.

Pozn. Sice můžu ve všech IPTV účtech nahrávat, ale tato možnost se mi přes IPTV WS do IPTV SC nepropíše.


Přiložené soubory Miniatury
   
X96max plus 4/32 + CE 21 + skin Confluence SCC / TV Samsung QE55Q6FNA
X96max plus 4/32 + CE 20.5 + skin Confluence SCC

AVR Denon 1600H / Dali Spektor 5.1
Win10pro + Kodi19.5
NAS Synology 215j 3TB Raid1
Router Turris 1.1
 
Citovat
#85
@jkmh Já to tedy tak úplně nechápu, co vlastně děláš. Ale jestli je to tak, jak si myslím, že se snažíš pomocí Clear/SetProperty změnit hodnotu v Infolabel PVR.HasNonRecordingTimer, který se ve skinu testuje, tak to takhle udělat nemůžeš. Property definovaná pomocí Clear/SetProperty, i když se jmenuje stejně, jako Infolabel nebo logická proměnná, s ním nemá nic společného. To jsou dva odlišné datové objekty. Ten první je definován v rámci jádra Kodi,  jde-li o logickou proměnnou, je typu boolean a obsahuje hodnotu závisící na vnitřní funkci PVR (v tomto konkrétním případě). Druhý je definován pomocí uživatelské funkce Clear/SetProperty, vztažen k nějakému oknu, je typu string a pokud chceš použít jeho hodnotu ve skinu v rámci $INFO[] nebo v nějakém testu, musí to být pomocí funkce Window(Home).Property().

A už vůbec jsem nepochopil toto:
Citace:Pozn. Sice můžu ve všech IPTV účtech nahrávat, ale tato možnost se mi přes IPTV WS do IPTV SC nepropíše.

Aha, už mi to došlo, IPTV WS je IPTV Web Server a IPTV SC je IPTV SImple Client. Mám pravdu?

S tímhle ti bohužel neporadím. Já stále jedu před TVheadend, takže mi tohle trochu uniká. Ale asi tuším o co jde. Problém bude v tom, že nová verze IPTV Simple Clienta umí do OTT služby propasírovat reqeust startu nahrávání, ale asi ji nenastavuje v logických proměnných PVR. Ale je to divné. Jak je to v případě EPG. Pokud si nastavíš nahrávání u nějakého pořadu, tak se to promítne do EPG?

Hele, a není něco u popisu IPTV SC v github? Tam je poměrně dost informací, jednak o tom, co všechno se dá použít v playlistu, ale myslím, že tam budou i nějaké další informace. Mrkni se tam...
 
Citovat
#86
@JiRo: Dík za reakci. Ano, zkratky jsi pochopil správně.  1
A teď k původnímu dotazu. Tu simulaci nahrávání jsem jen chtěl kvůli zobrazení řízeného svislého posunu ikony nahrávání podle zobrazení/zakázání informací, které jsou nad ní. (počasí, svátky atd.) Nechtěl jsem zkrátka zasahovat do kódu, abych si nuceně zobrazil ikonu nahrávání vždy, když potřebuji vidět výsledek posunu. Viz ikona pod počasím ve screenshotu. Nijak to nesouvisí s provozem běžného uživatele skinu. Dostal jsem se k tomu díky jednomu uživateli, který mě upozornil, že když si spustí nahrávání, tak mu ikona ve skinu překrývá s  počasím.

Ta pozn. sloužila jen k informaci, proč to zobrazení ve skinu dělám složitě simulací a ne spuštěním skutečného nahrávání v PVR.
X96max plus 4/32 + CE 21 + skin Confluence SCC / TV Samsung QE55Q6FNA
X96max plus 4/32 + CE 20.5 + skin Confluence SCC

AVR Denon 1600H / Dali Spektor 5.1
Win10pro + Kodi19.5
NAS Synology 215j 3TB Raid1
Router Turris 1.1
 
Citovat
#87
Ahoj ako pridať DialogButtonMenu  reboot to Android Confluence SCC .
Kód:
<?xml version="1.0" encoding="UTF-8"?>
<window type="buttonMenu">
    <defaultcontrol>9001</defaultcontrol>
    <include>dialogeffect</include>
    <coordinates>
        <left>0</left>
        <top>0</top>
    </coordinates>
    <controls>
        <control type="button" id="9001">
            <description>Make sure we hit the first button in the group list and not the close window button</description>
            <left>-16</left>
            <top>-16</top>
            <width>4</width>
            <height>4</height>
            <label/>
            <font/>
            <onfocus>down</onfocus>
            <texturefocus/>
            <texturenofocus/>
            <onleft>9000</onleft>
            <onright>9000</onright>
            <onup>9000</onup>
            <ondown>2</ondown>
        </control>
        <control type="image">
            <left>0</left>
            <top>0</top>
            <width>1280</width>
            <height>720</height>
            <texture>black-back.png</texture>
        </control>
        <control type="grouplist" id="9000">
            <left>470</left>
            <top>0</top>
            <width>340</width>
            <height>720</height>
            <onleft>9000</onleft>
            <onright>9000</onright>
            <onup>9000</onup>
            <ondown>9000</ondown>
            <itemgap>0</itemgap>
            <align>center</align>
            <control type="group" id="1">
                <width>340</width>
                <height>30</height>
                <control type="image">
                    <description>background top image</description>
                    <left>0</left>
                    <top>0</top>
                    <width>340</width>
                    <height>30</height>
                    <texture border="20,19,20,0">DialogContextTop.png</texture>
                </control>
                <control type="button" id="20">
                    <description>Close Window button</description>
                    <left>260</left>
                    <top>5</top>
                    <width>64</width>
                    <height>32</height>
                    <label/>
                    <font/>
                    <onclick>PreviousMenu</onclick>
                    <texturefocus>DialogCloseButton-focus.png</texturefocus>
                    <texturenofocus>DialogCloseButton.png</texturenofocus>
                    <onleft>2</onleft>
                    <onright>13</onright>
                    <onup>13</onup>
                    <ondown>2</ondown>
                    <visible>system.getbool(input.enablemouse)</visible>
                </control>
            </control>
            <control type="button" id="2">
                <description>Exit button</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>Quit()</onclick>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>13012</label>
                <visible>System.ShowExitButton</visible>
            </control>
            <control type="button" id="3">
                <description>Shutdown button</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>Powerdown()</onclick>
                <visible>System.CanPowerDown</visible>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>13016</label>
            </control>
            <control type="button" id="4">
                <description>Custom Shutdown Timer</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>AlarmClock(shutdowntimer,Shutdown())</onclick>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>20150</label>
                <visible>!System.HasAlarm(shutdowntimer)</visible>
                <visible>System.CanPowerDown | System.CanSuspend | System.CanHibernate</visible>
            </control>
            <control type="button" id="5">
                <description>Cancel Shutdown Timer</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>CancelAlarm(shutdowntimer)</onclick>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>20151</label>
                <visible>System.HasAlarm(shutdowntimer)</visible>
            </control>
            <control type="button" id="6">
                <description>Suspend button</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>Suspend()</onclick>
                <visible>System.CanSuspend</visible>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>13011</label>
            </control>
            <control type="button" id="7">
                <description>Hibernate button</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>Hibernate()</onclick>
                <visible>System.CanHibernate</visible>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>13010</label>
            </control>
            <control type="button" id="8">
                <description>Reboot button</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>Reset()</onclick>
                <visible>System.CanReboot</visible>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>13013</label>
            </control>
            <control type="button" id="15">
                <description>Reboot2 button</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>System.ExecWait("/usr/sbin/rebootfromnand")</onclick>
       <onclick>Reset()</onclick>
                <visible>System.CanReboot</visible>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>Reboot to Android</label>
            </control>

            <control type="button" id="9">
                <description>Logoff button</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>dialog.close(all,true)</onclick>
                <onclick>System.LogOff</onclick>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>$LOCALIZE[20126] $INFO[system.profilename]</label>
                <visible>System.HasLoginScreen | Integer.IsGreater(System.ProfileCount,1)</visible>
                <visible>System.Loggedon</visible>
            </control>
            <control type="togglebutton" id="10">
                <description>Master mode button</description>
                <width>340</width>
                <height>40</height>
                <label>20046</label>
                <altlabel>20045</altlabel>
                <align>center</align>
                <aligny>center</aligny>
                <textwidth>290</textwidth>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <usealttexture>!System.IsMaster</usealttexture>
                <alttexturefocus border="25,5,25,5">ShutdownButtonFocus.png</alttexturefocus>
                <alttexturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</alttexturenofocus>
                <onclick>mastermode</onclick>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <visible>System.HasLocks</visible>
            </control>
            <control type="group" id="11">
                <width>340</width>
                <height>70</height>
                <visible>System.HasAlarm(shutdowntimer)</visible>
                <control type="image">
                    <description>background top image</description>
                    <left>0</left>
                    <top>0</top>
                    <width>340</width>
                    <height>70</height>
                    <texture border="25,5,25,5">DialogContextMiddle.png</texture>
                </control>
                <control type="textbox">
                    <left>25</left>
                    <top>22</top>
                    <width>290</width>
                    <height>48</height>
                    <font>font12</font>
                    <textcolor>white</textcolor>
                    <shadowcolor>black</shadowcolor>
                    <align>center</align>
                    <label>$LOCALIZE[31329] [B]$INFO[System.Alarmpos][/B]</label>
                </control>
            </control>
            <control type="button" id="12">
                <description>Inhibit idle shutdown</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>InhibitIdleShutdown(true)</onclick>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>13017</label>
                <visible>System.HasShutdown +!System.IsInhibit</visible>
            </control>
            <control type="button" id="13">
                <description>Allow idle shutdown</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>InhibitIdleShutdown(false)</onclick>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>13018</label>
                <visible>System.HasShutdown + System.IsInhibit</visible>
            </control>
            <control type="image" id="14">
                <description>background bottom image</description>
                <left>0</left>
                <width>340</width>
                <height>25</height>
                <texture border="20,0,19,20">DialogContextBottom.png</texture>
            </control>
        </control>
    </controls>
</window>
 
Citovat
#88
@"romanschnierer@gmail.com" Můžeš otázku upřesnit? Confluence SCC přece tu volbu už obsahuje.
X96max plus 4/32 + CE 21 + skin Confluence SCC / TV Samsung QE55Q6FNA
X96max plus 4/32 + CE 20.5 + skin Confluence SCC

AVR Denon 1600H / Dali Spektor 5.1
Win10pro + Kodi19.5
NAS Synology 215j 3TB Raid1
Router Turris 1.1
 
Citovat
#89
Confluence SCC , nema  restart to interne ulozisko  iba restar ,ale automaticky bude prve restartovat Nokia 8010 iba na usb coreelec poprosil o pridatie ..
Kód:
<?xml version="1.0" encoding="UTF-8"?>
<overrides>
   <override action="RebootToAndroid">
        <action>System.ExecWait("/usr/sbin/rebootfromnand")</action>
        <action>XBMC.Reboot()</action>
   </override>
</overrides>
 
Citovat
#90
@"romanschnierer@gmail.com"Promiň, ale má. Vím, co jsem programoval. Viz oranžový text ve screenshotu - to je korektní název funkce. Funkce se nezaobírá tím, jaký OS je v NAND. Jen říká restartuj z NAND. Stejná funkce je v tebou uveřejněném souboru pod <control type="button" id="15">.

Pokud to tam nemáš, pak mám jediné vysvětlení: Tvůj TV box má zamčený bootloader a Kodi, pokud jede z karty či flešky, si tím pádem neumí do Androidu sáhnout. Ale tuto domněnku nemám jak vyzkoušet.


Přiložené soubory Miniatury
   
X96max plus 4/32 + CE 21 + skin Confluence SCC / TV Samsung QE55Q6FNA
X96max plus 4/32 + CE 20.5 + skin Confluence SCC

AVR Denon 1600H / Dali Spektor 5.1
Win10pro + Kodi19.5
NAS Synology 215j 3TB Raid1
Router Turris 1.1
 
Citovat
#91
No nemam to oranžové txt .Nejde pridat prikaz do context menu ?
 
Citovat
#92
Jakou máš vůbec verzi skinu? Context menu se ve skinu neprogramuje. Je součástí Kodi core popř., jednotlivých doplňků. Ale pokud máš tebou uveřejněný kód odzkoušený, pak si ho do Dialog button menu přidej. Jen nezapomeň, že musí mít jedinečné ID tlačítka.

Ještě mě napadá jedno: přepni si skin na zkoušku do defaulního Estuary. Ten má tuto funkci vestavěnou již od tvůrců Kodi. Jestli ji nebudeš mít ani tam, Android ji zakazuje a nic s tím neuděláš.
X96max plus 4/32 + CE 21 + skin Confluence SCC / TV Samsung QE55Q6FNA
X96max plus 4/32 + CE 20.5 + skin Confluence SCC

AVR Denon 1600H / Dali Spektor 5.1
Win10pro + Kodi19.5
NAS Synology 215j 3TB Raid1
Router Turris 1.1
 
Citovat
#93
@jkmh U některých instalací jsem viděl pro tu položku menu Restartovat do Android i jiné podmínky zobrazení, i když osobně jsem jiné, než /dev/system nikdy nepoužil.

Může zkusit tu podmínku rozšířit:
 
Kód:
<visible>System.PathExist("/dev/system") | System.PathExist("/dev/userdata") | System.PathExist("/dev/super")</visible>

A nebo ještě jednodušeji, naopak tu podmínku <visible> zrušit úplně.
 
Citovat
#94
Verzia  skinou Test na vsetkych verziach .Pouzivam tu  Confluence SCC 720p  \\COREELEC\Addons\skin.confluence.scc\720p . som upravil DialogButtonMenu.xml  uz je aj- reboot to android -funkce  viac code uprava DialogButtonMenu.xml Dik za dobry skin a doplnky .  Defaltnom skine  Estuary  to ide ale zakadim prepinat skin nebolo najlepsie riesenie,tak som teraz spokojni ze je to funkce skin.confluence.scc.
Kód:
<?xml version="1.0" encoding="UTF-8"?>
<window type="buttonMenu">
    <defaultcontrol>9001</defaultcontrol>
    <include>dialogeffect</include>
    <coordinates>
        <left>0</left>
        <top>0</top>
    </coordinates>
    <controls>
        <control type="button" id="9001">
            <description>Make sure we hit the first button in the group list and not the close window button</description>
            <left>-16</left>
            <top>-16</top>
            <width>4</width>
            <height>4</height>
            <label/>
            <font/>
            <onfocus>down</onfocus>
            <texturefocus/>
            <texturenofocus/>
            <onleft>9000</onleft>
            <onright>9000</onright>
            <onup>9000</onup>
            <ondown>2</ondown>
        </control>
        <control type="image">
            <left>0</left>
            <top>0</top>
            <width>1920</width>
            <height>1080</height>
            <texture>black-back.png</texture>
        </control>
        <control type="grouplist" id="9000">
            <left>790</left>
            <top>0</top>
            <width>340</width>
            <height>720</height>
            <onleft>9000</onleft>
            <onright>9000</onright>
            <onup>9000</onup>
            <ondown>9000</ondown>
            <itemgap>0</itemgap>
            <align>center</align>
            <control type="group" id="1">
                <width>340</width>
                <height>30</height>
                <control type="image">
                    <description>background top image</description>
                    <left>0</left>
                    <top>0</top>
                    <width>340</width>
                    <height>30</height>
                    <texture border="20,19,20,0">DialogContextTop.png</texture>
                </control>
                <control type="button" id="20">
                    <description>Close Window button</description>
                    <left>260</left>
                    <top>5</top>
                    <width>64</width>
                    <height>32</height>
                    <label/>
                    <font/>
                    <onclick>PreviousMenu</onclick>
                    <texturefocus>DialogCloseButton-focus.png</texturefocus>
                    <texturenofocus>DialogCloseButton.png</texturenofocus>
                    <onleft>2</onleft>
                    <onright>13</onright>
                    <onup>13</onup>
                    <ondown>2</ondown>
                    <visible>system.getbool(input.enablemouse)</visible>
                </control>
            </control>
            <control type="button" id="2">
                <description>Exit button</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>Quit()</onclick>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>13012</label>
                <visible>System.ShowExitButton</visible>
            </control>
            <control type="button" id="3">
                <description>Shutdown button</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>Powerdown()</onclick>
                <visible>System.CanPowerDown</visible>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>13016</label>
            </control>
            <control type="button" id="4">
                <description>Custom Shutdown Timer</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>AlarmClock(shutdowntimer,Shutdown())</onclick>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>20150</label>
                <visible>!System.HasAlarm(shutdowntimer)</visible>
                <visible>System.CanPowerDown | System.CanSuspend | System.CanHibernate</visible>
            </control>
            <control type="button" id="5">
                <description>Cancel Shutdown Timer</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>CancelAlarm(shutdowntimer)</onclick>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>20151</label>
                <visible>System.HasAlarm(shutdowntimer)</visible>
            </control>
            <control type="button" id="6">
                <description>Suspend button</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>Suspend()</onclick>
                <visible>System.CanSuspend</visible>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>13011</label>
            </control>
            <control type="button" id="7">
                <description>Hibernate button</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>Hibernate()</onclick>
                <visible>System.CanHibernate</visible>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>13010</label>
            </control>
            <control type="button" id="15">
                <description>Reboot2 button</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>System.ExecWait("/usr/sbin/rebootfromnand")</onclick>
       <onclick>Reset()</onclick>
                <visible>System.CanReboot</visible>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>Reboot to Android</label>
            </control>
            
            <control type="button" id="21"> <!-- mod -->
                <description>Restart Kodi</description>
                <width>340</width>
                <height>40</height>
                <textcolor>cyan</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>RestartApp()</onclick>
                <font>font13</font>
                <label>Restart Kodi</label>
            </control>
            <control type="button" id="19"> <!-- mod -->
                <description>Reload Skin</description>
                <width>340</width>
                <height>40</height>
                <textcolor>lime</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <label>Reload skin</label>
                <include>Objects_ContextMenuButton</include>
                <onclick>Dialog.Close(all,true)</onclick>
                <onclick>ReloadSkin()</onclick>
            </control>
            <control type="button" id="8">
                <description>Reboot button</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>Reset()</onclick>
                <visible>System.CanReboot</visible>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>13013</label>
            </control>
            <control type="button" id="9">
                <description>Logoff button</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>dialog.close(all,true)</onclick>
                <onclick>System.LogOff</onclick>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>$LOCALIZE[20126] $INFO[system.profilename]</label>
                <visible>System.HasLoginScreen | Integer.IsGreater(System.ProfileCount,1)</visible>
                <visible>System.Loggedon</visible>
            </control>
            <control type="togglebutton" id="10">
                <description>Master mode button</description>
                <width>340</width>
                <height>40</height>
                <label>20046</label>
                <altlabel>20045</altlabel>
                <align>center</align>
                <aligny>center</aligny>
                <textwidth>290</textwidth>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <usealttexture>!System.IsMaster</usealttexture>
                <alttexturefocus border="25,5,25,5">ShutdownButtonFocus.png</alttexturefocus>
                <alttexturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</alttexturenofocus>
                <onclick>mastermode</onclick>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <visible>System.HasLocks</visible>
            </control>
            <control type="group" id="11">
                <width>340</width>
                <height>70</height>
                <visible>System.HasAlarm(shutdowntimer)</visible>
                <control type="image">
                    <description>background top image</description>
                    <left>0</left>
                    <top>0</top>
                    <width>340</width>
                    <height>70</height>
                    <texture border="25,5,25,5">DialogContextMiddle.png</texture>
                </control>
                <control type="textbox">
                    <left>25</left>
                    <top>22</top>
                    <width>290</width>
                    <height>48</height>
                    <font>font12</font>
                    <textcolor>white</textcolor>
                    <shadowcolor>black</shadowcolor>
                    <align>center</align>
                    <label>$LOCALIZE[31329] [B]$INFO[System.Alarmpos][/B]</label>
                </control>
            </control>
            <control type="button" id="12">
                <description>Inhibit idle shutdown</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>InhibitIdleShutdown(true)</onclick>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>13017</label>
                <visible>System.HasShutdown +!System.IsInhibit</visible>
            </control>
            <control type="button" id="13">
                <description>Allow idle shutdown</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>InhibitIdleShutdown(false)</onclick>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>13018</label>
                <visible>System.HasShutdown + System.IsInhibit</visible>
            </control>
            <control type="image" id="14">
                <description>background bottom image</description>
                <left>0</left>
                <width>340</width>
                <height>25</height>
                <texture border="20,0,19,20">DialogContextBottom.png</texture>
            </control>
        </control>
    </controls>
</window>
 
Citovat
#95
@JiRo: Zrovna jsem se tě chtěl zeptat na názor. Ale byl jsi rychlejší. Stejně se zeptám v souvislosti s odstraněním řádku visible. To se potom tato volba zobrazí i ve win. Nebo se pletu?

@"romanschnierer@gmail.com" S tím defaultním skinem jsem to myslel jen jako test. Ne jako trvalé řešení. Já díky jinému boxu tuto možnost nemám. Podívám se na to jaký je rozdíl v kódu. Jinak poslední verze skinu je pro Nexus již 10.
X96max plus 4/32 + CE 21 + skin Confluence SCC / TV Samsung QE55Q6FNA
X96max plus 4/32 + CE 20.5 + skin Confluence SCC

AVR Denon 1600H / Dali Spektor 5.1
Win10pro + Kodi19.5
NAS Synology 215j 3TB Raid1
Router Turris 1.1
 
Citovat
#96
No jo, takže jsme se nedozvěděli, proč to zobrazení nefungovalo, resp. která podmínka by tam měla v případě instalace na tomto boxu být. System.CanReboot je v tomto případě podmínka nutná, nikoliv však postačující. Tou by měla být jedna z těch, které jsem uváděl výše. Jediné co víme je, že to System.PathExist("/dev/system") tedy nejspíše není.

@jkmh Doporučoval bych tedy do skinu dát i ty dvě zbývající podmínky a požádal ho, aby to vyzkoušel.
 
Citovat
#97
@JiRo: Říkal, že v defaulním skinu tam volbu vidí. A tam je 
Kód:
<visible>System.PathExist("/dev/system") | System.PathExist("/dev/userdata")</visible>

Doplním to při první příležitosti.
X96max plus 4/32 + CE 21 + skin Confluence SCC / TV Samsung QE55Q6FNA
X96max plus 4/32 + CE 20.5 + skin Confluence SCC

AVR Denon 1600H / Dali Spektor 5.1
Win10pro + Kodi19.5
NAS Synology 215j 3TB Raid1
Router Turris 1.1
 
Citovat
#98
(01.10.2023, 17:22)jkmh Napsal(a): Stejně se zeptám v souvislosti s odstraněním řádku visible. To se potom tato volba zobrazí i ve win. Nebo se pletu?

Ano, pokud to <visible>...</visible> vyhodíš úplně, bude se to samozeřjmě zobrazovat vždy, bez ohledu na systém i všechno ostatní. Ono je to asi tak (odhaduji), že scriptem /usr/sbin/rebootfromnand modifikuješ parametry pro bootloader, takže následujcíí reboot proběhne z nand. Ve Windows to pak bude mít ten efekt, že se spustí reboot systému (Windows).
 
Citovat
#99
Zdravim! 
Chcel som vyskusat skin Confluence a po nainstalovani a prepnuti mam ciernu obrazovku. Da sa to nejako vyriesit bez reinstalacie?
 
Citovat
@Mailo: Vyřešit se dá všechno (skoro), ale poskytl jsi málo informací.

Jaký systém, verze skinu, zdroj stažení skinu atd.
X96max plus 4/32 + CE 21 + skin Confluence SCC / TV Samsung QE55Q6FNA
X96max plus 4/32 + CE 20.5 + skin Confluence SCC

AVR Denon 1600H / Dali Spektor 5.1
Win10pro + Kodi19.5
NAS Synology 215j 3TB Raid1
Router Turris 1.1
 
Citovat
  


Přejít na fórum:


Prochází: 1 host(ů)