Discussion:
[ANNOUNCE] SqueezePlay for Solaris and OpenIndiana
ralphy
2012-08-31 00:26:51 UTC
Permalink
With all the doom and gloom in the forums the last couple days, I
thought I'd release a couple of new SqueezePlay ports that I've been
using for a while now with great success.

They are based on the 7.8 branch Jul 17, 2012 git check in which I've
exported back to subversion as I really dislike git.

The 'OpenIndiana Intel port'
(http://squeezeslave.googlecode.com/files/squeezeplay-7.8.0-139-openindiana-intel.tgz)
has been tested with 151a and 151a5.

The 'Solaris SPARC port'
(http://squeezeslave.googlecode.com/files/squeezeplay-7.8.0-139-solaris-sparc.tgz)
has been tested on Solaris 9 and 10 and also works with a Sun Ray.
However it currently obtains the mac address of the Sun Ray server and
NOT of the Sun Ray appliance. You'll need to modify the MAC address in
DesktopJive.lua and SlimDiscovery.lua in
$HOME/.squeezeplay/userpath/settings to run it on mutiple Sun Rays.

I'll eventually add proper MAC address support for the Sun Ray. I'm
still working out the best way to get it from within the program.

Installation? Just expand into /opt/squeezeplay and run
/opt/squeezeplay/bin/squeezeplay.sh

There are several environment variables available to change SqueezePlay
settings. You'll find them in the squeezeplay.sh startup script.

These are the settings that are used in the Solaris and OpenIndiana
ports. None of them need to be modified for a basic setup.

Specify the name of the audio device to open. If you do not set
USEPADEVICE squeezeplay uses the last device found if you have more than
one.
# export USEPADEVICE=null

If you have more than one device you can specify the index number
starting from 0 of the device you want to use. Should only be needed if
you have two or more sound cards with the same description.
# export USEPADEVICEID=null

This is the default used by the official SqueezePlay releases using
portaudio. ie. Windows and OSX.
I've tested 96000 with OpenIndiana and 48000 for Solaris SPARC as none
of my sun hardware supports anything higher.
# export USEPAMAXSAMPLERATE=48000

If you experience dropouts during playback, you can use these to tune
the buffering. For OpenIndiana the defaults have always worked without
issue. On a Sun Ray I have found that increasing USEPAFRAMESPERBUFFER
to 16384 works quite well.
# export USEPAFRAMESPERBUFFER=8192
# export USEPANUMBEROFBUFFERS=3

I've attached the file logconf.lua.txt which needs to be renamed to
logconf.lua and placed in $HOME/.squeezeplay/userpath to turn off all
logging with the exception of the version number. To get freeback while
configuring the above environment variables change the line
["audio.decode"]="OFF", to ["audio.decode"]="INFO", I've included the
file as it's a pain to change all the logging options to OFF in the
player GUI. You can easily change audio.decode to INFO level from
within the player.

I'm currently testing a Windows squeezeplay build in which I've added
ASIO and WASAPI support in addition to Direct Sound. It also has the
ability to set the maximum sample rate and choose the sound card. I'll
start a new thread for that when it's ready.


+-------------------------------------------------------------------+
|Filename: logconf.lua.txt |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=13667|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=96224
travelfotografer
2012-08-31 19:13:29 UTC
Permalink
Post by ralphy
I'm currently testing a Windows squeezeplay build in which I've added
ASIO and WASAPI support in addition to Direct Sound. It also has the
ability to set the maximum sample rate and choose the sound card. I'll
start a new thread for that when it's ready.
Thanks ralphy for your contributions!

A Windows Squeezeplay with all these features, installed on netbook or
nettop with display, can be a worthy replacement for Touch (without the
touch screen) or Duet-Receiver.


------------------------------------------------------------------------
travelfotografer's Profile: http://forums.slimdevices.com/member.php?userid=48355
View this thread: http://forums.slimdevices.com/showthread.php?t=96224
evoz4
2012-09-14 11:53:37 UTC
Permalink
Post by ralphy
With all the doom and gloom in the forums the last couple days, I
thought I'd release a couple of new SqueezePlay ports that I've been
using for a while now with great success.
They are based on the 7.8 branch Jul 17, 2012 git check in which I've
exported back to subversion as I really dislike git.
The 'OpenIndiana Intel port'
(http://squeezeslave.googlecode.com/files/squeezeplay-7.8.0-139-openindiana-intel.tgz)
has been tested with 151a and 151a5.
.....
Hi, I had a go at running this on Solaris 11. The app starts up but when
I try to select a server to connect with it fails. There are WARN
messages in the output saying "Can't find the active network interface"
and some ERROR's after that. I've attached the output from running
squeezeplay and a few other network config snips of the system, it has
multiple network interfaces configured and is running a Sunray server.
Just wondered if you had seen this before I go trawl through the source?


+-------------------------------------------------------------------+
|Filename: squeezeplay.output.txt |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=13699|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
evoz4's Profile: http://forums.slimdevices.com/member.php?userid=54972
View this thread: http://forums.slimdevices.com/showthread.php?t=96224
ralphy
2012-09-15 12:54:44 UTC
Permalink
Those messages are in every recent version of squeezeplay I've used.

Not connecting to the server is almost always related to squeezeplay not
finding an audio device.

That's why I included the logconf.lua file. If you enable INFO on
audio.decode you'll be able to tell what device if any SqueezePlay has
found. With the default logging there are soo many useless messages.

I've always received that "Can't find the active network interface"
message, it can be ignored.

The intel squeezeplay will only work with OSS devices and the sparc
version only looks for SADA.

The attached log confirms no audio device was found as you should see
messages like this if it had.


Code:
--------------------
20120905 15:49:09.050 WARN audio.output - decode_portaudio_init:418 Portaudio version v18.1
20120905 15:49:09.051 WARN audio.output - decode_portaudio_init:433 0: SUNW,CS4231
20120905 15:49:09.052 WARN audio.output - decode_portaudio_init:488 Using (3) buffers of (16384) frames per buffer
20120905 15:49:09.052 WARN audio.output - decode_portaudio_init:503 Setting maximum samplerate to (48000)
20120905 15:49:09.053 WARN audio.output - decode_portaudio_openstream:369 Setting sample rate 44100
--------------------


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=96224
evoz4
2012-09-15 16:36:21 UTC
Permalink
Ok, that explains it, I was trying to use it on a Sunray connected from
an Intel SRS. Sunray audio is still SADA even on Solaris 11.

Thanks


------------------------------------------------------------------------
evoz4's Profile: http://forums.slimdevices.com/member.php?userid=54972
View this thread: http://forums.slimdevices.com/showthread.php?t=96224
ralphy
2012-09-15 19:07:23 UTC
Permalink
Post by evoz4
Ok, that explains it, I was trying to use it on a Sunray connected from
an Intel SRS. Sunray audio is still SADA even on Solaris 11.
Thanks
I should be able to build an intel sada version as I have a version of
squeezeslave.

If you could confirm that the 'squeezeslave intel sada version'
(http://squeezeslave.googlecode.com/files/squeezeslave-1.2L-369-oi-intel.tar.gz)
works first that would be best.


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=96224
evoz4
2012-09-18 10:29:42 UTC
Permalink
Post by ralphy
I should be able to build an intel sada version as I have a version of
squeezeslave.
If you could confirm that the 'squeezeslave intel sada version'
(http://squeezeslave.googlecode.com/files/squeezeslave-1.2L-369-oi-intel.tar.gz)
works first that would be best.
Looks like there is a problem with squeezeslave, although it finds the
right device, it will only play the first 6-8 seconds of some tracks,
after that it's just hiss. So don't spend any time on it, I'm looking at
pulseaudio at the moment for something else, might be able to use it for
this as well.

Thanks


------------------------------------------------------------------------
evoz4's Profile: http://forums.slimdevices.com/member.php?userid=54972
View this thread: http://forums.slimdevices.com/showthread.php?t=96224
ralphy
2012-09-19 11:51:57 UTC
Permalink
Post by evoz4
Looks like there is a problem with squeezeslave, although it finds the
right device, it will only play the first 6-8 seconds of some tracks,
after that it's just hiss. So don't spend any time on it, I'm looking at
pulseaudio at the moment for something else, might be able to use it for
this as well.
Thanks
Thanks for reporting back.

I have an updated 'squeezeslave build for OI OSS and SADA'
(http://squeezeslave.googlecode.com/files/squeezeslave-1.2-378-oi-intel.tar.gz)
on googlecode.

If you could try this version that would be great.


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=96224
ralphy
2013-11-14 12:22:33 UTC
Permalink
New squeezeplay builds available for 'Solaris'
(http://squeezeslave.googlecode.com/files/SUNWsqueezeplay-7.8.0.330.pkg.bz2)
and 'OpenIndiana'
(http://squeezeslave.googlecode.com/files/SUNWsqueezeplay-oi-7.8.0.329.pkg.bz2).

See the 'git commits'
(http://github.com/ralph-irving/squeezeplay/commits/master) for
details.

Installation details have be updated in the first post of this thread.



Ralphy

*1*-Touch, *4*-Classics, *2*-Booms, *1*-Reverted UE Radio
*1*-Squeezeslave, *2*-Squeezeplays, *5*-Squeezelites
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=96224
ralphy
2014-07-05 11:56:48 UTC
Permalink
New squeezeplay 7.8.0r430 packages for Solaris SPARC and OpenIndiana
Intel now available on 'mediafire'
(https://www.mediafire.com/folder/4q8dvq20iyz9e/Builds).

See post#1 for details.



Ralphy

*1*-Touch, *4*-Classics, *2*-Booms, *1*-Reverted UE Radio
'Squeezebox client builds'
(https://www.mediafire.com/folder/4q8dvq20iyz9e/Builds) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=96224
ralphy
2014-07-05 12:11:01 UTC
Permalink
I've put together an experimental OpenIndiana Intel OSS and SADA
squeezelite package.

The squeezelite-sada binary in the package only works if you're running
Sun Ray Server software on OI.

It's available in the Squeezelite/Solaris folder on 'mediafire'
(https://www.mediafire.com/folder/4q8dvq20iyz9e/Builds).

The package includes the libsoxr resample library, and used system
packages for all codecs.

For mp3 decode using libmad instead of mpg123 you need to install libmad
from sfe-encumbered package repository.

Same for wma and alac decode, you need to install ffmpeg from same.



Ralphy

*1*-Touch, *4*-Classics, *2*-Booms, *1*-Reverted UE Radio
'Squeezebox client builds'
(https://www.mediafire.com/folder/4q8dvq20iyz9e/Builds) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=96224
ralphy
2016-04-11 11:16:56 UTC
Permalink
For solaris sparc sada and openindiana oss. See 1st post for details.

I will no longer create openindiana sada builds as I have no way to test
them anymore.

7.8.0.r719
Update portaudio library to r1967.
Always start at the first item in the Random Albums menu.
Add alternatives for common control buttons avoiding keyboard modifiers.
Fix jivelite JogglerSkin NowPlaying Text Only title overwriting progress
counter.
Add support for changing the framerate with JIVE_FRAMERATE environment
variable.
Valid rates are even numbers between 4 and 60, default is 22.
Add JogglerSkin support to SetupWallpaper applet.
Fix squeezeplay fade transitions failing with an error.
Fix the Quit menu to exit when pressed.
Reenable playSound in SlimBrowserApplet.lua



Ralphy

*1*-Touch, *5*-Classics, *2*-Booms, *1*-Reverted UE Radio
'Squeezebox client builds'
(https://www.mediafire.com/folder/4q8dvq20iyz9e/Builds) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=96224
ralphy
2018-02-04 12:39:15 UTC
Permalink
New squeezeplay 7.8.0r1061 package for Solaris SPARC available on
'sourceforge'
(https://sourceforge.net/projects/lmsclients/files/squeezeplay/solaris/sparc/).

See 'post#1'
(http://forums.slimdevices.com/showthread.php?96224-ANNOUNCE-SqueezePlay-for-Solaris-and-OpenIndiana)
for details.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=96224
ralphy
2012-09-27 11:41:41 UTC
Permalink
Post by ralphy
I'm currently testing a Windows squeezeplay build in which I've added
ASIO and WASAPI support in addition to Direct Sound. It also has the
ability to set the maximum sample rate and choose the sound card. I'll
start a new thread for that when it's ready.
Windows version now available. See 'this post'
(http://forums.slimdevices.com/showthread.php?96573-SqueezePlay-for-Windows-with-ASIO-DirectSound-WASAPI-and-WDMKS-device-support).


------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=96224
Loading...