Apple remote starts both XBMC and iTunes after 10.7.2 update

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
sprale Offline
Junior Member
Posts: 22
Joined: May 2009
Reputation: 0
Post: #21
I finally installed Candelair and it takes care of the problem, simple fix. After sleeping, the remote continues to respond as expected in XBMC and nowhere else.

Dead-thread Necromancer!

XBMC System: Mac Mini (mid-2011) • 2.3GHz Intel Core i5 • 8Gb RAM • OS X 10.7.4 • XBMC 11.0 Eden RC2
find quote
unsynaps Offline
Junior Member
Posts: 6
Joined: Mar 2012
Reputation: 0
Post: #22
I can not beleive that this has not been fixed in Eden Final.

Are there any plans to fix this bug?
find quote
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 12,065
Joined: Jan 2011
Reputation: 135
Location: Arizona, USA
Post: #23
(2012-03-25 21:22)unsynaps Wrote:  I can not beleive that this has not been fixed in Eden Final.

Are there any plans to fix this bug?

It's not really something under our control. The IR sensor's driver is in the OS, not in XBMC. We can do some things to try to grab it from other stuff, but there's only so much we can do.

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
find quote
N.O.W.A.L.L Offline
Fan
Posts: 382
Joined: Feb 2011
Reputation: 20
Location: Lausanne Switzerland
Post: #24
That's why I will never update my XBMC Mini to Lion. SL much more stable with XBMC

[Image: logo_apple_ok.png] Mini 2.66 Intel Core 2 Duo / Silver Apple Remote / Philips 32PFL9606
My complete GFX contributions to CirrusExtended 2
My complete set of backgrounds and complete set of moviegenre fanarts
Check them out!
… and btw my name's Julien
(This post was last modified: 2012-03-27 00:35 by N.O.W.A.L.L.)
find quote
unsynaps Offline
Junior Member
Posts: 6
Joined: Mar 2012
Reputation: 0
Post: #25
(2012-03-27 00:34)N.O.W.A.L.L Wrote:  That's why I will never update my XBMC Mini to Lion. SL much more stable with XBMC
Wish I could do that. Can not as I have one of the new new (no optical drive) mini's. Can't install SL on them.

SleepWatcher is a partial fix. For me the OS takes back the remote when the screen saver activates too. Even when XBMC is running.
find quote
sprale Offline
Junior Member
Posts: 22
Joined: May 2009
Reputation: 0
Post: #26
I created a workaround based on someone else's solution, then I made it convenient. I wrapped a shell script in AppleScript and drag it to the dock next to XBMC. I wanted to make it as simple as possible, since the Mac Mini replaced our cable box, but my wife demands that it work and can be made to work without significant effort (I'm blessed with a s/o who is beautiful AND smart). Whether XBMC is running or not, we just click the script (bundle app) and it kills XBMC, the helper, then relaunches XBMC with the remote working as it should.

The code:
Quote:tell application "XBMC 11.0 Eden Beta 3" to quit
delay 5
do shell script "killall XBMCHelper"
delay 5
tell application "XBMC 11.0 Eden Beta 3" to activate

If anyone finds they have a better way or an alteration to this script, I think we would all be appreciative.

(the AppleScript Editor is in the Applications/Utilities folder for those new to AS, which since 10.6 is also where you enable the AS drop-down menu)

Dead-thread Necromancer!

XBMC System: Mac Mini (mid-2011) • 2.3GHz Intel Core i5 • 8Gb RAM • OS X 10.7.4 • XBMC 11.0 Eden RC2
find quote
Torroa Offline
Senior Member
Posts: 108
Joined: Nov 2010
Reputation: 1
Post: #27
(2012-03-31 04:17)sprale Wrote:  I created a workaround based on someone else's solution, then I made it convenient. I wrapped a shell script in AppleScript and drag it to the dock next to XBMC. I wanted to make it as simple as possible, since the Mac Mini replaced our cable box, but my wife demands that it work and can be made to work without significant effort (I'm blessed with a s/o who is beautiful AND smart). Whether XBMC is running or not, we just click the script (bundle app) and it kills XBMC, the helper, then relaunches XBMC with the remote working as it should.

