Hi. I'm looking for way to do something pretty simple, but have no idea how to.
I'm running XBMC with it's default skin Confluence, and have been trying to memorize the default keyboard shortcuts. When I press ESC while in full screen, it takes me back to the "Now Playing" menu where I had launched the video.
What I'd like XBMC to do is instead of continuing to play the video in the background, I'd like it to pause after hitting ESC to leave full-screen mode. Is this possible?
I'd note that I still want the videos visible as the "Now Playing" background, but also paused.
Windows [Solved] Is it possible to pause playback when exiting fullscreen?
NobodyHere
Member Posts: 50 Joined: Jan 2012 Reputation: 0 |
2012-09-01 06:52
Post: #1
(This post was last modified: 2012-09-03 19:27 by NobodyHere.)
|
| find quote |
baijuxavior
Posting Freak Posts: 787 Joined: Jan 2012 Reputation: 20 Location: India |
2012-09-01 07:21
Post: #2
Open your keymap.xml file under 'C:\Users\username\AppData\Roaming\XBMC\userdata\keymaps using notepad or any xml editor. find and replace <escape>PreviousMenu</escape> with <escape>Pause</escape>
If there is no keymafile then create one in notepad using Code: <keymap>Denon 1612 | Magnat Interior 5001 | AMD A6 3500, ASUS F1A75-M, LG WH14NS40 Blu-Ray, Antec Fusion Remote Silver HTPC | Sony 40HX750 |
| find quote |
NobodyHere
Member Posts: 50 Joined: Jan 2012 Reputation: 0 |
2012-09-01 15:10
Post: #3
I appreciate you showing me how to change the keys. I didn't even think about changing the defaults.
But.. this isn't what I'm looking for. With that setting, all I've done is assign the pause function to the esc key (instead of using p or spacebar). What I'm looking for is the isn't to remap the ESC key entirely, but to automatically pause any playing videos when I do press it. I want ESC to still function as the "<escape>PreviousMenu</escape>". |
| find quote |
baijuxavior
Posting Freak Posts: 787 Joined: Jan 2012 Reputation: 20 Location: India |
2012-09-01 17:36
Post: #4
I think without editing the keymapfiles what you are looking for is not possible. You can put <escape>Pause</escape> under <FullscreenVideo>
Another option is to put the <escape>Pause</escape> just above the <escape>PreviousMenu</escape>. This will pause the movie and will return to the previous menu. Denon 1612 | Magnat Interior 5001 | AMD A6 3500, ASUS F1A75-M, LG WH14NS40 Blu-Ray, Antec Fusion Remote Silver HTPC | Sony 40HX750 |
| find quote |
PatK
Posting Freak Posts: 2,254 Joined: Mar 2010 Reputation: 67 |
2012-09-01 19:12
Post: #5
You're looking for two tasks under one key, the only way you could do that is a custom batch file.
|
| find quote |
artrafael
Team-XBMC Forum Moderator Posts: 4,424 Joined: Jul 2010 Reputation: 78 Location: USA |
2012-09-01 21:54
Post: #6
You can use a Python script with the following contents:
Code: import xbmcand then assign it to the Escape key: Code: <escape>XBMC.RunScript(/path/to/script-name.py)</escape>
(This post was last modified: 2012-09-02 00:11 by artrafael.)
|
| find quote |
NobodyHere
Member Posts: 50 Joined: Jan 2012 Reputation: 0 |
2012-09-03 18:04
Post: #7
Thanks for all the suggestions people, but nothing has worked so far.
These were the differing settings I used in keymap.xml. Code: <keymap>Code: <keymap>Code: <keymap>Code: <keymap>What I'm trying to do here isn't necessarily bind two functions to one key. I'm simply trying to pause video playback when I exit fullscreen mode via the ESC, or even Backspace, keys. I want the video playback to pause as I hit one of these buttons to bring up the last menu, but for them to still operate with their equivalent PreviousMenu/Back functions. Is this something I could hopefully put in a request for, or can this be achieved in XBMC's current state? ie - Pausing video playback when exiting full-screen.
(This post was last modified: 2012-09-03 18:09 by NobodyHere.)
|
| find quote |
NobodyHere
Member Posts: 50 Joined: Jan 2012 Reputation: 0 |
2012-09-03 19:26
Post: #8
... NM. It was right under my nose.
Thanks to the script offered to me by artrafael above, I created this file, and everything is working like I wanted. (I suppose I could have also added the mouse button for exiting to menu) pause-fullscreen-exit.py Code: import xbmcI then created the keyboard.xml file, and placed this in it. keyboard.xml Code: <keymap>I guess I had simply missed calling the python script from the "FullScreenVideo" section. Thanks for all the help!
(This post was last modified: 2012-09-03 19:28 by NobodyHere.)
|
| find quote |

Search
Help