Your Digital Media Has Never Looked So Good

 
frethop
Topic Author
Posts: 81
Joined: Tue Nov 29, 2005 6:18 am

SBC 3.0 alpha -- a Java-based SoundBridge Controller

Tue Jun 17, 2008 7:49 am

I have released an alpha version of SBC 3.0, a Java-based Roku
SoundBridge controller. SBC -- for SoundBridgeController -- is
written in Java and has been run on Linux, Solaris, MacOS X, and
Microsoft Windows.

A long time ago (1.5 years -- ancient by computer years), I released
SBC version 1.0. The current version is quite a bit different. It
includes agents (mini-applications focusing on parts of SoundBridge
function), movable and resizable windows, and layouts that can be saved.

This version also includes a last.fm client and the start of album
art display.

You can pick up the software at

http://software.cs.hope.edu/sbc/SBC3.0a.zip

Once extracted from the zip file, the software is packaged as both a
Windows Installer file and as an executable JAR file. There is a
Windows executable included. It comes with a README.

Please remember that this is an alpha version and that it can be
rough around the edges and a little buggy.

Please check out the software and let me know what you think. This is
a pet project of mine and I welcome comments and suggestions. Send them
to "jipping@hope.edu". Many thanks in advance!
 
squashuax
Posts: 58
Joined: Sun Feb 26, 2006 7:51 pm

SoundBridge Control using Laptop or BlackBerry?

Tue Jun 17, 2008 1:21 pm

I'm setting up a SoundBridge to use with my new outdoor speaker system. The speakers are outside on the patio, and the amplifier is downstairs in the basement. The speaker wires run through the wall, but controlling the music source and volume is a pain.

Originally, I thought about putting a SoundBridge in a weatherproof enclosure outside, and running long cables to the amplifier and power outlet... But now that I see your software, I'm wondering if I can just hook the SoundBridge directly to the amplifier in the basement, and control it either over the network or through the internet. Will your sofware make this possible?
Compaq SR1520NX,
Firefly on Maxtor MSS+
iTunes
Rhapsody
Soundbridge M1001 (2)
SoundBridge R1000
Roku Netflix Player
Rotel mono power amps and pre-amp.
 
illiac4
Posts: 33
Joined: Wed Jul 04, 2007 10:14 pm

Tue Jun 17, 2008 10:42 pm

Hi!

As long as your SoundBridge is in network (it means that you can listen music) and i think that you are. Well then you can use this software and also some others for example VisualMR (available for PocketPC and PC).

Cheers
 
frethop
Topic Author
Posts: 81
Joined: Tue Nov 29, 2005 6:18 am

Wed Jun 18, 2008 3:15 am

I'd agree with illiac4. SoundBridges were built for network control. As long as you can hear the music produced by the SoundBridge, you don't need it in the same room as you. Use SBC or VisualMR or their like to control it.

In my office at work, I have a SoundBridge in front of me. At home, it's in the den, but speakers are all over the house. I can run it from the kitchen as long as I have access to a computer.

Good luck.
 
squashuax
Posts: 58
Joined: Sun Feb 26, 2006 7:51 pm

Portable Remote for Network Control

Wed Jun 18, 2008 3:10 pm

I tried the java version of SB3 last night, and was able to control the SoundBridge in my basement, feeding the speakers on my patio, from my second floor bedroom!

Now I'm looking for the next level of convenience... Is there a portable device, like a Sony PSP, that can be used to run the SoundBridge through the network? The laptop is a little bulky to use for a remote. Neither my new BlackBerry Curve nor my old Treo 700W has wifi, so I can't use them through my network.

Any suggestions?
Compaq SR1520NX,

Firefly on Maxtor MSS+

iTunes

Rhapsody

Soundbridge M1001 (2)

SoundBridge R1000

Roku Netflix Player

Rotel mono power amps and pre-amp.
 
frethop
Topic Author
Posts: 81
Joined: Tue Nov 29, 2005 6:18 am

Thu Jun 19, 2008 4:47 am

While I have an obvious bias toward SBC :) -- VisualMR can run on handheld Windows Mobile devices. Check the VisualMR thread in the SoundBridge Control and Integration forum.

SBC will run on some handheld devices soon, but not right now.
 
squashuax
Posts: 58
Joined: Sun Feb 26, 2006 7:51 pm

Could not find the main class. Program will exit.

Thu Jun 19, 2008 4:08 pm

I tried installing both versions of the program on my WIN-XP laptop from work, but when I try to run sbc.exe I get this error message:

Java Virtual Machine Launcher
X
Could not find the main class. Program will exit.

