Kodi Community Forum

Full Version: [Apple TV] Keymap.xml assistance (and a couple other questions)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello - I have been a long time user of XBMC on Xbox and recently decided to take the plunge with the Apple TV. I have a few questions that I can't seem to figure out - I have ATV version 2.2 and Atlantis 2.0:

1. I have been trying to override keymap.xml in order to get Stop to work while watching videos. I also changed a couple of the other keys. I tried following this thread: http://forum.xbmc.org/showthread.php?tid...keymap.xml and still no luck. Just to test things out, I changed all buttons in keymap.xml that were used for VolumeUp and VolumeDown and to Stop. When I restarted XBMC and went into a video I pushed up and down on the remote and they still turned the volume up and down. I loaded keymap.xml here: /mnt/Scratch/Users/frontrow/Library/Application Support/XBMC/userdata/ Here is a debug log: http://www.pastebin.ca/1236515


2. Is there anyway to add other visualizations like Milkdrop to ATV? I tried adding them to /mnt/Scratch/Users/frontrow/Library/Application Support/XBMC/ but they didn't show up.

3. Is there anyway to load additional screensavers? I tried the same thing as with visualizations and same result.

4. Finally, not sure if anyone else has experienced this (I tried searching) but at times when I am trying to access my SMB shares I receive a message about Lock Preferences asking me for a username and password for the share. I am not using a username or password for my shares. It asks me a couple of times then does not let me access them.

5. I am also finding that resume is not working regardless if I set it to Ask or Yes. I think I saw this was the case in another thread, just figured I would throw this out there.

Thanks very much for any assistance with this.
An update on #1...I also tried this thread: http://forum.xbmc.org/showthread.php?tid...keymap.xml, but the problem is that for some reason I can't add, remove or change files in this directory /Applications/XBMC.app/Contents/Resources/XBMC/system

This I think is key to fixing my problem, but I have no idea how to enable access here.

Thanks again for any help.
macollin Wrote:An update on #1...I also tried this thread: http://forum.xbmc.org/showthread.php?tid...keymap.xml, but the problem is that for some reason I can't add, remove or change files in this directory /Applications/XBMC.app/Contents/Resources/XBMC/system

This I think is key to fixing my problem, but I have no idea how to enable access here.

Thanks again for any help.

ls -l /Applications/XBMC.app/Contents/Resources/XBMC/system

check ownership, if frontrow does not own it, then need to elevate you permission with "sudo"

google "sudo" for what it does.
Thanks. I tried using the sudo chown command per google. But I received the following message chown: /Applications/XBMC.app/Contents/Resources/XBMC/system/keymap.xml: Read-only file system

Thanks again.
you may need to mount the drive as read/write first:
sudo mount -uw /
Thanks. This is a bit over my head, but I will do some research and give it a try. My bigger question with this, is why won't putting a modified keymap.xml in the userdata directory override what is in xbmc.app system directories?
docbrown Wrote:you may need to mount the drive as read/write first:
sudo mount -uw /

Quote:sudo touch /.readwrite

to keep it read/write
Thank you for the help all. I was able to get into the system folder and replace keymap.xml.
Quote:5. I am also finding that resume is not working regardless if I set it to Ask or Yes. I think I saw this was the case in another thread, just figured I would throw this out there
.

That's probably because you're not stoping the movie by using play button in the apple remote. In order for "resume function" to work the movie has to be stopped (by pressing 'x', for example). I was experiencing the same issue, see http://forum.xbmc.org/showthread.php?tid=42490.

I guess that maybe it's possible to map the apple remote's MENU key to Stop so that the resume works but I didnĀ“t try it yet.