Posts: 26
Joined: Nov 2009
Reputation:
0
bniswe
Junior Member
Posts: 26
After updating to OSX 10.7.2, my Apple remote _sometimes_ starts iTunes, in addition to XBMC.
It still starts XBMC fine and all controls works, but when I start a movie by pressing play, a song in iTunes also starts playing! Also up and down on the remote also change the sound volume in OSX.
Anyone else see this problem or have a workaround?
Posts: 291
Joined: Jul 2010
Reputation:
0
iTunes -> Preferences -> Devices
Should be something about remotes there. Possibly a "Forget All Remotes" button?
Posts: 3,956
Joined: Dec 2008
Reputation:
62
I had some issues and solved it with uninstalling candelair. After that problem was up/down on remote used to volume up/down. That I solved with disable remote, quit xbmc, start xbmc, quit xbmc, start xbmc, enable remote :-)
Posts: 26
Joined: Nov 2009
Reputation:
0
bniswe
Junior Member
Posts: 26
Thanks pecinko, that solved it for me too.
So I guess when iTunes was updated it took back control over the remote, and doing that disable/enable thing took it back to XBMC.
Buadhai, The "Forget all remotes" button in iTunes is greyed for me (Also says not paired with any remotes). I have never seen this enabled. I don't know what this is for, only other types of remotes, not the Apple remote?
Posts: 7
Joined: Oct 2011
Reputation:
0
Hi,
I have the same problem. I thould it was solved but after a few hours (the mini was a sleep) i turned it back on and the problem was back. So when the mac is in sleep mode the problem comes back.
I don't won't to have my mac on 24/7 so what can i do?
Thnx!
Posts: 3,956
Joined: Dec 2008
Reputation:
62
You could try to quit xbmc before it goes to sleep and start it up later with menu button. I ended up doing that becase I can hear the sound after sleep but TV remains blank.
Posts: 26
Joined: Nov 2009
Reputation:
0
bniswe
Junior Member
Posts: 26
This problem is still present in Eden Beta 1.
The fix with disable remote, quit, start, enable remote, quit, start, works. But after a while (I see no pattern in it, but sleep of the mac might trigger it) the OS "reclaims" control of the remote.
When this happens, pressing play on the remote starts iTunes. Pressing up/down on the remote changes the volume.
Posts: 164
Joined: Oct 2010
Reputation:
0
lapino
Senior Member
Posts: 164
Any decent solution to this? Remote also changes volume up/down here.
Posts: 26
Joined: Nov 2009
Reputation:
0
bniswe
Junior Member
Posts: 26
I have verified that when the mac goes to sleep (I close the lid etc), and when I wake it up again, Lion takes over control of the remote.
Button presses still reach XBMC but they take effect in the OS first, starting iTunes, changing volume, etc.
A reboot is the only workaround I have found, but its not very good since I use a MacBook Pro and use it in "clamshell" mode and connect it to our TV. i.e. it falls asleep every time I close the lid (as it should).
Posts: 123
Joined: Nov 2010
Reputation:
1
Torroa
Senior Member
Posts: 123
2011-12-31, 13:04
(This post was last modified: 2011-12-31, 13:52 by Torroa.)
The best solution might be to have a script re-enabling or disable - enable the IR within XBMC as it seems like 10.7.2 reloads or reclaims the event server on port 9777 after a wakeup.
You can do this manually by clicking disabled remote, then enabled within the preferences menu in XBMC. It is not exactly "decent" as it require more than a remote.
I am not a script expert, but would not something like a this script be a solution?
#!/bin/sh
# This script uses curl. Install curl using the following command from your terminal apt-get install curl
# This script will restart (ADD YOUR DEVICE NAME HERE WHEN FINISHED), Lirc, and XBMC upon resume.
case "$1" in
resume)
curl "http://127.0.0.1:8080/xbmcCmds/xbmcHttp?command=ExecBuiltIn¶meter=LIRC.Stop"
/etc/init.d/lirc restart
curl "http://127.0.0.1:8080/xbmcCmds/xbmcHttp?command=ExecBuiltIn¶meter=LIRC.Start"
echo "lirc resume script completed!!!" >>/tmp/script.log
;;
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
10.7.2 seems to have broken that handling. Nothing we can do. Roll back to an OSX version that is not broke if you MUST have this ability.