PDA

View Full Version : Softsqueeze Lite Embedded



Anthony Webb
2004-11-18, 11:41
>From: kdf <slim-mail (AT) deane-freeman (DOT) com>
>Reply-To: Slim Devices Discussion <discuss (AT) lists (DOT) slimdevices.com>
>To: Slim Devices Discussion <discuss (AT) lists (DOT) slimdevices.com>
>Subject: [slim] Softsqueeze Lite Embedded
>Date: Thu, 18 Nov 2004 10:28:41 -0800
>
>Quoting anthony <ievolve (AT) hotmail (DOT) com>:
>
> > Jason Holtzapple <jasonholtzapple@...> writes:
> >
> > >
> > > anthony webb wrote:
> > > > It is really a pain for them to "tune in" to the remote stream, then
> > > > launch the web interface, find their player in the list of players
>and
> > > > then control it (I hate when they change my music by accident!).
> > > > Likewise softsqueeze has yet to do much more than emulate the
>squeezebox
> > > > on a useable level. (I have programmed some java and I know this is
>an
> > > > uphill battle and I must really bow to the brilliant work they have
> > done.)
> > >
> > > Why not just use winamp, windows media player or any other streaming
>player
> > > and just embed the 'playlist play' command of a playlist that you've
> > > predefined on your server into a URL:
> > >
> > >
>http://my.ip.add.ress:9000/stream.mp3?p0=playlist&p1=play&p2=playlistname
> > >
> > > They cut and paste this URL into their player and it works. This seems
>a
> > > lot easier than mucking with Softsqueeze.
> > >
> >
> > Getting stuff to play via winamp is not the issue, but using winamp
>gives no
> > way
> > of browsing or managing the playlist. The real goal is to integrate the
> > management interface and player into one screen.
> >
> > Any softsqueeze buffs out there who can tell me if this is possible, and
>if
> > so
> > how small could that stripped down applet be? You there Richard?
> >
> > -Anthony
>
>softsqueeze is slowly progress towards fully integrated search and playlist
>management. an applet version is available in a link through the help
>section
>of slimserver.
>-kdf

well if the design and implimentation of it are along the lines of the
softsqueeze core it should be just great! I am looking forward to it.

In the meantime it may be quicker to embed a small applet in a custom skin
and leverage the great navigation, search, and playlist managers that you
and many other developers have alreadt come up with. Developing something
comparable in java is going to be at best as you stated... very slow.
-ajw

rtitmuss
2004-11-18, 16:02
Anthony Webb wrote:

>
>
>> From: kdf <slim-mail (AT) deane-freeman (DOT) com>
>> Reply-To: Slim Devices Discussion <discuss (AT) lists (DOT) slimdevices.com>
>> To: Slim Devices Discussion <discuss (AT) lists (DOT) slimdevices.com>
>> Subject: [slim] Softsqueeze Lite Embedded
>> Date: Thu, 18 Nov 2004 10:28:41 -0800
>>
>> Quoting anthony <ievolve (AT) hotmail (DOT) com>:
>>
>> > Jason Holtzapple <jasonholtzapple@...> writes:
>> >
>> > >
>> > > anthony webb wrote:
>> > > > It is really a pain for them to "tune in" to the remote stream,
>> then
>> > > > launch the web interface, find their player in the list of
>> players and
>> > > > then control it (I hate when they change my music by accident!).
>> > > > Likewise softsqueeze has yet to do much more than emulate the
>> squeezebox
>> > > > on a useable level. (I have programmed some java and I know
>> this is an
>> > > > uphill battle and I must really bow to the brilliant work they
>> have
>> > done.)
>> > >
>> > > Why not just use winamp, windows media player or any other
>> streaming player
>> > > and just embed the 'playlist play' command of a playlist that you've
>> > > predefined on your server into a URL:
>> > >
>> > >
>> http://my.ip.add.ress:9000/stream.mp3?p0=playlist&p1=play&p2=playlistname
>>
>> > >
>> > > They cut and paste this URL into their player and it works. This
>> seems a
>> > > lot easier than mucking with Softsqueeze.
>> > >
>> >
>> > Getting stuff to play via winamp is not the issue, but using winamp
>> gives no
>> > way
>> > of browsing or managing the playlist. The real goal is to
>> integrate the
>> > management interface and player into one screen.
>> >
>> > Any softsqueeze buffs out there who can tell me if this is
>> possible, and if
>> > so
>> > how small could that stripped down applet be? You there Richard?
>> >
>> > -Anthony
>>
>> softsqueeze is slowly progress towards fully integrated search and
>> playlist
>> management. an applet version is available in a link through the
>> help section
>> of slimserver.
>> -kdf
>
>
> well if the design and implimentation of it are along the lines of the
> softsqueeze core it should be just great! I am looking forward to it.
>
> In the meantime it may be quicker to embed a small applet in a custom
> skin and leverage the great navigation, search, and playlist managers
> that you and many other developers have alreadt come up with.
> Developing something comparable in java is going to be at best as you
> stated... very slow.
> -ajw


