[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
Weavus Offline
Alaska Group
Posts: 346
Joined: Jun 2004
Post: #46
Works great for me now with the new files. Thanks very much for the speedy fix. Have a great weekend!
find quote
DAddYE Offline
Junior Member
Posts: 20
Joined: May 2009
Reputation: 0
Post: #47
Hi Maestro,

im using Babylon RC1, and I thinked support for harmony is bundled but same to be not.

So,

I configure my Harmony with the Plex Player Device
I changed XBMCHelper with yours in quote (but the location for me is XBMC.app/Contents/Resources/XBMC)
I added your Keymap.xml in my userdata
I using standard for apple remote in my settings of xbmc

Code:
$ ls ~/Library/Application\ Support/XBMC/
RB        plugins        scripts        sounds        userdata
XBMCHelper.conf    screensavers    skin        system        visualisations

Code:
$ cat ~/Library/Application\ Support/XBMC/XBMCHelper.conf
--timeout 500

Code:
$ ls ~/Library/LaunchAgents/
com.apple.SafariBookmarksSyncer.plist

Code:
$ cat ls ~/Library/LaunchAgents/org.xbmc.helper.plist
cat: ls: No such file or directory
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>org.xbmc.helper</string>
    <key>ProgramArguments</key>
    <array>
        <string>/Applications/XBMC.app/Contents/Resources/XBMC/XBMCHelper</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
</dict>
</plist>

But any key didn't work... suggestion?

MaestroDD Wrote:fixed:
1) Keymap.xml was messed up, thus the right<->left swap
2) reverted some untested changes from commit before :/

Links: Keymap.xml and XBMCHelper.

sorry for the trouble!

cheers,
mdd
(This post was last modified: 2009-05-02 12:30 by DAddYE.)
find quote
MaestroDD Offline
Team-XBMC Developer
Posts: 629
Joined: Jul 2008
Reputation: 0
Location: Mannheim, Germany
Post: #48
Hi,

few things propably mixed up, see comments below:
DAddYE Wrote:[...]
I configure my Harmony with the Plex Player Device
I changed XBMCHelper with yours in quote (but the location for me is XBMC.app/Contents/Resources/XBMC)

not sure about this one. Where did you install XBMC to (aka, where did you drop the XBMC.app-bundle)?

DAddYE Wrote:[...]
Code:
$ cat ~/Library/Application\ Support/XBMC/XBMCHelper.conf
--timeout 500

Please make sure you're using RC1 (check xbmc.log from ~/Library/Logs/xbmc.log, or open the shutdown menu in PM3.HD, hit Info and check the version there)

DAddYE Wrote:
Code:
$ ls ~/Library/LaunchAgents/
com.apple.SafariBookmarksSyncer.plist

Code:
$ cat ls ~/Library/LaunchAgents/org.xbmc.helper.plist
cat: ls: No such file or directory
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>org.xbmc.helper</string>
    <key>ProgramArguments</key>
    <array>
        <string>/Applications/XBMC.app/Contents/Resources/XBMC/XBMCHelper</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
</dict>
</plist>

here's something messed up, first org.xbmc.helper.plist wasn't present, later it's there?!
Anyways, don't mind the LaunchAgent file for now (btw it looks like it's again not from RC1). It's only there if you have enabled "Always On" for AppleRemote in XBMC and it starts XBMCHelper on boot, rather when you launch XBMC.


Please make sure you're running RC1 first, post xbmc.log to pastebin and link here.

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
DAddYE Offline
Junior Member
Posts: 20
Joined: May 2009
Reputation: 0
Post: #49
MaestroDD Wrote:Hi,

few things propably mixed up, see comments below:


not sure about this one. Where did you install XBMC to (aka, where did you drop the XBMC.app-bundle)?

It's sorry this is the full path
Code:
$ ls /Applications/XBMC.app/Contents/Resources/XBMC/
$ ls /Applications/XBMC.app/Contents/Resources/XBMC/
XBMCHelper        media            screensavers        sounds            userdata
extras            org.xbmc.helper.plist    scripts            system            visualisations
language        plugins
Quote:Please make sure you're using RC1 (check xbmc.log from ~/Library/Logs/xbmc.log, or open the shutdown menu in PM3.HD, hit Info and check the version there)

Im really sure I downloaded it from here http://sourceforge.net/project/downloadi...on-RC1.dmg

And my pastebin for log is here: http://pastebin.com/m7865c5f

Quote:here's something messed up, first org.xbmc.helper.plist wasn't present, later it's there?!

