Your Digital Media Has Never Looked So Good

 
mrbogle
Topic Author
Posts: 1
Joined: Wed Jul 08, 2009 10:06 pm

So I wrote a webapp client for the soundbridge. Check it.

Wed Jul 08, 2009 10:21 pm

A week ago or so, a dude brought a soundbridge into the office so we could all hook up our libraries and have a community playlist. Also was the promise of hackability. Yay. So using the remote and the builtin web site turned out to be a pain and everyone was looking around for alternatives like streaming a radio station and playing the station in the soundbridge. The guy who brought the thing in wrote a small python control library. Sooooo, last weekend I took the thing home and wrote a nice Ajaxey Django web app to control it through the small python lib mentioned earlier.

Here it is: http://github.com/benogle/soundbridge_control

There may be a high barrier to entry to get this thing. You need python, django 1.0, and git. Then you run

git clone git://github.com/benogle/soundbridge_control.git


and it will download the code. To run it quick and dirty style, cd into the newly created directory:

cd soundbridge_control


You need to point it at your soundbridge. So open the settings.py file in any text editor and set the ROKU_SERVER variable to the IP of your soundbridge device. It is set to 'radio' right now as thats what we call ours in the office. i.e.

ROKU_SERVER = '192.168.1.103'


Then start the webserver:

python manage.py runserver 0.0.0.0:8000


Now visit http://localhost:8000 and you should see the site. Your library is on the left. Switch to a new library at the bottom of the left pane, and the soundbridge's playlist is on the right. The playlist updates every 10 seconds. Starting the webserver on 0.0.0.0 allows your buddies to use the website from your machine. If you know your ip (ipconfig on windows, ifconfig on unix/linux/mac) you can tell them to go to http://[yourIP]:8000 and it should load the site up. We are a web app company, and we run the site with this method on a utility server we had laying around. It is easy, but may be low-performing if you have a bunch of people hitting it.

If you want to use the lib, it is roku.py:
http://github.com/benogle/soundbridge_c ... ol/roku.py

If you are inclined, please fork it on github and make changes (for the better). People in the office keep asking for drag and drop. Then I tell them that 10 hours is enough of my time on it. You want it? Bust out your jQuery-fu.

Ben
 
Christos
Posts: 21
Joined: Sat Mar 12, 2005 10:00 am

Re: So I wrote a webapp client for the soundbridge. Check it

Wed Jul 15, 2009 8:15 am

mrbogle wrote:
We are a web app company, and we run the site with this method on a utility server we had laying around.


Hey Ben. Nice to see that development for this hardware is still ongoing - at least among the user community.

Just wondered if you could post some screenshots to this app, or a link to a demo site?

I'm interested, but as you say, the boundary to entry is high and I would like to know what to expect before spending a few hours on trying to get the thing to work. I wouldn't want to waste my time, only to uninstall the thing again ;-)

Who is online

Users browsing this forum: No registered users and 1 guest