As mentioned I am working on the search and playlist features for
Softsqueeze, but seem to have a lack of spare time at the moment so
progress is painfully slow. You should already be able to embed
Softsqueeze as an applet in one of the existing slimserver skins - but
the applet does not work at the moment so you'll need to wait a couple
of days for the next release of Softsqueeze.

I have not tried this, but the following applet tag in a custom skin
should work.

<applet code="com.slim.softsqueeze.Applet"
archive="/html/softsqueeze/SoftSqueeze.jar"
width="0" height="0">
<param name="slimserver" value="[% host.match('([^:]*)').0 %]" />
<param name="skins" value="headless" />
<param name="macaddress" value="11:11:11:11:11:11" />
</applet>

This applet tag overrides the macaddress of the Softsqueeze player,
allowing you to easily select the correct player from the slimserver
skin. But be warned if two people open the same web page then only one
of the players will work ok, with a little effort in the custom skin a
better solution could be implemented.

Regards,
Richard

anthony webb
2004-11-18, 16:28
----- Original Message -----
From: "Richard Titmuss" <richard_titmuss (AT) yahoo (DOT) co.uk>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Thursday, November 18, 2004 4:02 PM
Subject: [slim] Softsqueeze Lite Embedded


> Anthony Webb wrote:
>
> >
> >
> >> From: kdf <slim-mail (AT) deane-freeman (DOT) com>
> >> Reply-To: Slim Devices Discussion <discuss (AT) lists (DOT) slimdevices.com>
> >> To: Slim Devices Discussion <discuss (AT) lists (DOT) slimdevices.com>
> >> Subject: [slim] Softsqueeze Lite Embedded
> >> Date: Thu, 18 Nov 2004 10:28:41 -0800
> >>
> >> Quoting anthony <ievolve (AT) hotmail (DOT) com>:
> >>
> >> > Jason Holtzapple <jasonholtzapple@...> writes:
> >> >
> >> > >
> >> > > anthony webb wrote:
> >> > > > It is really a pain for them to "tune in" to the remote stream,
> >> then
> >> > > > launch the web interface, find their player in the list of
> >> players and
> >> > > > then control it (I hate when they change my music by accident!).
> >> > > > Likewise softsqueeze has yet to do much more than emulate the
> >> squeezebox
> >> > > > on a useable level. (I have programmed some java and I know
> >> this is an
> >> > > > uphill battle and I must really bow to the brilliant work they
> >> have
> >> > done.)
> >> > >
> >> > > Why not just use winamp, windows media player or any other
> >> streaming player
> >> > > and just embed the 'playlist play' command of a playlist that
you've
> >> > > predefined on your server into a URL:
> >> > >
> >> > >
> >>
http://my.ip.add.ress:9000/stream.mp3?p0=playlist&p1=play&p2=playlistname
> >>
> >> > >
> >> > > They cut and paste this URL into their player and it works. This
> >> seems a
> >> > > lot easier than mucking with Softsqueeze.
> >> > >
> >> >
> >> > Getting stuff to play via winamp is not the issue, but using winamp
> >> gives no
> >> > way
> >> > of browsing or managing the playlist. The real goal is to
> >> integrate the
> >> > management interface and player into one screen.
> >> >
> >> > Any softsqueeze buffs out there who can tell me if this is
> >> possible, and if
> >> > so
> >> > how small could that stripped down applet be? You there Richard?
> >> >
> >> > -Anthony
> >>
> >> softsqueeze is slowly progress towards fully integrated search and
> >> playlist
> >> management. an applet version is available in a link through the
> >> help section
> >> of slimserver.
> >> -kdf
> >
> >
> > well if the design and implimentation of it are along the lines of the
> > softsqueeze core it should be just great! I am looking forward to it.
> >
> > In the meantime it may be quicker to embed a small applet in a custom
> > skin and leverage the great navigation, search, and playlist managers
> > that you and many other developers have alreadt come up with.
> > Developing something comparable in java is going to be at best as you
> > stated... very slow.
> > -ajw
>
>
> As mentioned I am working on the search and playlist features for
> Softsqueeze, but seem to have a lack of spare time at the moment so
> progress is painfully slow. You should already be able to embed
> Softsqueeze as an applet in one of the existing slimserver skins - but
> the applet does not work at the moment so you'll need to wait a couple
> of days for the next release of Softsqueeze.
>
> I have not tried this, but the following applet tag in a custom skin
> should work.
>
> <applet code="com.slim.softsqueeze.Applet"
> archive="/html/softsqueeze/SoftSqueeze.jar"
> width="0" height="0">
> <param name="slimserver" value="[% host.match('([^:]*)').0 %]" />
> <param name="skins" value="headless" />
> <param name="macaddress" value="11:11:11:11:11:11" />
> </applet>
>
> This applet tag overrides the macaddress of the Softsqueeze player,
> allowing you to easily select the correct player from the slimserver
> skin. But be warned if two people open the same web page then only one
> of the players will work ok, with a little effort in the custom skin a
> better solution could be implemented.
>
> Regards,
> Richard