And when I double click sbs.jar, a command prompt briefly flashes, then nothing.

Entering radioroku.com or http://192.168.1.100/SoundBridge.html in my browser both work, but neither allows me to change the library to my NAS music server, so I'm only able to control the volume and pick internet radio stations.

This could be a problem with security (I do not have admin privledges) on my work laptop. Is there a workaround?

Is there any other way to select the server using a laptop connected to the wifi network?
Compaq SR1520NX,

Firefly on Maxtor MSS+

iTunes

Rhapsody

Soundbridge M1001 (2)

SoundBridge R1000

Roku Netflix Player

Rotel mono power amps and pre-amp.
 
illiac4
Posts: 33
Joined: Wed Jul 04, 2007 10:14 pm

Mon Jun 23, 2008 2:22 pm

Do you have java runtime installed on comp at the job???
The second is to control from remote location which is not a part of your network.

To do this you will need DNS (like dyndns which can traslate dynamic ip adresses into user frindly name (name). Some better routers support this or. DD-WRT firmware does.
The second thing you will need is called port forwarding on the router. This is basically the logic which transfers some specific request from outside to internal LAN. Example http:\\test.dyndns.org:2345\ address forwards router into internal address on your LAN 192.168.1.101 which is your soundbridge for example.
Of course application has to support that!!! But with already build-in web interface in soundbridge you can control radio from remote location.
The imortant thing is to know that the internal build web-control in soundbridge uses port 80.
Oh yes and do not forget to give the soundbridge always the same IP. You can do this so that the DHCP service of thr router will always gives the same IP which is bound to MAC of the wlan or. LAN adapter in soundbridge or. to assign static ip to soundbridge. But be aware that if you assign static ip it has to be out of DHCP range.

Well it is simple if you know the basic of networking, but quite a lot of things for the beginner ;)

Cheers

P.S.
About ''This could be a problem with security (I do not have admin privledges) on my work laptop. Is there a workaround? ''

There are always workarounds for that problem ;) If your admin is avarage than you will become an admin on your machine even in domain or. if your admin is very good you can become admin outside of domain at least till first logon into domain ;) Well in both cases for at least so long that you can install java runtime.
 
maxg
Posts: 3
Joined: Sun Mar 16, 2008 9:52 am

Does not run on Java 1.5

Mon Jul 21, 2008 1:54 am

Hello frethop,

I'm using a Mac PowerBook G4 and sadly there exists no Java 6 for PB G4. Seems like your jar is compiled against Java 1.6 because I'm getting an "java.lang.UnsupportedClassVersionError: Bad version number in .class file" Exception.

Could you please provide the Sorces so I can compile it against Java 1.5 our can you please provide a Jar that is compiled against Java 1.5? I would love to try this out.

Thanks, Max
 
coontey
Posts: 2
Joined: Wed Jul 23, 2008 8:35 am

Wed Jul 23, 2008 8:42 am

Hey squashuax

I use the Media Streamer application that comes with the Nokia n800 tablet to control my M1001 soundbridge. It works very well (occasional minor glitches such as playing a track twice, but nothing serious)

It sounds like just what you are looking for.

PS I was originally hanging out for Canola (media application on n800) to implement UPnP rendering fully, but the Canola dev team seem to have come off the boil of late and they may not get to implement this - which is a pity 'cos an n800, running Canola and rendering tunes on a Soundbridge would be sex on a stick!!

Rgds
 
coontey
Posts: 2
Joined: Wed Jul 23, 2008 8:35 am

Thu Jul 24, 2008 7:26 am

UPDATE
======

Imagine my surprise ... I spent all yesterday researching how to get LastFM streaming on my Soundbridge. Along the way I came across this post and downloaded frethop's Soundbridge Controller just to play with (and I did want a better SoundBridge controller for my n800)

Well I have yet to try this software on the n800 but when I ran it on my laptop I DISCOVERED THAT IT HAS A LAST FM CONTROLLER IN IT ALREADY!!!!:)

Just what I wanted - and completely unexpected. MANY thanks.

frethop - you should make this a more obvious feature as many people are interested in LastFM on the Soundbridge. Even Better, why not create a stripped down version that JUST acts as a LastFM enabler on the SB and can run on any Java enabled platform - even a mobile phone.!!

Either way - well played and thanks again
 
mashjones
Posts: 16
Joined: Fri Sep 09, 2005 8:56 pm

Sat Jul 26, 2008 3:05 pm

Nice software......I'm jigged about the last fm client, but for some reason when I put in my username/pword it tells me one of them are wrong, when I know they are right. How can I debug this? What could be wrong?

