View Full Version : Make the video backward jump be shorter than the forward jump
Hi,
I have a small request. I use XBMC on an AppleTV while I use Plex on my Mac Mini. In both cases I use the MediaStream skin.
Both behave quite similarly, and I am really happy with both.
However when you click the "left" button on the Apple Remote, Plex goes back by half the amount of time that it goes forward when you click the "right" button.
That is, I think that when you jump forward Plex jumps forward by 30 seconds, while when you jump backwards it jumps back by 15 seconds. This is really handy when you want to skip forward (through commercials, for instance), because if you jump forward too much you can easily jump back without having to wait for a full 30 seconds.
In the case of XBMC this does not work this way. It seems to jump backwards as much as it jumps forward. So if you jump forward and then you realize that you need to go back, it will take you right to the position were you were before you jumped forward (which is _not_ were you want to be, otherwise you would not have jumped forward in the first place, right? :-) )
If you guys think that this should not be changed, could you give me a hint on how to change it myself on my AppleTV?
Thanks!
Amadawn
digitalhigh
2009-01-26, 16:32
Hi,
I have a small request. I use XBMC on an AppleTV while I use Plex on my Mac Mini. In both cases I use the MediaStream skin.
Both behave quite similarly, and I am really happy with both.
However when you click the "left" button on the Apple Remote, Plex goes back by half the amount of time that it goes forward when you click the "right" button.
That is, I think that when you jump forward Plex jumps forward by 30 seconds, while when you jump backwards it jumps back by 15 seconds. This is really handy when you want to skip forward (through commercials, for instance), because if you jump forward too much you can easily jump back without having to wait for a full 30 seconds.
In the case of XBMC this does not work this way. It seems to jump backwards as much as it jumps forward. So if you jump forward and then you realize that you need to go back, it will take you right to the position were you were before you jumped forward (which is _not_ were you want to be, otherwise you would not have jumped forward in the first place, right? :-) )
If you guys think that this should not be changed, could you give me a hint on how to change it myself on my AppleTV?
Thanks!
Amadawn
This is where you can tell xbmc what buttons do what actions:
http://xbmc.org/wiki/?title=Keymap.xml
I believe you want to replace "stepbackward" with "smallstepbackward" for your particular controller.
This describes how to set the amount to skip when one of those actions is called:
http://xbmc.org/wiki/?title=Advancedsettings.xml#.3Cvideo.3E
You're looking for the ones with "seekforward" in the description.
Thats so cool. There have been many times I just wanted to backup a few seconds because I missed what somebody said opposed to a lot.
digitalhigh
2009-01-26, 20:47
Thats so cool. There have been many times I just wanted to backup a few seconds because I missed what somebody said opposed to a lot.
Weird thing is, I could have sworn that the keymap used to be set up so that it was stepforward for the right and smallstepbackward for the left...but when I looked, it was just regular step for both. It must have been changed somewhere along the line...or I'm crazy. Both are possible. ;)
Thanks a lot digitalhigh! That was exactly the info I was looking for, although I think that this would be a much better default!
However, I still need a bit more help. I logged in into the AppleTV and I found a Keymap.xml file in /Applications/XBMC.app/Contents/Resources/XBMC/system
First of all, is that the one that I should modify?
Second, it seems that it is read only (except for root), but I normally log in as the "frontrow" user and I do not know which is the root password. Do you guys know which one is it?
Thanks a lot! :-D
Amadawn
natethomas
2009-01-31, 19:44
I actually would recommend going the second route by creating and editing an AdvancedSettings.xml. Since I first modded my xbox like 2 years ago, I've been using the same xml for every single version of XBMC. To make it work, all you need to do is open Notepad or some other txt editor and copy and paste the following:
<advancedsettings>
<video> # use "VideoSettings" instead of "video" for builds prior to May 22, 2006
<timeseekforward>30</timeseekforward> # Time to seek forward in seconds when doing a short seek. Defaults to 30.
<timeseekbackward>-7</timeseekbackward> # Time to seek backward in seconds when doing a short seek. Defaults to -30.
</video>
</advancedsettings>
Then save the file as AdvancedSettings.xml
Drop that file in your UserData folder, and you're done. You can even adjust the amount of time as you like. In the above code, I have it set at 7, but you can just change that number to 15 or whatever you like.
natethomas
2009-02-03, 18:15
The advantage of using the AdvancedSettings.xml is the way you can avoid ever having to mess with the key map, which could otherwise mess up quite a few things.
digitalhigh
2009-02-03, 19:05
The advantage of using the AdvancedSettings.xml is the way you can avoid ever having to mess with the key map, which could otherwise mess up quite a few things.
I think that would be a matter of preference. I'm perfectly comfortable with editing my keymap.xml.
Although you do have a point...
natethomas
2009-02-03, 21:52
I think that would be a matter of preference. I'm perfectly comfortable with editing my keymap.xml.
Although you do have a point...
:grin: I approach every opportunity to mess with code as another opportunity to completely and utterly destroy my computer by accident. It isn't that I like screwing things up; it's that I'm so good at it.
My natural presumption, therefore, is that everyone else is too.