Thanks for the update Richard, I am anxiously awaiting to see what you come
up with. Historically you have done such nice work I am sure the playlist
and search functions will be no less. I do like how you have made stuff
very modular and in little pop out modules, much like winamp does with their
different playlist, equalizer modules. Hopefully this is the direction you
will head with the search window and playlist manager. I know there is a
ton of work there.

Thanks for the tip on embedding softsqueeze. One question I had was: how
much of the size of the applet jar is stuff that is not needed if you are
going to have it hidden and not visible (or just a small static icon) is the
code modular enough to where I could remove some of the stuff and not
completely break things?

Just curious as I would like to see the thing load faster than the full
blown applet.

Thanks

rtitmuss
2004-11-19, 16:25
anthony webb wrote:

> Thanks for the update Richard, I am anxiously awaiting to see what you
> come
>
>up with. Historically you have done such nice work I am sure the playlist
>and search functions will be no less. I do like how you have made stuff
>very modular and in little pop out modules, much like winamp does with their
>different playlist, equalizer modules. Hopefully this is the direction you
>will head with the search window and playlist manager. I know there is a
>ton of work there.
>
>Thanks for the tip on embedding softsqueeze. One question I had was: how
>much of the size of the applet jar is stuff that is not needed if you are
>going to have it hidden and not visible (or just a small static icon) is the
>code modular enough to where I could remove some of the stuff and not
>completely break things?
>
>Just curious as I would like to see the thing load faster than the full
>blown applet.
>
>Thanks
>
>
It is not really worth the effort to modify the code to reduce the
download size, but removing the images from the SoftSqueeze.jar file
make a big difference. It is also possible to only download some of the
java libraries that Softsqueeze uses.

I have just checked into the slim cvs an updated version of the build
file used for Softsqueeze. This creates a MiniSqueeze.jar file, that
will only work as a headless player (applet or application). This is
half the download size of the full Softsqueeze version. At the moment
you will need to compile Softsqueeze to create this mini player, but if
anyone wants to include the player in a slimserver skin I will include
the MiniSqueeze.jar with the slimserver.

Regards,
Richard

anthony webb
2004-11-19, 18:06
> I have just checked into the slim cvs an updated version of the build
> file used for Softsqueeze. This creates a MiniSqueeze.jar file, that
> will only work as a headless player (applet or application). This is
> half the download size of the full Softsqueeze version. At the moment
> you will need to compile Softsqueeze to create this mini player, but if
> anyone wants to include the player in a slimserver skin I will include
> the MiniSqueeze.jar with the slimserver.
>
> Regards,
> Richard


Thank you Richard! I want to try to include it into a revised skin and see
if that will work. In the example you sent along a couple posts ago you had
the following code:

<applet code="com.slim.softsqueeze.Applet"
archive="/html/softsqueeze/SoftSqueeze.jar"
width="0" height="0">
<param name="slimserver" value="[% host.match('([^:]*)').0 %]" />
<param name="skins" value="headless" />
<param name="macaddress" value="11:11:11:11:11:11" />
</applet>

So do I just change the SoftSqueeze.jar to MiniSqueeze.jar? Assuming that I
use the latest nightly once you are done creating it I can find
minisqueeze.jer in the /html/softsqueeze/ directory right?

This is going to be fun to try, thanks for the help richard...

gobikey
2007-04-25, 14:14
i am looking for a way to embed softsqueeze or any player into a site, so i can access my tunes from anywhere without installing an app.