• Home
  • Blog
  • Add-ons
  • Forum
  • Wiki
  • Developers
Nightingale - The tune of life, the tune of yours
  • Portal
  • Search
  • Member List
  • Calendar
  • Help
  • Portal
  • Search
  • Member List
  • Calendar
  • Help
Guest Hi, Guest
  • Login
  • Register
Login
Username:
Password: Lost Password?
 
Nightingale Forums Nightingale Helpdesk Add-ons Mac remote control support (old songbird add-on)

Pages (2): 1 2 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Mac remote control support (old songbird add-on)
zjays Offline
Member
***
Posts: 87
Threads: 8
Joined: Sep 2012
Reputation: 0
#1
04-13-2013, 12:06 PM
I was hoping to port this add-on to Nightingale so I could use my iMac remote to skip/pause/play tracks. However it seems that it doesn't work when porting to Nightingale or the newest Songbird version. So far I've only got it working for Songbird 1.4.3, and also needed Candelair 1.7 with "Legacy compatibility mode" activated.

Has anyone here tried porting this before? It seems that the bulk of the code is in a .dylib file, which I understand is an Xcode format. Opening it in a regular text editor just gives a bunch of garbled text. I tried a couple hours to view it with Xcode but couldn't figure it out (likely due to a lack of programming experience Rolleyes )
Find
Reply
freaktechnik Offline
CCO (Chief Crashing Officer)
*******
Posts: 498
Threads: 24
Joined: Sep 2010
Reputation: 11
#2
04-16-2013, 03:10 AM
This is probably compiled code, thus not readable for humans but for mac(hines). If you would want to get it to work with the current version of Candelair, you'd have to replace this file with a current implementation. You'd also have to reverse engineer, what the file offers for the extension, if you want to avoid rewriting the whole extension. So, the best case would be, if you found the original author and got him to updating it or releaseing the source.
freaktechnik
Website Find
Reply
zjays Offline
Member
***
Posts: 87
Threads: 8
Joined: Sep 2012
Reputation: 0
#3
04-18-2013, 01:36 AM (This post was last modified: 04-18-2013, 01:45 AM by zjays.)
Thanks for the advice freaktechnik!

I've emailed the author about updating but haven't received a reply, however the source is available here.

The apple keyboard media keys add-on, by the same author, was updated more recently (two years ago) and still works with the current Songbird/Nightingale. So I'm thinking that the source for this add-on could be used as an example of how to update the mac remote add-on. When I have more time I'll look deeper into this, I just posted this in case someone else wanted to try it before me.
Find
Reply
ilikenwf Offline
Developer/Project Manager
*******
Posts: 412
Threads: 22
Joined: Nov 2010
Reputation: 8
#4
04-18-2013, 04:40 AM
We can probably figure something out...unless you have the build environment, one of us can try and get this to build.

freaktechnik: ping me if I forget Smile
How to Build Nightingale | Nightingale on GitHub
Find
Reply
zjays Offline
Member
***
Posts: 87
Threads: 8
Joined: Sep 2012
Reputation: 0
#5
04-18-2013, 07:42 AM
Cool, thanks! I do have Xcode (running OS X 10.6.8), which I'm guessing was the build environment, but again, no idea how to use it at the moment.

Congrats on the 1.12 release btw, you guys rock.
Find
Reply
ilikenwf Offline
Developer/Project Manager
*******
Posts: 412
Threads: 22
Joined: Nov 2010
Reputation: 8
#6
04-18-2013, 09:03 AM (This post was last modified: 04-18-2013, 09:04 AM by ilikenwf.)
In that case, feel free to try. You will just have to cd in and make -f Makefile.in or whatevs to try.

Thanks Smile I will be fixing something tonight that should also allow all mac 1.11 users to auto update as well.
How to Build Nightingale | Nightingale on GitHub
Find
Reply
zjays Offline
Member
***
Posts: 87
Threads: 8
Joined: Sep 2012
Reputation: 0
#7
12-18-2013, 01:04 AM (This post was last modified: 12-18-2013, 01:05 AM by zjays.)
So I finally got around to getting this done!

