[MAC] XBMCHelper (XBMC's IR-helper) new Beta version (with Logitech Harmony support)

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Ayla Offline
Fan
Posts: 578
Joined: Feb 2008
Reputation: 0
Post: #121
Ayla Wrote:Thanks for the reply MaestroDD !

What I want to do, is change monitor resolution on-the-fly.

With Plex I had the "red" button on my Harmony remote point to a small script which only job was to do a "F3" key press.

In SwitchResX I have "F3" as a global shortcut to enable 1080p@60Hz for example.

Is there any way I can achieve this "F3" button press now that I use XBMC instead of Plex (I can of course change the "F3" key to another key in SwitchResX if that's necessary)?

EDIT: I found this command by googling: XBMC.RunScript(q:\scripts\test.py)

So maybe I could do a Python script which only function is to "press F3" and point to it with the above command in the keymap.xml?

/Martin

I got my scripts working.

I now have a "F2.py" and a "F3.py" script.

They both contain code that calls on applescript to do the keypresses that I want.

In Keymap.xml I have mapped two buttons to call the .py scripts with XBMC.RunScript(/Users/blabla/F2.py).

It works great and I can now switch between 1080p60 and 1080p24 "on-the-fly".
find quote
Ayla Offline
Fan
Posts: 578
Joined: Feb 2008
Reputation: 0
Post: #122
Ayla Wrote:Another question,

I'm using the Harmony 890 and latest XBMC Mac SVN build.

What do I need to do, if I wan't XBMC to start up automatically when I start my Activity on the Harmony?

And when I leave the Activity I wan't the computer to sleep?

Thanks Smile
Martin

OK, I got this working too.

In the Harmony software I have it send a "Menu" button press when the Activity starts.

It seems that the sleep function doesn't work (using latest SVN), so in the XBMC settings I have chosen to "Suspend" when I shutdown.

That way I can just send the "XBMC.Shutdown()" command instead when I leave the Activity and it then sleeps the Mac.
find quote
MaestroDD Offline
Team-XBMC Developer
Posts: 625
Joined: Jul 2008
Reputation: 0
Location: Mannheim, Germany
Post: #123
Ayla,

glad it works and thanks for sharing!

cheers,
mdd


Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. If you don't have the time to read them, please don't take the time to post in this forum!
For troubleshooting and bug reporting please make sure you read this first.
find quote
Ilia Offline
Senior Member
Posts: 296
Joined: Dec 2008
Reputation: 0
Post: #124
MaestroDD,

Is there a reason why this cannot work for appletv?

I noticed that the next realease went from
* Logitech Harmony Universal Remote support in XBMC for AppleTV
to
* Logitech Harmony Universal Remote support in XBMC for Mac

This is a killer feature to have on the AppleTV.

Ilia
find quote
garyi Offline
Posting Freak
Posts: 1,196
Joined: Oct 2008
Reputation: 0
Post: #125
I still get a terrific amount of problems with XBMC keeping contact with the harmony, a restart or going to sleep of the mac 100% results in a loss of function whereby XBMC has limited functionality and the remote will launch front row, play itunes and all sorts.

And sometimes inbetween restarts of XBMC as well. At the moment typically I have to go into settings, system, remote, turn off standard, click yes then come out, go back in turn on standard click yes, then switch the always running to off then back on. Quit XBMC and relaunch and all is well again, until the next quit or sleep.

Its fantastic when it works.
find quote
MaestroDD Offline
Team-XBMC Developer
Posts: 625
Joined: Jul 2008
Reputation: 0
Location: Mannheim, Germany
Post: #126
Ilia Wrote:MaestroDD,

Is there a reason why this cannot work for appletv?

nothing but lack of time...

Ilia Wrote:I noticed that the next realease went from
* Logitech Harmony Universal Remote support in XBMC for AppleTV
to
* Logitech Harmony Universal Remote support in XBMC for Mac
typo...

Ilia Wrote:This is a killer feature to have on the AppleTV.
nah, killer is different Smile Did you look at "Learned Remote" support. Adds quite a few extra buttons...

cheers,
mdd


Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. If you don't have the time to read them, please don't take the time to post in this forum!
For troubleshooting and bug reporting please make sure you read this first.
find quote
MaestroDD Offline
Team-XBMC Developer
Posts: 625
Joined: Jul 2008
Reputation: 0
Location: Mannheim, Germany
Post: #127
garyi Wrote:I still get a terrific amount of problems with XBMC keeping contact with the harmony, a restart or going to sleep of the mac 100% results in a loss of function whereby XBMC has limited functionality and the remote will launch front row, play itunes and all sorts.
And sometimes inbetween restarts of XBMC as well. At the moment typically I have to go into settings, system, remote, turn off standard, click yes then come out, go back in turn on standard click yes, then switch the always running to off then back on. Quit XBMC and relaunch and all is well again, until the next quit or sleep.

Its fantastic when it works.

Garyi,
please be as specific as you can. What are the steps to reproduce the problem? If you give a step by step description it is _sooo_ much easier to fix the issues. I do normally not use my Harmony remote with my Mac, so I may even oversee the simplest things.
Also, which version of XBMC etc. you are running is _essential_ for reproducing a bug.

Thanks in advance,
mdd


Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. If you don't have the time to read them, please don't take the time to post in this forum!
For troubleshooting and bug reporting please make sure you read this first.
find quote
mmmfishies Offline
Donor
Posts: 38
Joined: Dec 2004
Reputation: 0
Location: San Diego, CA
Post: #128
I've been using XBMC on my Mac Mini for several months now (after years with the Xbox), and I just bought a Harmony remote so that I could test this. Wow! I'd forgotten how nice it is to have proper remote support!

Thanks, MaestroDD!

Rob
find quote
garyi Offline
Posting Freak
Posts: 1,196
Joined: Oct 2008
Reputation: 0
Post: #129
Hi there. The easiest way to reproduce the problem is to restart my mac.

I usually goto system prefs and restart without quitting apps first. Also I do a lot of VNCing into the mac and wonder if this has a baring.

I have tried a number of versions but in general I use the standard babylon release. I find it difficult to find the nightly builds, the latest one I found was April 24th? One of the builds did not appear to have the osx folder in the tools folder so that caused a bit of confusion!
find quote
MaestroDD Offline
Team-XBMC Developer
Posts: 625
Joined: Jul 2008
Reputation: 0
Location: Mannheim, Germany
Post: #130
garyi Wrote:Hi there. The easiest way to reproduce the problem is to restart my mac.

So this happens with the Babylon release and XBMCHelper v.05 from this thread? I suppose you have "Always On" enabled?

If you're talking about reboot:
Did you read DAddYE's post that reboot results in remote loss and my reply/fix for it?


Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. If you don't have the time to read them, please don't take the time to post in this forum!
For troubleshooting and bug reporting please make sure you read this first.
find quote
Post Reply