Thanks in advance frethop.
 
macmac1235
Posts: 1
Joined: Wed Jul 30, 2008 2:50 pm

Sat Aug 02, 2008 1:02 pm

Hi,

I just tried to start the Software on my Linux-Machine and it seems there are some problems. I start it using java -jar SBC.jar and it starts up correctly. I'm able to discover the SoundBridge in my network which gets detected as "Roku SoundBridge M400 @ 192.168.0.101". (Actually its a Pinnacle product but this should not really matter, right ;)).

When i select the SoundBridge the first few commands seem to work, but then it hangs on the Line where "ListVisualizers" is called. This seems to "timeout" and the whole thing seems to be be an endless-loop

[Sat Aug 02 21:54:38 UTC 2008] Using IP Address = 192.168.0.101
[Sat Aug 02 21:54:39 UTC 2008] <issueCommand> Issuing "displaytype"
[Sat Aug 02 21:54:39 UTC 2008] <issue> Sending "displaytype"
[Sat Aug 02 21:54:39 UTC 2008] <issueCommand> Response = "16x2 LCD  SoundBridge> "
Constructing in real constructor
[Sat Aug 02 21:54:39 UTC 2008] <issue> Sending "mmc"
[Sat Aug 02 21:54:40 UTC 2008] <issue> Sending "GetConnectedServer"
[Sat Aug 02 21:54:40 UTC 2008] <issueMMCCommand> Issuing "IrDispatchCommand CK_POWER_ON"
[Sat Aug 02 21:54:40 UTC 2008] <issue> Sending "IrDispatchCommand CK_POWER_ON"
[Sat Aug 02 21:54:41 UTC 2008] <issueMMCCommand> Response = "IrDispatchCommand: OK"
[Sat Aug 02 21:54:41 UTC 2008] <issueMMCCommand> Issuing "SetListResultType full"
[Sat Aug 02 21:54:41 UTC 2008] <issue> Sending "SetListResultType full"
[Sat Aug 02 21:54:41 UTC 2008] <issueMMCCommand> Response = "SetListResultType: OK"
[Sat Aug 02 21:54:41 UTC 2008] jar:file:/home/macmac/soundbridge/SBC.jar!/poweron.jpg
[Sat Aug 02 21:54:41 UTC 2008] jar:file:/home/macmac/soundbridge/SBC.jar!/poweroff.jpg
[Sat Aug 02 21:54:41 UTC 2008] <issueMMCCommand> Issuing "ListVisualizers"
[Sat Aug 02 21:54:41 UTC 2008] <issue> Sending "ListVisualizers"
[Sat Aug 02 21:55:31 UTC 2008] <issueMMCCommand> Response = ""
java.lang.ArrayIndexOutOfBoundsException: 1
   at SoundBridge.listVisualizers(SoundBridge.java:788)
   at SoundBridgeUIstd.<init>(SoundBridgeUIstd.java:269)
   at SoundBridgeController.<init>(SoundBridgeController.java:31)
   at SoundBridgeController.main(SoundBridgeController.java:134)
[... loop from here ..]
[Sat Aug 02 21:55:31 UTC 2008] Using IP Address = 192.168.0.101
[...]

There is no GUI commin up.

When I manually run the command in a Telnet-Session it results in an Error since my model does not Support Visualizers (its the "small" one).

ListVisualizers
ListVisualizers: ErrorUnsupported


Can there anything be done? Is my model not supported or is your code just lacking some Error-Handling?

You may of couse feel free to give me the corresponding sourcecode since am quite familiar to Java-Coding. So I'm probably able to help.
[edit] oh, i just realized that the .java-Files are included in the jar... i'll have a look ;)

Thank you in advance,

macmac
 
scooterg
Posts: 26
Joined: Fri Mar 23, 2007 11:30 am

Soundbridge Controller ver 3 Not There

Wed Aug 06, 2008 8:42 pm

Hi Frethop,

Your ver 3 of the Soundbridge Controller is not there anymore. Can you please put it somewhere? I loved your previous version 1.1. Thank you.


Scot
 
sansp00
Posts: 234
Joined: Tue Mar 14, 2006 6:11 am
Location: Beloeil, Quebec
Contact:

Thu Aug 14, 2008 9:27 am

Im trying to get my hands on it, could someone put the zip up somewhere it could be downloaded again or send it by email (send a private message to arrange this).
Thanks
Roku HD1000 (revived!), R1000 x2, M1001 x2
Linksys NSLU2 with Firefly
Netgear WGR614,JGS516,GS608,GS605 x3

Who is online

Users browsing this forum: No registered users and 2 guests