Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    3,013

    [ANNOUNCE] SqueezePlay for Solaris and OpenIndiana

    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 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 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 and Mac release posts.

    Source code and change logs are available on github.

    Builds are available on sourceforge.
    Attached Files Attached Files
    Last edited by ralphy; 2018-02-04 at 05:36. Reason: Released 7.8.0r1061. Feb 1/18.
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 2-UE Radio
    Squeezebox client builds donations always appreciated.

  2. #2
    Quote Originally Posted by ralphy View Post
    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.

  3. #3
    Junior Member
    Join Date
    Mar 2012
    Posts
    24

    Testing on Solaris 11

    Quote Originally Posted by ralphy View Post
    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 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?
    Attached Files Attached Files

  4. #4
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    3,013
    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.

    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
    Last edited by ralphy; 2012-09-15 at 05:58.
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 2-UE Radio
    Squeezebox client builds donations always appreciated.

  5. #5
    Junior Member
    Join Date
    Mar 2012
    Posts
    24
    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

  6. #6
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    3,013
    Quote Originally Posted by evoz4 View Post
    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 works first that would be best.
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 2-UE Radio
    Squeezebox client builds donations always appreciated.

  7. #7
    Junior Member
    Join Date
    Mar 2012
    Posts
    24
    Quote Originally Posted by ralphy View Post
    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 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

  8. #8
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    3,013
    Quote Originally Posted by evoz4 View Post
    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 on googlecode.

    If you could try this version that would be great.
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 2-UE Radio
    Squeezebox client builds donations always appreciated.

  9. #9
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    3,013
    New squeezeplay builds available for Solaris and OpenIndiana.

    See the git commits for details.

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

    1-Touch, 5-Classics, 3-Booms, 2-UE Radio
    Squeezebox client builds donations always appreciated.

  10. #10
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    3,013
    New squeezeplay 7.8.0r430 packages for Solaris SPARC and OpenIndiana Intel now available on mediafire.

    See post#1 for details.
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 2-UE Radio
    Squeezebox client builds donations always appreciated.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •