[RELEASE] Official XBMC boblight Addon

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Wikking Offline
Junior Member
Posts: 30
Joined: Aug 2010
Reputation: 1
Post: #71
Adam B. Wrote:I don't have an ambx device, so I'm not exactly sure what's needed to get it working.

Well usually one (additionally) has to install CombustD and Ruby-usb to get the AMBX-device working under linux / XBMC. There are several guides out there but they are only working for the non-svn-version of boblight (http://forum.xbmc.org/showthread.php?tid=71912).
There are ways of getting it to work with the SVN-version of boblight...I hope bleze can shed some light on this!
Once properly configured the AMBX-device just acts like any other ambilight. Hope this helps and I also hope that you can integrate this into your addon!
find quote
bobo1on1 Offline
cheapass Team-XBMC Developer
Posts: 2,757
Joined: Dec 2008
Reputation: 21
Post: #72
Could you post your boblight.conf please.
find quote
bleze Offline
Senior Member
Posts: 205
Joined: Nov 2009
Reputation: 0
Post: #73
wikking, I basically followed cervix's guide from here: http://stmlabs.com/forum/topic/tutorial-...d-2/page/2

This got combustd and ruby installed. Instead of the old boblight I built SVN version as shown in this thread.

Memphiz helped me configure and setup boblight to start correctly. Here is my boblight.conf file: http://pastebin.com/AqFPpzbM

He also inserted '#!/usr/bin/ruby' at the top of the boblight.rb file.

Like I've written before, the colors lag and are off. If someone optimizes this and fixes the colors, please post boblight.conf for AMBX. Also I have dropped frames probably due to overloaded CPU in ATV1 (I have broadcom chip of course)
find quote
Adam B. Offline
Member
Posts: 88
Joined: Mar 2009
Reputation: 0
Post: #74
Memphiz Wrote:then i'll wait until this exactly will happen *whistles*

Memphiz, this has been accepted into the Openelec repositories and is available for users.

Can you merge my pull request for this script and push to the official XBMC repo? Right now users have to manually download my version or use boblight-X11 for it to work.
find quote
LastMile Offline
Member+
Posts: 72
Joined: Nov 2008
Reputation: 0
Post: #75
I'm having trouble building libboblight.so

After:

Code:
make && sudo make install


I get:

Code:
ar: libboblight_la-boblight-client.o: No such file or directory
make[2]: *** [libboblight.la] Error 1
make[2]: Leaving directory `/home/xbmc/boblight/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/xbmc/boblight'
make: *** [all] Error 2

Any suggestions?
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,915
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #76
Adam B. Wrote:Memphiz, this has been accepted into the Openelec repositories and is available for users.

Can you merge my pull request for this script and push to the official XBMC repo? Right now users have to manually download my version or use boblight-X11 for it to work.

I'm not really happy with that pr tbh. Because it is so special. Isn't there a more generic way to add librarys to openelec (a general path or so) and adding this path to the LD_LIBRARY_PATH? This would be more generic and wouldn't need any adaption to the addon.

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
Adam B. Offline
Member
Posts: 88
Joined: Mar 2009
Reputation: 0
Post: #77
Memphiz Wrote:I'm not really happy with that pr tbh. Because it is so special. Isn't there a more generic way to add librarys to openelec (a general path or so) and adding this path to the LD_LIBRARY_PATH? This would be more generic and wouldn't need any adaption to the addon.

Unfortunately, there isn't.
  • The root filesystem is mounted read only, the only user writeable are is /storage. Because of this, we can't modify openelec's boot scripts to add a library path.
  • All addons are self-contained. Boblightd is available in the repositories, and when installed stores all of it's data within the normal addon structure of XBMC.
  • All binary addons must add their own LD_LIBRARY_PATH to start correctly. Take a look at this example for nano (maintained by openelec). It has it's LD_LIBRARY_PATH hard coded in order to run.

I've been working with the openelec guys on this, and boblightd has been developed according to their standards. It seems this is the best/only way to do it.
find quote
sraue Offline
Team-XBMC Developer
Posts: 803
Joined: Oct 2009
Reputation: 14
Location: Switzerland, Solothurn
Post: #78
Adam B. Wrote:
  • All binary addons must add their own LD_LIBRARY_PATH to start correctly. Take a look at this example for nano (maintained by openelec). It has it's LD_LIBRARY_PATH hard coded in order to run.

Adam B,

can you test a build with setting and export LD_LIBRARY_PATH like we do with the PATH in https://github.com/OpenELEC/OpenELEC.tv/.../path.conf ? maybe this can work too and this solution would be much nicer then using openelec's special paths inside the addon. i think for the future and real binary addon support this must be included in XBMC without such a hack.

Stephan

greetings, Stephan

[Image: userbar-openelec-001.gif]
[Image: project_thin_badge.gif]
find quote
pang Offline
Member
Posts: 82
Joined: May 2009
Reputation: 0
Post: #79
where can i buy a compatible lights, can someone giude me please since i really want to do this.

all i need to know where to buy and how to connect to the pc

Thanks
find quote
Elbert Offline
Senior Member
Posts: 131
Joined: Oct 2009
Reputation: 4
Location: Netherlands
Post: #80
LastMile Wrote:I'm having trouble building libboblight.so

After:

Code:
make && sudo make install


I get:

Code:
ar: libboblight_la-boblight-client.o: No such file or directory
make[2]: *** [libboblight.la] Error 1
make[2]: Leaving directory `/home/xbmc/boblight/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/xbmc/boblight'
make: *** [all] Error 2

Any suggestions?

Seems some recent revisions in the code caused these errors. I used an older revision (svn checkout -r 400 <URL> <dest>) which compiled without a problem.
find quote
Post Reply