Yes I enabled (sorry) after "ls" the always on options, so after do that the launcher will be created.

Quote:Anyways, don't mind the LaunchAgent file for now (btw it looks like it's again not from RC1). It's only there if you have enabled "Always On" for AppleRemote in XBMC and it starts XBMCHelper on boot, rather when you launch XBMC.


Please make sure you're running RC1 first, post xbmc.log to pastebin and link here.

cheers,
mdd

Many many thanks
find quote
MaestroDD Offline
Team-XBMC Developer
Posts: 629
Joined: Jul 2008
Reputation: 0
Location: Mannheim, Germany
Post: #50
Code:
12:32:12 T:2691954464 M:1861292032  NOTICE: Starting XBMC, Platform: Mac OS X.  Built on Apr  3 2009 (SVN:19219)
log says it's alpha1.
Maybe copied somewhere else?


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
DAddYE Offline
Junior Member
Posts: 20
Joined: May 2009
Reputation: 0
Post: #51
Im very stupid, I've downloaded the rc1 but I didn't install it Big Grin

So now the path for XBMCHelper is in tools/osx but problem persist,

I followed step by step instructions but any keys of my harmony work.

This is my last log

http://pastebin.com/m30a6057b

Please don't see error on my device audio because are caused by a bad wmv Wink

Many thanks!
find quote
MaestroDD Offline
Team-XBMC Developer
Posts: 629
Joined: Jul 2008
Reputation: 0
Location: Mannheim, Germany
Post: #52
DAddYE Wrote:[...]
So now the path for XBMCHelper is in tools/osx but problem persist,
[...]
please post the logs from your first post again, now with rc1 running and add output of
ls -la /Applications/XBMC.app/Contents/Resources/XBMC/tools/osx/
ls -la ~/Library/Application\ Support/XBMC/userdata/


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
DAddYE Offline
Junior Member
Posts: 20
Joined: May 2009
Reputation: 0
Post: #53
Thanks for the fast reply!

Code:
$ ls -la ~/Library/Application\ Support/XBMC/
total 24
drwxr-xr-x  14 DAddYE  staff   476  2 Mag 12:58 .
drwx------+ 60 DAddYE  staff  2040 17 Apr 10:15 ..
-rw-r--r--@  1 DAddYE  staff  6148  2 Mag 13:00 .DS_Store
-rw-r--r--   1 DAddYE  staff     0 12 Mar 18:50 .setup_complete
drwxr-xr-x   4 DAddYE  staff   136  9 Apr 16:06 RB
-rw-r--r--@  1 DAddYE  staff   129  2 Mag 16:51 XBMCHelper.conf
drwxr-xr-x   7 DAddYE  staff   238 13 Mar 10:17 plugins
drwxr-xr-x   2 DAddYE  staff    68 12 Mar 18:50 screensavers
drwxr-xr-x   5 DAddYE  staff   170  9 Apr 16:06 scripts
drwxr-xr-x   4 DAddYE  staff   136  1 Mag 14:18 skin
drwxr-xr-x   2 DAddYE  staff    68 12 Mar 18:50 sounds
drwxr-xr-x   2 DAddYE  staff    68 12 Mar 18:50 system
drwxr-xr-x  15 DAddYE  staff   510  2 Mag 11:54 userdata
drwxr-xr-x   2 DAddYE  staff    68 12 Mar 18:50 visualisations

$ cat ~/Library/Application\ Support/XBMC/XBMCHelper.conf
--timeout 500 --appPath "/Applications/XBMC.app/Contents/MacOS/XBMC" --appHome "/Applications/XBMC.app/Contents/Resources/XBMC"

$ ls -al ~/Library/LaunchAgents/
total 16
drwx------   4 DAddYE  staff   136  2 Mag 16:26 .
drwx------+ 51 DAddYE  staff  1734  1 Mag 20:46 ..
-rw-r--r--   1 DAddYE  staff   813 16 Dic 10:24 com.apple.SafariBookmarksSyncer.plist
-rw-r--r--   1 DAddYE  staff   430  2 Mag 16:51 org.xbmc.helper.plist

$ cat ~/Library/LaunchAgents/org.xbmc.helper.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>org.xbmc.helper</string>
    <key>ProgramArguments</key>
    <array>
        <string>/Applications/XBMC.app/Contents/Resources/XBMC/tools/osx/XBMCHelper</string>
        <string> -x</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
</dict>
</plist>

