Restart XBMC command
#1
Hi guys,

Is there a way of making xbmc restart?

When you click on the power off button there's:

Exit
Power Off System
Custom Shutdown Timer
Suspen
Hibernate
Reboot

I'd like to be able to re-start XBMC - as when I switch my amp on and go to XBMC after handshaking via HDMI it reverts to 1024x768 so I want to restart XBMC to get back to the 1920x1080 resolution and that's the only way I've found of doing it.

I use FLIRC with a Harmony 650 if that helps.

Is there a command or a way I can restart xbmc without having to login via VNC to restart it that way?

Thanks.
Reply
#2
Some skins offer a restart button, but for the most part they expect a link to a batch file for the restart... Specifically I'm thinking of T! and it would be in the DialogMenuButton.xml of the skin. It would look like this..

<control type="button" id="13">
<description>Restart xbmc</description>
<width>60</width>
<height>60</height>
<texturefocus>shut-restart-focus.png</texturefocus>
<texturenofocus>shut-restart-nofocus.png</texturenofocus>
<onclick>XBMC.System.Exec(C:\XBMC_restart.bat)</onclick>
<pulseonselect>yes</pulseonselect>
<font>-</font>
<label>-</label>
<visible>!Skin.HasSetting(Hide_Shutdown_Restart)</visible>
</control>

The batch file XBMC_restart.bat would contain-> start /WAIT C:\"Program Files (x86)"\XBMC/xbmc.exe and perhaps a DisplaySwitch command. But I suspect that XBMC will maintain that resolution unless you have an override in advancedsettings.xml
Reply
#3
Thanks - I'll give that a bash tonight! Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Restart XBMC command0