Difference between revisions of "Kodi"

From Blue-IT.org Wiki

(Created page with "== PC does not shutdown == Alter the button command by editing the corresping value in #> vim .kodi/addons/skin.eminence/1080i/DialogButtonMenu.xml #> # vim .kodi/addon...")
 
(PC does not shutdown)
Line 1: Line 1:
 
== PC does not shutdown ==
 
== PC does not shutdown ==
  
Alter the button command by editing the corresping value in
+
Alter the ''onclick'' command by editing the corresponding value to ''XBMC.Powerdown()'':
  
 
  #> vim  .kodi/addons/skin.eminence/1080i/DialogButtonMenu.xml
 
  #> vim  .kodi/addons/skin.eminence/1080i/DialogButtonMenu.xml
 
  #> # vim  .kodi/addons/skin.YOUR_SKIN/YOUR_DPI/DialogButtonMenu.xml
 
  #> # vim  .kodi/addons/skin.YOUR_SKIN/YOUR_DPI/DialogButtonMenu.xml
 
+
 
  <control type="button" id="3116">
 
  <control type="button" id="3116">
 
     <description>Shutdown</description>
 
     <description>Shutdown</description>
 
     <include>DefContextMenuButton</include>
 
     <include>DefContextMenuButton</include>
 
     <label>13005</label>
 
     <label>13005</label>
     '''<!--OLD <onclick>ShutDown()</onclick>-->'''
+
     <!--OLD <onclick>ShutDown()</onclick>-->
 
     '''<onclick>XBMC.Powerdown()</onclick>'''
 
     '''<onclick>XBMC.Powerdown()</onclick>'''
 
  </control>
 
  </control>

Revision as of 23:30, 17 November 2016

PC does not shutdown

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

#> 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>