Xbmc Shutdown

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
voyagerxp Offline
Senior Member
Posts: 174
Joined: Feb 2012
Reputation: 0
Post: #11
Thanks kricker, sorted it, its just temp as i'm buying a harmony one control soon to do away with this awful RM 200 remote.
find quote
Hiethen Offline
Senior Member
Posts: 109
Joined: Jan 2010
Reputation: 0
Post: #12
(2012-04-05 18:23)kricker Wrote:  If possible you should send the XBMC command to quit. This will be a more graceful close than doing an Alt+f4.

What is the command to Quit/Exit XBMC, I tried the following in my keyboard.xml file and it didn't work.

<three mod="ctrl,shift">XBMC.Quit</three>

I think this was the reason that I was using alt-f4, since that was the only way I had found to quit XBMC.
find quote
kricker Offline
Team-XBMC QA Specialist
Posts: 3,307
Joined: Apr 2004
Reputation: 16
Location: Knoxville, TN
Post: #13
That should be it.

http://wiki.xbmc.org/index.php?title=Lis..._functions

I edited my keyboard.xml file. In the global section I changed s to be XBMC.Quit and it worked perfectly.

Read this before using these builds.
XBMC win32 SVN builds
Changelog
(This post was last modified: 2012-04-06 02:59 by kricker.)
find quote
Hiethen Offline
Senior Member
Posts: 109
Joined: Jan 2010
Reputation: 0
Post: #14
(2012-04-06 02:45)kricker Wrote:  That should be it.

http://wiki.xbmc.org/index.php?title=Lis..._functions

I even tried Quit by itself and I tried XBMC.Quit(), but neither worked. This setting is under my <keymap>, <global>, <keyboard> section, maybe that is not the right section.
(This post was last modified: 2012-04-06 02:51 by Hiethen.)
find quote
kricker Offline
Team-XBMC QA Specialist
Posts: 3,307
Joined: Apr 2004
Reputation: 16
Location: Knoxville, TN
Post: #15
Global is the proper section. I just edited my post above mentioning that. Have you tried it on a basic key without any key mods?

Read this before using these builds.
XBMC win32 SVN builds
Changelog
find quote
Hiethen Offline
Senior Member
Posts: 109
Joined: Jan 2010
Reputation: 0
Post: #16
(2012-04-06 03:02)kricker Wrote:  Global is the proper section. I just edited my post above mentioning that. Have you tried it on a basic key without any key mods?

I just found out that XBMC.ShutDown() works, so I will use this. Thanks for your time kricker.

XBMC.Quit is working for me now, I think that I had a wrong setting on my remote registry settings.
(This post was last modified: 2012-04-06 03:15 by Hiethen.)
find quote
kricker Offline
Team-XBMC QA Specialist
Posts: 3,307
Joined: Apr 2004
Reputation: 16
Location: Knoxville, TN
Post: #17
I found it works with any one mod added to the key except shift. I used ctrl or alt and it worked. When I added the mod shift the command didn't work.

Read this before using these builds.
XBMC win32 SVN builds
Changelog
find quote
Hiethen Offline
Senior Member
Posts: 109
Joined: Jan 2010
Reputation: 0
Post: #18
(2012-04-06 03:16)kricker Wrote:  I found it works with any one mod added to the key except shift. I used ctrl or alt and it worked. When I added the mod shift the command didn't work.

I can confirm that it worked for me with ctrl+shift.
find quote
kricker Offline
Team-XBMC QA Specialist
Posts: 3,307
Joined: Apr 2004
Reputation: 16
Location: Knoxville, TN
Post: #19
Good. There is a chance I had a conflict with that combo.

Read this before using these builds.
XBMC win32 SVN builds
Changelog
find quote
mrcleen74 Offline
Junior Member
Posts: 10
Joined: Jul 2012
Reputation: 0
Post: #20
i am having trouble with this as well. tried it your way kricker and although it worked it took like 20 seconds to shut down as opposed to alt+f4 which immediately shuts it off. tried editing the keyboard.xml in the global section but haven't had any luck writing the correct way for the alt+f4 combo but am a complete noob at xml so doesn't surprise me. any help would be appreciated. also i should point out i want this specifically for my keyboard as i don't use a remote for xbmc yet. i'd like it to be either f4 or f1 to accomplish the alt+f4 combo. thanks in advance
find quote