PDA

View Full Version : Softsqueeze 0.5



rtitmuss
2004-05-24, 05:12
Hi,

Softsqueeze version 0.5 is now available at
http://softsqueeze.sourceforge.net

Changes include:
- full mp3 support, volume, mute, etc.
- pause button delay fixed.
- built-in ssh tunnel support.
- java web start and applet support.
- excession skin update
- experimental support for Window DirectSound (requires Java 1.5 beta 1)
- slim server discovery
- experimental record stream option

I would also be interested in feedback on synchronization of non-mp3 streams
in this release. Fixing this is now at the top of my list.

Regards,
Richard

Roy M. Silvernail
2004-05-24, 06:24
Richard Titmuss wrote:
> Hi,
>
> Softsqueeze version 0.5 is now available at
> http://softsqueeze.sourceforge.net
>
> Changes include:
> - full mp3 support, volume, mute, etc.
> - pause button delay fixed.
> - built-in ssh tunnel support.

I'm listening to my home server from work right now over the ssh tunnel.
Works like a champ! And the local proxying of port 9000 is an
unexpected treat! Hmmm... this means I can take a bunch of the usually
forwarded ports out of my connect script.

Blue-sky wish: a set of ports to forward along with the 9000 web
interface. That way, I could avoid even having a cygwin window open.

Adam Spiers
2004-05-24, 07:53
Richard Titmuss (richard_titmuss (AT) yahoo (DOT) co.uk) wrote:
> Hi,
>
> Softsqueeze version 0.5 is now available at
> http://softsqueeze.sourceforge.net
>
> Changes include:
> - full mp3 support, volume, mute, etc.
> - pause button delay fixed.
> - built-in ssh tunnel support.
> - java web start and applet support.
> - excession skin update
> - experimental support for Window DirectSound (requires Java 1.5 beta 1)
> - slim server discovery
> - experimental record stream option
>
> I would also be interested in feedback on synchronization of non-mp3 streams
> in this release. Fixing this is now at the top of my list.

This all sounds fantastic, and I'm very keen to help debug
synchronization. However I just tried this from work and couldn't get
the ssh tunnelling to work. My slimserver runs on my home PC behind
an ADSL router. The router is configured to forward port 23 (sic)
directly to the PC, and the PC's opensshd listens on port 23. The
ADSL router uses the dyndns.org service to enable external access, so
that when I ssh to ${mydomain}.dyndns.org, I end up directly on my PC
on the private network (IP 192.168.1.1). So far so simple.

I pointed Softsqueeze 0.5 at ${mydomain}.dyndns.org, using the SSH
tunnel to port 23, and it seems to handshake fine, but then fails to
connect to the slimserver. I suspect the ssh local port forwarding is
failing. Is it trying to do the equivalent of

ssh -L 9000:${mydomain}.dyndns.org:9000

? Because presumably it should be doing

ssh -L 9000:192.168.1.1:9000

but Softsqueeze has no way of knowing the private network IP. Unless
it just uses 'localhost' ?

rtitmuss
2004-05-24, 08:07
Adam,

I've spotted the problem, I still had a hardcoded port number of 22 in one
place. Sorry about that. I will fix this and post an updated version to
sourgeforge later.

Regards,
Richard


----- Original Message -----
From: "Adam Spiers" <slim-discuss (AT) adamspiers (DOT) org>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Monday, May 24, 2004 3:53 PM
Subject: [slim] Softsqueeze 0.5


> Richard Titmuss (richard_titmuss (AT) yahoo (DOT) co.uk) wrote:
> > Hi,
> >
> > Softsqueeze version 0.5 is now available at
> > http://softsqueeze.sourceforge.net
> >
> > Changes include:
> > - full mp3 support, volume, mute, etc.
> > - pause button delay fixed.
> > - built-in ssh tunnel support.
> > - java web start and applet support.
> > - excession skin update
> > - experimental support for Window DirectSound (requires Java 1.5 beta 1)
> > - slim server discovery
> > - experimental record stream option
> >
> > I would also be interested in feedback on synchronization of non-mp3
streams
> > in this release. Fixing this is now at the top of my list.
>
> This all sounds fantastic, and I'm very keen to help debug
> synchronization. However I just tried this from work and couldn't get
> the ssh tunnelling to work. My slimserver runs on my home PC behind
> an ADSL router. The router is configured to forward port 23 (sic)
> directly to the PC, and the PC's opensshd listens on port 23. The
> ADSL router uses the dyndns.org service to enable external access, so
> that when I ssh to ${mydomain}.dyndns.org, I end up directly on my PC
> on the private network (IP 192.168.1.1). So far so simple.
>
> I pointed Softsqueeze 0.5 at ${mydomain}.dyndns.org, using the SSH
> tunnel to port 23, and it seems to handshake fine, but then fails to
> connect to the slimserver. I suspect the ssh local port forwarding is
> failing. Is it trying to do the equivalent of
>
> ssh -L 9000:${mydomain}.dyndns.org:9000
>
> ? Because presumably it should be doing
>
> ssh -L 9000:192.168.1.1:9000
>
> but Softsqueeze has no way of knowing the private network IP. Unless
> it just uses 'localhost' ?
>

rtitmuss
2004-05-24, 14:54
I've just uploaded Softsqueeze version 0.5.1 with the following
fixes/enhancements:

- fixed ssh on non-standard ports
- added option to forward additional ports; specify as a comma seperated
list of numbers, for example 80,110 to forward http and pop3.
- added support for private key files. I have not tested passphrases, but
they should work ;)

Regards,
Richard