$ ls -la /Applications/XBMC.app/Contents/Resources/XBMC/tools/osx/
total 1104
drwxr-xr-x  5 DAddYE  admin     170  2 Mag 16:01 .
drwxr-xr-x  3 DAddYE  admin     102 29 Apr 22:50 ..
-rwxr-xr-x@ 1 DAddYE  staff  552304  2 Mag 16:01 XBMCHelper
-rw-r--r--  1 DAddYE  admin     373 29 Apr 21:14 org.xbmc.helper.plist
-rwxr-xr-x  1 DAddYE  admin    5350 29 Apr 21:14 preflight

$ ls -la ~/Library/Application\ Support/XBMC/userdata/
total 288
drwxr-xr-x  15 DAddYE  staff    510  2 Mag 11:54 .
drwxr-xr-x  14 DAddYE  staff    476  2 Mag 12:58 ..
-rw-r--r--@  1 DAddYE  staff   6148  2 Mag 11:42 .DS_Store
drwxr-xr-x   8 DAddYE  staff    272  2 Mag 16:51 Database
-rw-r--r--@  1 DAddYE  staff  73729  2 Mag 11:54 Keymap.xml
-rw-r-----   1 DAddYE  staff   1448 12 Mar 18:50 LCD.xml
-rw-r-----   1 DAddYE  staff    391 12 Mar 18:50 RssFeeds.xml
-rw-r--r--   1 DAddYE  staff     71  2 Mag 16:52 Scrobbler.xml
drwxr-xr-x   7 DAddYE  staff    238 12 Mar 18:50 Thumbnails
-rw-r--r--   1 DAddYE  staff  39025  2 Mag 16:52 guisettings.xml
drwxr-xr-x   5 DAddYE  staff    170 12 Mar 18:50 playlists
drwxr-xr-x   4 DAddYE  staff    136  1 Mag 13:54 plugin_data
-rw-r--r--   1 DAddYE  staff    393  2 Mag 16:52 profiles.xml
-rw-r--r--   1 DAddYE  staff   2265  1 Mag 15:16 sources.xml
drwxr-xr-x   2 DAddYE  staff     68 12 Mar 18:50 visualisations
find quote
MaestroDD Offline
Team-XBMC Developer
Posts: 629
Joined: Jul 2008
Reputation: 0
Location: Mannheim, Germany
Post: #54
DAddYE Wrote:Thanks for the fast reply!
output looks good.

you can try to manually start the helper, and check if it sees your Harmony. Maybe something during Harmony's configuration went wrong.
In terminal do:
Code:
/Applications/XBMC.app/Contents/Resources/XBMC/tools/osx/XBMCHelper -v
and hit some buttons.


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: 629
Joined: Jul 2008
Reputation: 0
Location: Mannheim, Germany
Post: #55
MaestroDD Wrote:output looks good.

you can try to manually start the helper, and check if it sees your Harmony. Maybe something during Harmony's configuration went wrong.
In terminal do:
Code:
/Applications/XBMC.app/Contents/Resources/XBMC/tools/osx/XBMCHelper -v
and hit some buttons.

ooops, forgot something. Access to IR is exclusive, so make sure no other instance of XBMCHelper/Plex's helper is running


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
DAddYE Offline
Junior Member
Posts: 20
Joined: May 2009
Reputation: 0
Post: #56
Hi!

I installed plex for verify that my harmony work.

First problem (I suggest to insert in the main post) is that my mac have pair with only one remote apple, so in preference -> securety I need to disable it.

Now, plex work but xbmc not.

I killed XBMCHelper and PlexHelper and:

