Difference between revisions of "Kodi"

From Blue-IT.org Wiki

(PC does not shutdown)
(PC does not shutdown)
Line 1: Line 1:
 
== PC does not shutdown ==
 
== PC does not shutdown ==
 +
 +
[UPDATE] only with Kodi <= vers. 16 (Isengard), solved with > vers.17 (Krypton) and above
  
 
Alter the ''onclick'' command by editing the corresponding value to ''XBMC.Powerdown()'' in the file '''DialogButtonMenu.xml''' which you will find within your skins path: ''~/.kodi/addons/skin.YOUR_SKIN/YOUR_DPI''
 
Alter the ''onclick'' command by editing the corresponding value to ''XBMC.Powerdown()'' in the file '''DialogButtonMenu.xml''' which you will find within your skins path: ''~/.kodi/addons/skin.YOUR_SKIN/YOUR_DPI''

Revision as of 23:34, 19 February 2017

PC does not shutdown

[UPDATE] only with Kodi <= vers. 16 (Isengard), solved with > vers.17 (Krypton) and above

Alter the onclick command by editing the corresponding value to XBMC.Powerdown() in the file DialogButtonMenu.xml which you will find within your skins path: ~/.kodi/addons/skin.YOUR_SKIN/YOUR_DPI

Old: <onclick>ShutDown()</onclick>
New: <onclick>XBMC.Powerdown()</onclick>

Change YOUR_SKIN and YOUR_DPI appropriate to your settings:

#> vim  .kodi/addons/skin.YOUR_SKIN/YOUR_DPI/DialogButtonMenu.xml

For example my skin is eminence and uses 1080i display resolution:

#> vim  .kodi/addons/skin.eminence/1080i/DialogButtonMenu.xml

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