----- Original Message -----
From: "Richard Titmuss" <richard_titmuss (AT) yahoo (DOT) co.uk>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Monday, May 24, 2004 1:12 PM
Subject: [slim] Softsqueeze 0.5


> Hi,
>
> Softsqueeze version 0.5 is now available at
> http://softsqueeze.sourceforge.net
>
> Changes include:
> - full mp3 support, volume, mute, etc.
> - pause button delay fixed.
> - built-in ssh tunnel support.
> - java web start and applet support.
> - excession skin update
> - experimental support for Window DirectSound (requires Java 1.5 beta 1)
> - slim server discovery
> - experimental record stream option
>
> I would also be interested in feedback on synchronization of non-mp3
streams
> in this release. Fixing this is now at the top of my list.
>
> Regards,
> Richard
>
>
>
>

Adam Spiers
2004-05-25, 03:17
Richard Titmuss (richard_titmuss (AT) yahoo (DOT) co.uk) wrote:
> I've just uploaded Softsqueeze version 0.5.1 with the following
> fixes/enhancements:
>
> - fixed ssh on non-standard ports

This works great. I'll test synchronization when I get home.

Roy M. Silvernail
2004-05-25, 05:44
Richard Titmuss wrote:

> I've just uploaded Softsqueeze version 0.5.1 with the following
> fixes/enhancements:
>
> - fixed ssh on non-standard ports
> - added option to forward additional ports; specify as a comma seperated
> list of numbers, for example 80,110 to forward http and pop3.

This works great. My usual list is 25,143,3128 and both email and squid
are happy.

> - added support for private key files. I have not tested passphrases, but
> they should work ;)

Also working, with passphrase.

Top notch work, Richard. Kudos!

John Gorst
2004-05-25, 13:23
This version seems to be taking up /a lot/ of processor time, especially
when playing MP3's. Not doing SSH or anything like that.

USing SoftSqueeze 1.51 with Java 1.5 (same with 1.42), slimserver
nightly (day or two old) with windows xp.

The 'remaining time' bug seems to only happen when the progress bar is
switched on.

Cheers

John Gorst
2004-05-25, 13:34
John Gorst wrote:

>
> This version seems to be taking up /a lot/ of processor time, especially
> when playing MP3's. Not doing SSH or anything like that.
>
> USing SoftSqueeze 1.51 with Java 1.5 (same with 1.42), slimserver
> nightly (day or two old) with windows xp.

Meant to say 0.51!!
Downloaded pre0.5a and it works fine again. Processor useage down to 20%
as per usual (it was 90-99% using 0.51).

> The 'remaining time' bug seems to only happen when the progress bar is
> switched on.

The 'remaining time' was working ok in pre0.5a, even with a progress bar.

Cheers

John Gorst
2004-05-25, 13:43
John Gorst wrote:

> John Gorst wrote:
>
>>
>> This version seems to be taking up /a lot/ of processor time,
>> especially when playing MP3's. Not doing SSH or anything like that.
>>
>> USing SoftSqueeze 1.51 with Java 1.5 (same with 1.42), slimserver
>> nightly (day or two old) with windows xp.
>
>
> Meant to say 0.51!!
> Downloaded pre0.5a and it works fine again. Processor useage down to 20%
> as per usual (it was 90-99% using 0.51).

Hmmm... 0.5 seems to be working alright too.

Is anyone else seeing these problems? Is it just my setup?
I currently have both Java 1.4 and 1.5 installed (however softsqueeze
seems to always use 1.5)
Also have the latest version of softsq running as a webstart desktop
app. But the same occurs when I run the .jar file directly.

rtitmuss
2004-05-25, 14:40
John,

Well spotted. I made a cosmetic change in 0.51 that accounts for the cpu
usage. I have reverted the code, and all seems well again.

I cannot recreate the 'remaing time' bug, could you give me some more
information. It would be useful to know what works, as well as what's
broken.

Thanks,
Richard



----- Original Message -----
From: "John Gorst" <john_gorst (AT) hotmail (DOT) com>
To: <discuss (AT) lists (DOT) slimdevices.com>
Sent: Tuesday, May 25, 2004 9:43 PM
Subject: [slim] Softsqueeze 0.5


> John Gorst wrote:
>
> > John Gorst wrote:
> >
> >>
> >> This version seems to be taking up /a lot/ of processor time,
> >> especially when playing MP3's. Not doing SSH or anything like that.
> >>
> >> USing SoftSqueeze 1.51 with Java 1.5 (same with 1.42), slimserver
> >> nightly (day or two old) with windows xp.
> >
> >
> > Meant to say 0.51!!
> > Downloaded pre0.5a and it works fine again. Processor useage down to 20%
> > as per usual (it was 90-99% using 0.51).
>
> Hmmm... 0.5 seems to be working alright too.
>
> Is anyone else seeing these problems? Is it just my setup?
> I currently have both Java 1.4 and 1.5 installed (however softsqueeze
> seems to always use 1.5)
> Also have the latest version of softsq running as a webstart desktop
> app. But the same occurs when I run the .jar file directly.
>
>

John Gorst
2004-05-25, 14:57
Richard Titmuss wrote:

> John,
>
> Well spotted. I made a cosmetic change in 0.51 that accounts for the cpu
> usage. I have reverted the code, and all seems well again.
>
> I cannot recreate the 'remaing time' bug, could you give me some more
> information. It would be useful to know what works, as well as what's
> broken.

Some quick info before I retire to bed...

Seems to be a particular problem with mp3 playback, flac (wav) seems ok.
As I said before it seemed better in previous versions.

Will try the updated code and do a bit more bug hunting tomorrow.

Cheers