Kodi

From Blue-IT.org Wiki

Revision as of 10:54, 13 February 2017 by Apos (talk | contribs) (PC does not shutdown)

PC does not shutdown

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>
#> vim  .kodi/addons/skin.eminence/1080i/DialogButtonMenu.xml # for example
#> # 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>