I updated the extension to match the updates for the media keys extension and re-built it using the nightingale-1.11 release branch (my mac build system doesn't seem to like the nightingale-1.12 release branch and after). However it still runs fine for me in 1.12 and the latest nightly.

I've added the extension to the addons page here. I can only confirm that it works using Mac OS X 10.6.8. If you have an Apple remote and you are running a different OS version I'd be interested to know if it works there as well.

Just like the old Songbird add-on, for it to work properly you need to have the Candelair driver installed on your system with "Legacy compatibility mode" activated. However this mode was removed in Candelair 1.9, so you will need to install a version older than that. I found a link to download Candelair 1.7 (P.S. I posted this to the addons page, is this allowed?)

So the next step would be to update the add-on to work with the most recent Candelair driver. This probably won't be a very high priority for me, but if others want to try here is some info about adopting the HIDRemote class, which will have to be implemented into the extension somehow.

Finally I have attached the updated source code to this post, although I suppose I should upload it to a proper code-hosting site such as Github.


Attached Files
.zip   mac-remote-control source - ngale.zip (Size: 25.37 KB / Downloads: 192)
Find
Reply
rsjtdrjgfuzkfg Offline
Developer
*******
Posts: 664
Threads: 15
Joined: Oct 2011
Reputation: 15
#8
12-18-2013, 07:49 AM
(12-18-2013, 01:04 AM)zjays Wrote: I posted this to the addons page, is this allowed?

I don't see any issues with that. Just don't upload anything you did not make by yourself unless you're sure it is legal to do so (thus, no copy-pasting from copyrighted pages, no copyrighted material in uploads, etc.). We don't have a better system right now Wink
Songbird/Nightingale Community Developer and German Translator
Find
Reply
XXAU Offline
Junior Member
**
Posts: 3
Threads: 0
Joined: Feb 2014
Reputation: 0
#9
02-20-2014, 01:42 AM
I've got a problem running Candelair 1.12 and using Apple Remote. When I downloaded 1.7 i managed to install it but on opening I found that it just asks me to update Undecided Whats the deal here? Is there an update I need to wait for?
Find
Reply
zjays Offline
Member
***
Posts: 87
Threads: 8
Joined: Sep 2012
Reputation: 0
#10
02-20-2014, 01:46 PM
(02-20-2014, 01:42 AM)XXAU Wrote: I've got a problem running Candelair 1.12 and using Apple Remote. When I downloaded 1.7 i managed to install it but on opening I found that it just asks me to update Undecided Whats the deal here? Is there an update I need to wait for?

I uninstalled my version of Candelair and just did it again. After I installed the Candelair_1.7.dmg file, the Candelair icon in the preference pane pops up (see my attached image). Does it not appear like this for you? From there I just clicked the install button and I was good to go after activating the legacy compatibility mode.

I'm running Mac OS X 10.6.8, what are you running? Maybe it doesn't work on other versions...


Attached Files
.png   Candelair_1.7 install.png (Size: 40.74 KB / Downloads: 161)
Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)
  • Return to Top
  • Lite (Archive) Mode
  • RSS Syndication
Current time: 04-21-2021, 02:44 AM Powered By MyBB, © 2002-2021 MyBB Group.
Design By AliReza_Tofighi In WhiteCrow Software Group.
white outlined nightingale project logo

Nightingale is free!
It is an Open Source project released under the terms of the GNU General Public License v2 (GPL v2).
For more details, please read the license information.

Follow us!
f  g  t

Support
  • Community Forum
  • Official Blog
  • Add-ons
  • Wiki
  • Help Forum
Contribute
  • Developer's Center
  • Translate Nightingale
  • Source Code
  • Report a Bug
Ressources
  • Download Nightingale
Linear Mode
Threaded Mode