Kodi Community Forum
Apple remote up/down = changing volume - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Mac OS X (https://forum.kodi.tv/forumdisplay.php?fid=56)
+---- Thread: Apple remote up/down = changing volume (/showthread.php?tid=121137)

Pages: 1 2 3


Apple remote up/down = changing volume - lapino - 2012-01-26

When I use my Apple remote with XBMC, from time to time the up/down buttons change the OSX volume up/down too. Is there a way to fix this so when inside XBMC, the up/down button does not change the OSX volume settings at the same time?


- deanmv - 2012-01-27

4 threads down from yours... http://forum.xbmc.org/showthread.php?tid=120989

Infact, you even posted in the thread they link you to with the solution in it.


- lapino - 2012-01-27

Seems like a lot of 'tinkering', isn't there a more easy way to fix this?


- Memphiz - 2012-01-27

Sure - but you havn't payed for the real solution yet - so we just keep it for ourselfs.


- winestock - 2012-01-28

lapino Wrote:Seems like a lot of 'tinkering', isn't there a more easy way to fix this?

It took me about 15 minutes of my time to get it to work. To make it even easier for future use I created two scripts, a install.sh and a uninstall.sh. Let me see if I can make it easier:

  1. Once you have downloaded the sleep watcher2_2, double click on the .tgz file.
  2. Create a folder called scripts under the sleepwatch_2.2 folder.
  3. Create a file called install.sh in the scripts folder with the install.sh script text provided below.
  4. Create a file called uninstall.sh in the scripts folder with the uninstall.sh scvript text provided below.
  5. To install open the terminal app and change directory to the scripts folder (simply drag the folder to the terminal window) after typing "cd ".
  6. Type in the terminal window: chmod 777 install.sh
  7. Type in the terminal window: chmod 777 uninstall.sh
  8. The two steps above (chmod) only need to be done once.
  9. To install sleep watcher, in the terminal app window in the scripts folder enter: ./install.sh
  10. To uninstall sleep watcher, in the terminal app window in the scripts folder enter: ./unistall.sh

install.sh script:
Code:
#!/bin/sh

set -x

sudo mkdir -p /usr/local/sbin /usr/local/share/man/man8 ~/Library/LaunchDaemons
sudo cp ../sleepwatcher /usr/local/sbin
sudo cp ../sleepwatcher.8 /usr/local/share/man/man8
sudo cp ../config/de.bernhard-baehr.sleepwatcher-20compatibility.plist /Library/LaunchDaemons/de.bernhard-baehr.sleepwatcher.plist
sudo cp ../config/rc.* /etc
sudo launchctl load /Library/LaunchDaemons/de.bernhard-baehr.sleepwatcher.plist

cd ~
echo <<END_WAKEUP >.wakeup
#!/bin/bash

#
# Kill off the XBMCHelper process.
#
killall -9 XBMCHelper

#
# Restart XBMCHelper.
#
( ( /Applications/XBMC.app/Contents/Resources/XBMC/tools/osx/XBMCHelper -x & ) & )
END_WAKEUP

chmod 777 .wakeup

unistall.sh script:
Code:
#!/bin/sh

set -x

sudo launchctl unload /Library/LaunchDaemons/de.bernhard-baehr.sleepwatcher.plist
sudo rm -f /usr/local/sbin/sleepwatcher
sudo rm -f /usr/local/share/man/man8/sleepwatcher.8
sudo rm -f /Library/LaunchDaemons/de.bernhard-baehr.sleepwatcher.plist
sudo rm -f /etc/rc.sleep
sudo rm -f /etc/rc.wakeup
rm -f ~/.wakeup



- deanmv - 2012-01-28

Memphiz Wrote:Sure - but you havn't payed for the real solution yet - so we just keep it for ourselfs.

Ha!


- mr_bean - 2012-02-07

winestock thanks for providing some type of solution, I do hope this is addressed in a future release of Eden or an easier solution implemented.

Do you have a link to where I can download sleep watcher2_2?

Thanks.


- winestock - 2012-02-08

mr_bean Wrote:winestock thanks for providing some type of solution, I do hope this is addressed in a future release of Eden or an easier solution implemented.

Do you have a link to where I can download sleep watcher2_2?

Thanks.

http://www.bernhard-baehr.de/


RE: Apple remote up/down = changing volume - streamfx - 2012-07-19

This solution still did not work for me. The install.sh script runs but iTunes still has control over IR. The remote is not pair'ed to the iTunes


RE: Apple remote up/down = changing volume - winestock - 2012-07-20

(2012-07-19, 01:53)streamfx Wrote: This solution still did not work for me. The install.sh script runs but iTunes still has control over IR. The remote is not pair'ed to the iTunes

Sleep watcher does not solve the issue where iTunes takes control of the Apple Remote. For that issue you need to use PlayButtoniTunesPatch.


RE: Apple remote up/down = changing volume - Zokkel - 2013-02-04

Thanks Winestock for the "simple" (ahum) solution :-)

I followed every step you say, but it still doens't work for me. After reboot, no problem, but when I shut my mac mini completely down and boot it again: the same problem all over again...

I first tried the solution of Killerbob (http://forum.xbmc.org/showthread.php?tid=120989&pid=1025368#pid1025368), but didn't work either.

Still no definite solution in this matter?

Working with XBMC Frodo on Mac mini with OSX 10.7.2 Lion... and the apple remote

Anyone knows if this issu also take affect on OSX 10.6 Snow Leopard? Otherwise I'll downgrade...


RE: Apple remote up/down = changing volume - User 34959 - 2013-02-04

I've never had any problems with the remote after installing Candelair, before that OSX/iTunes would constantly take over the remote.


RE: Apple remote up/down = changing volume - Zokkel - 2013-02-04

Do you have to configure candalair to some settings?
I just installed candelair, I didn't change any settings...


RE: Apple remote up/down = changing volume - winestock - 2013-02-04

(2013-02-04, 09:18)Zokkel Wrote: Do you have to configure candalair to some settings?
I just installed candelair, I didn't change any settings...

You should not have to change any settings. I installed Candelair, did not make a change to the settings and it solved my issue as well. I found that Candelair was easier then using Sleep Watcher so I switched to using Candelair.


RE: Apple remote up/down = changing volume - Zokkel - 2013-02-05

'my' solution: see other thread

Maybe someone can close this thread and focus on one thread, they're all handling the same problem...