Difference between revisions of "Kodi"

From Blue-IT.org Wiki

(PC does not shutdown)
Line 3: Line 3:
 
Alter the ''onclick'' command by editing the corresponding value to ''XBMC.Powerdown()'':
 
Alter the ''onclick'' command by editing the corresponding value to ''XBMC.Powerdown()'':
  
  Old: <onclick>ShutDown()</onclick>
+
  Old: <onclick>'''ShutDown()'''</onclick>
  New: <onclick>XBMC.Powerdown()</onclick>
+
  New: <onclick>'''XBMC.Powerdown()'''</onclick>
  
 
  #> vim  .kodi/addons/skin.eminence/1080i/DialogButtonMenu.xml
 
  #> vim  .kodi/addons/skin.eminence/1080i/DialogButtonMenu.xml

Revision as of 23:34, 17 November 2016

PC does not shutdown

Alter the onclick command by editing the corresponding value to XBMC.Powerdown():

Old: <onclick>ShutDown()</onclick>
New: <onclick>XBMC.Powerdown()</onclick>
#> vim  .kodi/addons/skin.eminence/1080i/DialogButtonMenu.xml
#> # vim  .kodi/addons/skin.YOUR_SKIN/YOUR_DPI/DialogButtonMenu.xml

<control type="button" id="3116">
    <description>Shutdown</description>
    <include>DefContextMenuButton</include>
    <label>13005</label>
    <onclick>XBMC.Powerdown()</onclick>
</control>