Kodi Community Forum
Solved Restart Xbmc = Reboot computer? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Skin Archive (https://forum.kodi.tv/forumdisplay.php?fid=179)
+----- Forum: Neon (https://forum.kodi.tv/forumdisplay.php?fid=139)
+----- Thread: Solved Restart Xbmc = Reboot computer? (/showthread.php?tid=164149)



Restart Xbmc = Reboot computer? - mattwakeman - 2013-05-06

Is this just me? If I press 'S' and then select 'Restart XBMC' then, unlike on Eden, my computer reboots. Don't have this problem on Confluence (though there I can select Exit') so is this intended? If not, anybody have any suggestions on how I can change what restart xbmc does (though I can always use 'shutdown' I know but I am still running eden on my main htpc so am just not used to using that key!).

Cheers.


RE: Restart Xbmc = Reboot computer? - Kib - 2013-05-06

You can select in the settings what the default action is.

Are you using the Frodo build of Neon ?


RE: Restart Xbmc = Reboot computer? - mattwakeman - 2013-05-06

Well I had the Eden skin installed and then I installed the latest version of Neon on top of that. To be honest I had a bit of a problem installing it as superrepo wouldn't show me any skins at all so the only way that I could install the skin was to go to the passion repository, download the zip and then install from there. As to changing the settings I assume this is the one under 'power options'? (Apologies if wrong).

If so then I have set that to 'quit' and yet it still reboots my pc. Maybe I should just uninstall the skin completely and then reinstall again from scratch. Thanks for coming back to me though mate, much appreciated.


RE: Restart Xbmc = Reboot computer? - Kib - 2013-05-06

I think you found a small bug Smile

The current DialogButtonMenu.xml calls XBMC.Reset() when you select 'Restart XBMC' but it seems this call has been removed from Frodo and it is now doing a Reboot instead.

Could you try changing line 200 in DialogButtonMenu.XML from
Code:
<onclick>XBMC.Reset()</onclick>

to
Code:
<onclick>XBMC.RestartApp()</onclick>

and after that start XBMC up again before trying the menu option. Please let me know if that restarts XBMC without restarting the entire pc and I will commit the modification so it will be in the next version.


RE: Restart Xbmc = Reboot computer? - mattwakeman - 2013-05-06

Awesome! Works a treat mate and glad that I could help out in a very small way to a fantastic skin. Really appreciate you coming back to me mate.


RE: Restart Xbmc = Reboot computer? - Kib - 2013-05-07

Committed into github: https://github.com/kibje/skin.neon/commit/7fe7c71c593d9adc43f434ce7d51e376e7a32355