[AppleTV2] Logitech Harmony support for ATV2?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
deanmv Offline
Posting Freak
Posts: 926
Joined: Jun 2011
Reputation: 10
Location: UK
Post: #101
You shouldn't do. I thought it came with xbmc? Confused You can always make it yourself if not? Can't see any harm being done in that...

Set Up
Raspberry Pi running Raspbmc - XBMC 12.2
40" Samsung ES6800 LED Smart 3D 1080P TV
Onkyo HTS3405 5.1 DD True HD and DTS-HD Surround Sound
ReadyNAS Duo with 4TB (2 x 2TB X-RAID) Western Digital Caviar Green using NFS
find quote
milli Offline
Member
Posts: 64
Joined: Feb 2011
Reputation: 2
Post: #102
(2012-04-26 09:50)deanmv Wrote:  
(2012-04-26 08:30)milli Wrote:  Is there a way to go to DVD menu directly?

<button id="x>ShowVideoMenu</button>

Thanks. It worked. Just to confirm you can work only with button ids that are mapped to remote. Basically find the one which is not used and map to the function you want. In this case I mapped button id 1(which was originally mapped to volume up, not really useful) to do this. I see this one in the keymap file

<!-- Enter --> <button id="78">ShowVideoMenu</button>

but my harmony remote does not send any signal on pressing enter. Is there a way to learn it?
(This post was last modified: 2012-05-11 00:22 by milli.)
find quote
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 11,931
Joined: Jan 2011
Reputation: 131
Location: Arizona, USA
Post: #103
(2012-04-26 21:44)joazito Wrote:  My '/private/var/mobile/Library/Preferences/XBMC/userdata/keymaps' directory is empty (accessed by SSH file transfer). Any idea what's going on?

That's normal. There's a copy within the XBMC app/frapp itself that serves as a master that you can copy from, but it's typically just easier to download a fresh .xml from github using the link on the Keyboard.xml wiki page: https://raw.github.com/xbmc/xbmc/master/...Remote.xml

You can make easy links to the XBMC wiki using double brackets around words: [[debug log]] = debug log, [[Add-on:YouTube]] = Add-on:YouTube, [[Adding videos to the library]] = Adding videos to the library, [[userdata]] = userdata, etc
(This post was last modified: 2012-04-28 18:08 by Ned Scott.)
find quote
Sam Lowry Offline
Junior Member
Posts: 25
Joined: Feb 2012
Reputation: 1
Post: #104
(2012-04-26 22:26)deanmv Wrote:  You have two options here, there is:

ShowSubtitles Toggles whether subtitles are shown or not.
NextSubtitle Change to the next subtitle language, if there is more than one.

So it would be (same buttons example as before)
Code:
<button id="18">ShowSubtitles</button>
or
Code:
<button id="18">NextSubtitle</button>

Hi-
This did not work for me. For some reason it is ignoring it. I decided I could live without it once I realized I could hold down the "OK" button to access all the language stuff. Which leaves me with one last question. I noticed that there is an option for customizing the "pageup" and "pagedown" buttons. Are there already physical buttons on the Harmony One remote which trigger these buttons? I was using those options to trigger the subtitles, but they don't seem to do anything.
Thanks again though - my ATV2 w/XBMC is the best thing ever. If only it would play 1080p files, it'd be perfect.
find quote
deanmv Offline
Posting Freak
Posts: 926
Joined: Jun 2011
Reputation: 10
Location: UK
Post: #105
It might not be button 18. I was just using it as an example. If you turn debugging on and then keep pressing the button you want it to be, when you read the log it will tell you what button number that is.

Set Up
Raspberry Pi running Raspbmc - XBMC 12.2
40" Samsung ES6800 LED Smart 3D 1080P TV
Onkyo HTS3405 5.1 DD True HD and DTS-HD Surround Sound
ReadyNAS Duo with 4TB (2 x 2TB X-RAID) Western Digital Caviar Green using NFS
find quote
keiron99 Offline
Member
Posts: 65
Joined: Feb 2012
Reputation: 0
Post: #106
(2012-04-26 09:50)deanmv Wrote:  
(2012-04-26 08:30)milli Wrote:  Is there a way to go to DVD menu directly?

<button id="x>ShowVideoMenu</button>

Sorry to sound like a numpty but can someone please explain how I enter this code and where exactly?

I'm familiar with "ssh" to upfate and fix a few things if that's a useful starting point? Thanks.
find quote
Sam Lowry Offline
Junior Member
Posts: 25
Joined: Feb 2012
Reputation: 1
Post: #107
(2012-05-08 13:54)keiron99 Wrote:  
(2012-04-26 09:50)deanmv Wrote:  
(2012-04-26 08:30)milli Wrote:  Is there a way to go to DVD menu directly?

<button id="x>ShowVideoMenu</button>

Sorry to sound like a numpty but can someone please explain how I enter this code and where exactly?

I'm familiar with "ssh" to upfate and fix a few things if that's a useful starting point? Thanks.

Using your SSH program (I use SSH Secure File Transfer) - work your way to /private/var/mobile/Library/Preferences/XBMC/userdata/keymaps . Password is usually "alpine" unless you changed it. Then you need to edit the file joystick.AppleRemote.xml. If it doesn't exist then download from https://github.com/xbmc/xbmc/blob/master...Remote.xml . Use whatever text editor you want to edit it. You will want to change one of the following:
Code:
<!-- Additional buttons via Harmony Apple TV remote profile - these are also the learned buttons on Apple TV 2gen-->
      <!-- pageup --> <button id="13">PageUp</button>
      <!-- pagedown --> <button id="14">PageDown</button>
      <!-- pause --> <button id="15">Pause</button><!-- work? -->
      <!-- play2 --> <button id="16">Play</button>
      <!-- stop --> <button id="17">Stop</button>
      <!-- fast fwd --> <button id="18">FastForward</button><!-- work? -->
      <!-- rewind --> <button id="19">Rewind</button>
      <!-- skip fwd --> <button id="20">SkipNext</button>
      <!-- skip back --> <button id="21">SkipPrevious</button>

As far as I could tell, there aren't many you can live without. Me I decided I didn't need SkipNext. I couldn't get pageup or pagedown to work. Then you save the file and put it back in the same place.

You may need to create a button using the Logitech Harmony software to match the button you created above if your remote doesn't have a physical button.
find quote
keiron99 Offline
Member
Posts: 65
Joined: Feb 2012
Reputation: 0
Post: #108
Thanks. I use Win SCP. When I ket to keymaps, there's nothing there. I double click on keymaps and just get a "..". Any idea what I should do from there?
find quote
deanmv Offline
Posting Freak
Posts: 926
Joined: Jun 2011
Reputation: 10
Location: UK
Post: #109
Re-read what Sam wrote,
Quote:Then you need to edit the file joystick.AppleRemote.xml. If it doesn't exist then download from https://github.com/xbmc/xbmc/blob/master...Remote.xml . Use whatever text editor you want to edit it. You will want to change one of the following

Set Up
Raspberry Pi running Raspbmc - XBMC 12.2
40" Samsung ES6800 LED Smart 3D 1080P TV
Onkyo HTS3405 5.1 DD True HD and DTS-HD Surround Sound
ReadyNAS Duo with 4TB (2 x 2TB X-RAID) Western Digital Caviar Green using NFS
find quote
granduke Online
Junior Member
Posts: 4
Joined: Apr 2012
Reputation: 0
Post: #110
Which remote are you guys talking about?
I assume the Harmony One, but I have an unopened 600.
Can I use this or should I return it?
find quote
Post Reply