PDA

View Full Version : Softsqeeze - Linux Client?



RaK
2007-07-29, 01:36
Guys,

I have an Linux Server up and running 24/7 with some speakers attached. I am looking for a softsqueeze application running nativ under linux.

I would like to snchronize this with a existing squeezebox. So playing the mp3 stream with mpg321 seems not to be the ideal solution.

Any hints?

davep
2007-07-29, 02:00
Err.. how about SoftSqueeze?

Runs under Java, and hence under Linux. Try launching it from the SlimServer Help page link.

davep

signor_rossi
2007-07-29, 02:03
What is the problem with actually using softsqueeze?
'java -jar SoftSqueeze.jar'

Bye, signor_rossi.

SuperQ
2007-07-29, 10:21
What is the problem with actually using softsqueeze?
'java -jar SoftSqueeze.jar'

Bye, signor_rossi.

It's a java webstart application.

javaws "http://HOSTNAME:9000/html/softsqueeze/softsqueeze.jnlp"

snarlydwarf
2007-07-29, 11:32
Or "java -jar SoftSqueeze.jar" if you have downloaded it seperately.

RaK
2007-07-30, 03:44
Seems like it was a silly question ;).

TNX for your help. I installed kaffe and startet SoftSqeeze es proposed. Ive got a lot of errors.

Be aware, that I am running a headless system without any graphical interfaces. I only have shell access.

Any hints on that? I just want to have a softsqueete running and would like to control it via the web interface of slimserver only.

I found a bit to read in the forum under the topic headless and try it out. TNX a lot!

KR


# java -jar /usr/share/slimserver/HTML/EN/html/softsqueeze/SoftSqueeze.jar
log4j:ERROR Parsing error on line 2 and column 48
log4j:ERROR null
log4j:ERROR Could not parse input source [org.xml.sax.InputSource@8a6966c].
gnu.xml.dom.ls.DomLSException
at gnu.xml.dom.ls.DomLSParser.doParse (DomLSParser.java:311)
at gnu.xml.dom.ls.DomLSParser.parse (DomLSParser.java:159)
at gnu.xml.dom.DomDocumentBuilder.parse (DomDocumentBuilder.java:179)
at org.apache.log4j.xml.DOMConfigurator.doConfigure (DOMConfigurator.java:665)
at org.apache.log4j.xml.DOMConfigurator.doConfigure (DOMConfigurator.java:616)
at org.apache.log4j.xml.DOMConfigurator.doConfigure (DOMConfigurator.java:602)
at org.apache.log4j.helpers.OptionConverter.selectAnd Configure (OptionConverter.java:460)
at org.apache.log4j.LogManager.<clinit> (LogManager.java:113)
at org.apache.log4j.Logger.getLogger (Logger.java:85)
at org.titmuss.softsqueeze.platform.Platform.<clinit> (Platform.java:46)
at org.titmuss.softsqueeze.Application.main (Application.java:52)
at java.lang.reflect.Method.invoke0 (Method.java)
at java.lang.reflect.Method.invoke (Method.java:255)
at org.kaffe.jar.ExecJarName.main (ExecJarName.java:64)
at org.kaffe.jar.ExecJar.main (ExecJar.java:57)
Caused by: org.xml.sax.SAXParseException
at gnu.xml.stream.SAXParser.parse (SAXParser.java:660)
at gnu.xml.dom.ls.DomLSParser.doParse (DomLSParser.java:299)
...14 more
Caused by: javax.xml.stream.XMLStreamException
at gnu.xml.stream.XMLParser.next (XMLParser.java:1184)
at gnu.xml.stream.XMLParser.hasNext (XMLParser.java:984)
at gnu.xml.stream.SAXParser.parse (SAXParser.java:377)
...15 more
Caused by: java.net.MalformedURLException: Protocol handler not found: dummy
at java.net.URL.<init> (URL.java:470)
at java.net.URL.<init> (URL.java:325)
at gnu.xml.stream.XMLParser.absolutize (XMLParser.java:1583)
at gnu.xml.stream.XMLParser.readExternalIds (XMLParser.java:2538)
at gnu.xml.stream.XMLParser.readDoctypeDecl (XMLParser.java:1732)
at gnu.xml.stream.XMLParser.next (XMLParser.java:1130)
...17 more

(.:17169): Gtk-WARNING **: cannot open display:
#

RaK
2007-07-30, 05:09
With the keyword headless I found a few options for what I would like to implement.

I found slimp3slave which is exactly what I searched for. I got some trouble setting it up.

I start slimp3
#./slimp3slave -s 127.0.0.1 -c 'splay -M'. I could see the new player in the web interface of slimserver. A play command starts the music, but approx 15sec later the music stops.

I tried several mp3mplayers (mpg321,mpg123, madplay, splay) all with the same effect.

Even with
splay http://127.0.0.1:9000/stream.mp3 -r the sound stops after 30sec. Same thing under windows on another pc using windows mediaplayer runs perfectly well.

I am confused. Any hints?

davep
2007-07-30, 06:10
I think that squeezeslave (https://sourceforge.net/project/showfiles.php?group_id=105169) might be a more up to date utility than slimp3slave for what you want to do.

davep

chrisla
2007-07-30, 12:03
Perhaps more up to date, but unless something has changed non-functional on
6.5.x. :(

slimp3slave still works on 6.5, I assume b/c it uses the older protocol
which has not been tweaked with.

-Chris

On 7/30/07, davep <davep.2ujciz1185801301 (AT) no-mx (DOT) forums.slimdevices.com>
wrote:
>
>
> I think that squeezeslave
> (https://sourceforge.net/project/showfiles.php?group_id=105169) might
> be a more up to date utility than slimp3slave for what you want to do.
>
> davep
>
>
> --
> davep
> ------------------------------------------------------------------------
> davep's Profile: http://forums.slimdevices.com/member.php?userid=61
> View this thread: http://forums.slimdevices.com/showthread.php?t=37182
>
>