PDA

View Full Version : [ANNOUNCE] SqueezePlay for Solaris and OpenIndiana



ralphy
2012-08-30, 17:26
Based on the 7.8 branch Jul 17, 2012 git check in.

7.8.0.r1061 - 20180201 Solaris SPARC
7.8.0.r796 - 20160823

See the commit history (https://github.com/ralph-irving/squeezeplay/commits/master) for changes.

The OpenIndiana Intel packages are tested on versions 151a5 and 151a9.

The Solaris SPARC package has been tested on an Ultra 2 and 10 with SUNW,CS4231 on Solaris 10 and Sun Ray Server Software 5.2.6 with a Sun Ray 1, 1G and 2FS. Supports Solaris Audio Driver Architecture (SADA) audio devices.

If the UTMAC evironment variable is set squeezeplay will use that for it's MAC address. I have scripts for Solaris (http://squeezeslave.googlecode.com/files/utmac-solaris.tar.gz) versions of the Sun Ray Server Software to set UTMAC as part of the Sun Ray login process. Just extract the tar file as root in /

Installation?

Both builds are now SVR4 packages.

bunzip2 SUNWsqueezeplay-7.8.0.796.pkg.bz2
sudo pkgadd -d SUNWsqueezeplay-7.8.0.796.pkg
/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

The defaults have always worked without issue for me.
If you experience dropouts during playback, you can use these to tune the buffering.

# export USEPAFRAMESPERBUFFER=4096
# export USEPANUMBEROFBUFFERS=4

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. To get freeback while configuring the above environment variables you can easily change audio.decode and audio.output to DEBUG level from within the player (Settings->Advanced->Logging). I've included the file as it's a pain to change all the logging options to OFF in the player GUI.

See the Windows (http://forums.slimdevices.com/showthread.php?96573-SqueezePlay-for-Windows-with-ASIO-DirectSound-WASAPI-and-WDMKS-device-support) and Mac (http://forums.slimdevices.com/showthread.php?96328-ANNOUNCE-SqueezePlay-for-Mac-OS) release posts.

Source code and change logs are available on github (https://github.com/ralph-irving/squeezeplay).

Builds are available on sourceforge (https://sourceforge.net/projects/lmsclients/files/squeezeplay/solaris/).

travelfotografer
2012-08-31, 12:13
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.

evoz4
2012-09-14, 04:53
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?

ralphy
2012-09-15, 05:54
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. Squeezeplay determines the active interface using the hostname.

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.


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

evoz4
2012-09-15, 09:36
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

ralphy
2012-09-15, 12:07
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.

evoz4
2012-09-18, 03:29
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

ralphy
2012-09-19, 04:51
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
2013-11-14, 05:22
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
2014-07-05, 04:56
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
2014-07-05, 05:11
I've put together an experimental OpenIndiana Intel OSS and SADA squeezelite package.

The squeezelite binary is for OSS audio devices.

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 uses system packages for all codecs.

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

For native wma and alac decode, you need to install ffmpeg from same.

ralphy
2016-04-11, 04:16
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
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
2018-02-04, 05:39
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.