The code:
Quote:tell application "XBMC 11.0 Eden Beta 3" to quit
delay 5
do shell script "killall XBMCHelper"
delay 5
tell application "XBMC 11.0 Eden Beta 3" to activate

If anyone finds they have a better way or an alteration to this script, I think we would all be appreciative.

(the AppleScript Editor is in the Applications/Utilities folder for those new to AS, which since 10.6 is also where you enable the AS drop-down menu)

Didn´t you just tell Candelair fixed the problem?
Your solution is fine if you are using a keyboard or mouse. No mater how smart (or good looking) the person is, it is probably not as practical when controlling your XBMC solely with a remote.

Disable the os X screen saver, If you must have one, use dim- or black screen, install a script telling the XBMCHelper to restart when the Mac resumes from standby, and forget about it.

The beta versions of Eden sometimes crashes, especially when resuming from standby. Enable the function to start XBMC with a remote, and disable the os X error popup, and you should be just fine.

Code:
defaults write com.apple.CrashReporter DialogType server
find quote
sprale Offline
Junior Member
Posts: 22
Joined: May 2009
Reputation: 0
Post: #28
(2012-03-31 12:57)Torroa Wrote:  
(2012-03-31 04:17)sprale Wrote:  I created a workaround based on someone else's solution, then I made it convenient. I wrapped a shell script in AppleScript and drag it to the dock next to XBMC. I wanted to make it as simple as possible, since the Mac Mini replaced our cable box, but my wife demands that it work and can be made to work without significant effort (I'm blessed with a s/o who is beautiful AND smart). Whether XBMC is running or not, we just click the script (bundle app) and it kills XBMC, the helper, then relaunches XBMC with the remote working as it should.

The code:
Quote:tell application "XBMC 11.0 Eden Beta 3" to quit
delay 5
do shell script "killall XBMCHelper"
delay 5
tell application "XBMC 11.0 Eden Beta 3" to activate

If anyone finds they have a better way or an alteration to this script, I think we would all be appreciative.

(the AppleScript Editor is in the Applications/Utilities folder for those new to AS, which since 10.6 is also where you enable the AS drop-down menu)

Didn´t you just tell Candelair fixed the problem?
Your solution is fine if you are using a keyboard or mouse. No mater how smart (or good looking) the person is, it is probably not as practical when controlling your XBMC solely with a remote.

Disable the os X screen saver, If you must have one, use dim- or black screen, install a script telling the XBMCHelper to restart when the Mac resumes from standby, and forget about it.

The beta versions of Eden sometimes crashes, especially when resuming from standby. Enable the function to start XBMC with a remote, and disable the os X error popup, and you should be just fine.

Code:
defaults write com.apple.CrashReporter DialogType server

I am using the keyboard, mouse, and remote in combination, and Candelair didn't fix the problem permanently, which is why I have the script to do the occasional (less than a couple times a week at worst). If your suggestions work for you, great, but it doesn't work in my circumstances. I was sure there would be a few others in the same boat as myself, which is why I shared my solution.

Dead-thread Necromancer!

XBMC System: Mac Mini (mid-2011) • 2.3GHz Intel Core i5 • 8Gb RAM • OS X 10.7.4 • XBMC 11.0 Eden RC2
find quote
bniswe Offline
Junior Member
Posts: 24
Joined: Nov 2009
Reputation: 0
Post: #29
Great that you shared your solution, its useful for me and I am sure many others.

I have been trying to find the time to TRY and fix this properly, by modifing the XBMCHelper source code.

Im not very familiar with XBMC code base, but
It should be possible to make the app respond to a OS X wakeup and redo the same remote initialization as when the helper starts.
find quote
bniswe Offline
Junior Member
Posts: 24
Joined: Nov 2009
Reputation: 0
Post: #30
For anyone having this problem and finding this thread:

As winestock pointed out here:
http://forum.xbmc.org/showthread.php?tid=131691

Using this solves the issue completely:
http://www.thebitguru.com/projects/iTunesPatch

It both prevents iTunes from starting aswell as preventing changing the volume with up down on the remote
(This post was last modified: 2012-05-22 16:08 by bniswe.)
find quote