Code:
$ /Applications/XBMC.app/Contents/Resources/XBMC/tools/osx/XBMCHelper -v
2009-05-02 20:09:05.967 XBMCHelper[962:10b] OSXRemote 0.3 starting up...
2009-05-02 20:09:05.969 XBMCHelper[962:10b] [DEBUG] -[XBMCHelper init]
2009-05-02 20:09:05.978 XBMCHelper[962:10b] [DEBUG] objc_object* -[XBMCClientWrapper initWithMode:serverAddress:verbose:](XBMCClientWrapper*, objc_selector*, eRemoteMode, NSString*, bool)
2009-05-02 20:09:05.979 XBMCHelper[962:10b] [DEBUG] XBMCClientWrapperImpl::XBMCClientWrapperImpl(eRemoteMode, const std::string&, bool)
2009-05-02 20:09:05.980 XBMCHelper[962:10b] XBMCClientWrapperImpl started in multiremote mode sending to address localhost
2009-05-02 20:09:10.079 XBMCHelper[962:10b] [ERROR] No executable set. Nothing to launch
2009-05-02 20:09:10.081 XBMCHelper[962:10b] XBMCClientWrapperImpl::sendButton sending button 6 down:2 up:0
2009-05-02 20:09:15.391 XBMCHelper[962:10b] [ERROR] No executable set. Nothing to launch
2009-05-02 20:09:15.392 XBMCHelper[962:10b] XBMCClientWrapperImpl::sendButton sending button 6 down:2 up:0
2009-05-02 20:09:17.199 XBMCHelper[962:10b] XBMCClientWrapperImpl::sendButton sending button 2 down:2 up:0
2009-05-02 20:09:17.583 XBMCHelper[962:10b] XBMCClientWrapperImpl::sendButton sending button 2 down:0 up:4
2009-05-02 20:09:20.494 XBMCHelper[962:10b] XBMCClientWrapperImpl::sendButton sending button 3 down:2 up:0
2009-05-02 20:09:20.496 XBMCHelper[962:10b] XBMCClientWrapperImpl::sendButton sending button 3 down:0 up:4
find quote
DAddYE Offline
Junior Member
Posts: 20
Joined: May 2009
Reputation: 0
Post: #57
I don't know how... but now work! Big Grin
find quote
MaestroDD Offline
Team-XBMC Developer
Posts: 629
Joined: Jul 2008
Reputation: 0
Location: Mannheim, Germany
Post: #58
DAddYE Wrote:Hi!

I installed plex for verify that my harmony work.

First problem (I suggest to insert in the main post) is that my mac have pair with only one remote apple, so in preference -> securety I need to disable it.

Now, plex work but xbmc not.

I killed XBMCHelper and PlexHelper and:

Code:
$ /Applications/XBMC.app/Contents/Resources/XBMC/tools/osx/XBMCHelper -v
2009-05-02 20:09:05.967 XBMCHelper[962:10b] OSXRemote 0.3 starting up...
2009-05-02 20:09:05.969 XBMCHelper[962:10b] [DEBUG] -[XBMCHelper init]
2009-05-02 20:09:05.978 XBMCHelper[962:10b] [DEBUG] objc_object* -[XBMCClientWrapper initWithMode:serverAddress:verbose:](XBMCClientWrapper*, objc_selector*, eRemoteMode, NSString*, bool)
2009-05-02 20:09:05.979 XBMCHelper[962:10b] [DEBUG] XBMCClientWrapperImpl::XBMCClientWrapperImpl(eRemoteMode, const std::string&, bool)
2009-05-02 20:09:05.980 XBMCHelper[962:10b] XBMCClientWrapperImpl started in multiremote mode sending to address localhost
2009-05-02 20:09:10.079 XBMCHelper[962:10b] [ERROR] No executable set. Nothing to launch
2009-05-02 20:09:10.081 XBMCHelper[962:10b] XBMCClientWrapperImpl::sendButton sending button 6 down:2 up:0
2009-05-02 20:09:15.391 XBMCHelper[962:10b] [ERROR] No executable set. Nothing to launch
2009-05-02 20:09:15.392 XBMCHelper[962:10b] XBMCClientWrapperImpl::sendButton sending button 6 down:2 up:0
2009-05-02 20:09:17.199 XBMCHelper[962:10b] XBMCClientWrapperImpl::sendButton sending button 2 down:2 up:0
2009-05-02 20:09:17.583 XBMCHelper[962:10b] XBMCClientWrapperImpl::sendButton sending button 2 down:0 up:4
2009-05-02 20:09:20.494 XBMCHelper[962:10b] XBMCClientWrapperImpl::sendButton sending button 3 down:2 up:0
2009-05-02 20:09:20.496 XBMCHelper[962:10b] XBMCClientWrapperImpl::sendButton sending button 3 down:0 up:4

looks good. Still nothing in XBMC?
may want to check system.log (/Applications/Utilities/Console.app -> LOG FILES -> system.log) and see if XBMCHelper starts up.
Other things:
-EventServer enabled?
-AppleRemote set to Standard?


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
DAddYE Offline
Junior Member
Posts: 20
Joined: May 2009
Reputation: 0
Post: #59
Only one problem...

why when I press on my harmony "menu" still open frontrow?

also when Im in the app happen.
find quote
MaestroDD Offline
Team-XBMC Developer
Posts: 629
Joined: Jul 2008
Reputation: 0
Location: Mannheim, Germany
Post: #60
DAddYE Wrote:Only one problem...

why when I press on my harmony "menu" still open frontrow?

also when Im in the app happen.

you'll need to set AppleRemote to "Always On", then it should launch XBMC instead of FrontRow.


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