PDA

View Full Version : [ANNOUNCE] Squeezeslave: 1.2 released



ralphy
2012-02-15, 06:51
The final Squeezeslave release 1.3-393 is now available on sourceforge (http://sourceforge.net/projects/softsqueeze/files/squeezeslave/squeezeslave-1.3.393/).

What's new in Squeezeslave 1.2-311

Output device selection by name (-n/--name)

See this post (http://forums.slimdevices.com/showpost.php?p=634644&postcount=167) for usage details.

Updated -l/--lcd LCDd (lcdproc) option to use Priorities keywords instead of values.

Added -C/--lcdc option which uses the old values syntax.

Added -F/--discovery UDP server discovery option.

If you have more than one squeezebox server on your network, squeezeslave will connect to the first server that responds to the discovery packet.
Server discovery does not always work when your system has more than one active network interface.
You may have to continue to specify the squeezebox server name on the command line.

Added -I/--findservers option to list servers found via UDP discovery and exit.

Single Windows binary for ASIO, DirectX and WASAPI.
No more separate windows binaries for each audio driver type.

Universal Mac OSX binary for ia64, i386 and ppc.
No more separate binaries for each architecture.

Support for the Rio EMPEG car player. Thanks to rpress for his contributions to squeezeslave.
The EMPEG package and required server patch are available on googlecode (http://code.google.com/p/squeezeslave/downloads/list).
Rio EMPEG squeezeslave in action (http://forums.slimdevices.com/showpost.php?p=638111&postcount=193), development information (http://empegbbs.com/ubbthreads.php/topics/343820) and lets not forget the Vanputer (http://forums.slimdevices.com/showthread.php?t=89844)!

Fixed crashing on exit when using SIGINT (Ctrl-C) on Windows.

Fixed server name truncation at 16 characters. Max length is now 256 characters.

Updated ogg library to 1.2.2.

Updated vorbis library to 1.3.2.

Source

You can browse the source here (http://code.google.com/p/squeezeslave/source/browse/#svn/squeezeslave/branches/squeezeslave-1.3-393)

Download it with subversion.
svn checkout http://squeezeslave.googlecode.com/svn/squeezeslave/branches/squeezeslave-1.3-393

Download in tar file (http://sourceforge.net/projects/softsqueeze/files/squeezeslave/squeezeslave-1.3.393/squeezeslave-1.3-393.tar.bz2/download) format if you don't have subversion available.

View detailed code changes (http://code.google.com/p/squeezeslave/source/list).

Wiki

Usage, command line options and compiling instructions are available here (http://wiki.slimdevices.com/index.php/SqueezeSlave) or use -h/--help.

ralphy
2012-02-15, 06:51
---- ---- ---- ---- ----

bobkoure
2012-02-15, 15:27
Thanks, Ralphy!

Jaicee
2012-02-16, 16:22
Hi I'm having some trouble getting squeezeplayer to output to the right device. I'm trying to use it on my HTPC connected to my TV via HDMI running XBMCbuntu (a cut down ubuntu distribution with a LXDE desktop that you can optionally boot to).

If I just boot straight to XBMC the hdmi audio isn't displayed by squeezeslave -L however if I boot even to the login screen where you can chose which desktop environment to load I get the expected output and I can use squeezeslave just fine. Below are the outputs of aplay -L and -l (identical in both cases) and squeezeslave -l

http://pastebin.com/TQs1LngM
http://pastebin.com/aBEydASk

Any ideas what's wrong here?

bossanova808
2012-02-17, 03:54
You might want to try this also:

http://forum.xbmc.org/showthread.php?p=1012231

(integrated basic controller/squeezeslave in XBMC)

ralphy
2012-02-17, 06:25
Hi I'm having some trouble getting squeezeplayer to output to the right device. I'm trying to use it on my HTPC connected to my TV via HDMI running XBMCbuntu (a cut down ubuntu distribution with a LXDE desktop that you can optionally boot to).

If I just boot straight to XBMC the hdmi audio isn't displayed by squeezeslave -L however if I boot even to the login screen where you can chose which desktop environment to load I get the expected output and I can use squeezeslave just fine. Below are the outputs of aplay -L and -l (identical in both cases) and squeezeslave -l

http://pastebin.com/TQs1LngM
http://pastebin.com/aBEydASk

Any ideas what's wrong here?

ALSA does not allow sharing of the physical device. Once XBMC is running it opens the device which blocks squeezeslave from "seeing" it.

Jaicee
2012-02-17, 06:49
You might want to try this also:

http://forum.xbmc.org/showthread.php?p=1012231

(integrated basic controller/squeezeslave in XBMC)

That's what I'm trying to use but it just interacts with the regular squeezeslave binaries. After further experimentation you are right - XBMC was keeping hold of the audio but it was doing so a bit sporadically. Turning of menu navigation sounds in XBMC fixed it.

I still get the following error when playing or even listing devices however playback still works fine.



Expression 'alsa_snd_pcm_hw_params_set_buffer_size_near( pcm, hwParams, &lowLatency )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 904
Expression 'alsa_snd_pcm_hw_params_set_buffer_size_near( pcm, hwParams, &lowLatency )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 904

ralphy
2012-02-17, 12:03
Try adding -y84 to the command line when starting squeezeslave.

Jaicee
2012-02-17, 12:16
Try adding -y84 to the command line when starting squeezeslave.

No joy with that - I've not had any dropouts or problems apart from the error message showing and I get those error lines even doing squeezebox -L

ralphy
2012-02-18, 05:50
No joy with that - I've not had any dropouts or problems apart from the error message showing and I get those error lines even doing squeezebox -L

That error is coming from the system alsa library.

The only thing I can suggest at the moment is to add -Y/dev/null to the command line and the error message(s) will be redirected to "bit heaven".

bidule
2012-03-06, 11:48
Hello,

I have different sound card (ASIO) that have multiple ouput.
Is there a way to specify the right ouput channels ?

For example, Juli@ has 4 channels, by default SqueezeSlave sends the sound to Channels 1&2 (Analogue),, my concern is that I want to use the Digital SPDIF output, channels 3&4.

Am I missing some setting or is there a way to adress my wish.

Thank you for your work,
Best regards,
Jean

ralphy
2012-03-07, 10:16
Try this ZONES enabled build (http://squeezeslave.googlecode.com/files/squeezeslave-1.2L-320-win.zip).

You'll need to add -z1/2 to your command line. It should create a new player unless you have already added -m.

This features was provided by odedn. See this post (http://forums.slimdevices.com/showpost.php?p=658506&postcount=242) for details.

If you get the error 'Invalid number of channels', then you'll need to adjust the -z option. Also don't forget to select the asio device on the command line.

bidule
2012-03-07, 13:44
Thank you Ralphy, it is working fine.

Jean

bidule
2012-03-09, 09:09
Hello Ralphy,

In my process to improve sound quality i'm killing eveything not needed for SqueezeSlave.

My computer is running Window XP Pro SP3 with 2 services and only 4 process, around 50 threads !
Now I'm looking in killing unnecessary threads.
In SqueezeSlave (the modified version for channel selection), as it is a general driver (Direct Sound, ASIO, Wasapi,..) it includes unnecessary threads (for me). With Process Explorer.exe I can manually kill dsound.dll & wdmaud.drv but I didn't find a way to automate their death.
Would you mind giving me the procedure to build Squeezeslave-Asio with the channel selection feature ?

Best Regards,
Jean

bidule
2012-03-09, 14:10
I check first on my regular desktop machine that is running ASIO4ALL, but on the muic machine, no problem, no dsound.dll nor wdmaud.drv, everything ok, my mistake, and my appolagies.

Jean

ralphy
2012-03-10, 06:03
Happy you figured it out and that the ZONES feature works with ASIO.

To enable the ZONES feature you need to add -DZONES to the CFLAGS= line in the makefile.

There are build instructions on the wiki (see 1st post), however they are out of date for v1.2 as the windows binary now supports all 3 audio drivers and more out of date for trunk.

I plan to enable ZONES in trunk soon. As it's a fairly new feature I wasn't comfortable enabling it for the v1.2 release.

dangerusty
2012-03-11, 18:03
I've been trying to make a solution work where I use the 3 pairs of analog outputs from a 5.1 card to an amp with 3 pairs of inputs.

I tried the -z option on the devices in the screenshot below (Windows 7), and it does the following:
-o 10 -z 2/3 = music in rear + loud noise in center/lfe only
-o 10 -z 1/3 = music in center/lfe + loud noise in rear only
-o 10 -z 0/3 = music in front + loud noise in rear only
-o 17 -z n/3 = "invalid device"
-o 14 -z n/3 = popping noises that taper off, no music
-o 13 -z n/3 = "invalid sample rate"
-o 15 -z n/3 = "invalid sample rate"

Any ideas?

Kvaks
2012-03-13, 09:13
Hey! Thanks for making and updating Squeezeslave (that goes to everyone involved).

I have one problem with Squeezeslave, one which I've had for many years, and thus spanning many versions of Squeezeslave and Logisqueezeboxmediacenterserver. The problem is: Squeezeslave becomes unresponsive to playback and control after being left dormant for a while. Typically if left unused for some hours, certainly almost always when left unused overnight, nothing will play. Sometimes the server will list the squeezeslave player (but it won't play), other times it will be gone from the list of players (I'm not sure about any pattern here). The programme process is still alive on my computer, but I have to kill it and restart. Then playback will start immediately.

Current system:

Linux 2.6.38-8-generic x86_64 GNU/Linux

squeezeslave 1.2-316 Mar 1 2012 11:49:36
compile flags: linux portaudio:1608 debug signals interactive daemon renice
buffer sizes: decoder 2097152 output 2822400 bytes

Squeezebox Server Version: 7.6.1 - r33110 @ Wed Aug 17 18:50:10 PDT 2011

ralphy
2012-03-14, 04:30
The problem is: Squeezeslave becomes unresponsive to playback and control after being left dormant for a while. Typically if left unused for some hours, certainly almost always when left unused overnight, nothing will play. Sometimes the server will list the squeezeslave player (but it won't play), other times it will be gone from the list of players (I'm not sure about any pattern here). The programme process is still alive on my computer, but I have to kill it and restart. Then playback will start immediately.

I have a couple things for you to try.

1. Remove -DUSE_SIGNALS_FOR_RESTART from the CFLAGS in makefile.linux26-i64-alsa-display and rebuild. Use squeezeslave as before and see if it "hangs" again.


make -f makefile.linux26-i64-alsa-display clean
make -f makefile.linux26-i64-alsa-display

2. Run squeezeslave, any build, adding -dslimproto to your existing command line. Report the line that starts with proto_sigpipe:

Mine looks like

proto_sigpipe: MSG_NOSIGNAL

I expect yours to be different.

I'll have further suggestions based on the reported MSG.

ralphy
2012-03-14, 04:40
I've been trying to make a solution work where I use the 3 pairs of analog outputs from a 5.1 card to an amp with 3 pairs of inputs.

I tried the -z option on the devices in the screenshot below (Windows 7), and it does the following:
-o 10 -z 2/3 = music in rear + loud noise in center/lfe only
-o 10 -z 1/3 = music in center/lfe + loud noise in rear only
-o 10 -z 0/3 = music in front + loud noise in rear only
-o 17 -z n/3 = "invalid device"
-o 14 -z n/3 = popping noises that taper off, no music
-o 13 -z n/3 = "invalid sample rate"
-o 15 -z n/3 = "invalid sample rate"

Any ideas?

I assume the n/3 are copy/paste errors?

The zones feature has never worked for me either, that's part of the reason I didn't include it in the last release.

I suspect what's happening is the output device uses a format other than 16-bits which is correctly assumed by the zones patch as it is the only format supported by squeezeslave.

I'll need to investigate further to be sure.

Philip Meyer
2012-03-14, 16:51
>Squeezeslave 1.2-311 is now available on 'sourceforge'
>(http://sourceforge.net/projects/softsqueeze/files/squeezeslave/squeezeslave-1.2.311/).
>
Does anyone know if there an equivalent app for Android OS? I have an HP Touchpad tablet, and had an equivalent app in WebOS. I've recently installed Ice Cream Sandwich, and bought SqueezeCommander, but wondering if it's possible to play music locally on the device.

Kvaks
2012-03-15, 03:00
I have a couple things for you to try.

1. Remove -DUSE_SIGNALS_FOR_RESTART from the CFLAGS in makefile.linux26-i64-alsa-display and rebuild. Use squeezeslave as before and see if it "hangs" again.


I woke up this morning and the running Squeezeslave responded nicely when I pressed play, so this might have worked. Thanks!

(If it turns out it didn't work, I'll come back :-) )

ralphy
2012-03-15, 03:36
>Squeezeslave 1.2-311 is now available on 'sourceforge'
>(http://sourceforge.net/projects/softsqueeze/files/squeezeslave/squeezeslave-1.2.311/).
>
Does anyone know if there an equivalent app for Android OS? I have an HP Touchpad tablet, and had an equivalent app in WebOS. I've recently installed Ice Cream Sandwich, and bought SqueezeCommander, but wondering if it's possible to play music locally on the device.

SqueezePlayer (http://www.squeezeplayer.com)

mixx
2012-03-31, 00:42
Thanks for developing squeezeslave!

Is there a 1.2.311 version for Openwrt on ar71xx platform?

And was there ever instructions/Makefile to crosscompile it for ar71xx/Openwrt?

I tried reading through this and the previous development thread, but failed to find any indication other than that these builds were contributed by MusicManiac

Thanks

ralphy
2012-03-31, 04:14
You'll need to ask MusicManiac as I have no makefiles or build instructions for OpenWRT.

MusicManiac
2012-03-31, 07:53
Just sent you a PM mixx.

-mm

bobkoure
2012-04-02, 06:32
Hi Ralphy,
I'm testing squeezeslave-1.2L-320.exe on a WinXPSP3 box.
When I first start it, I get the error:
"the procedure entry point NtAlpcSendWaitReceivePort could not be located in the dynamic link library ntdll.dll"

This does not happen with squeezeslave-asio-1.1-281.exe (or any of the previous versions I've tried) on that same machine.

I searched a bit with this error message, came up with the suggestion to rename \windows\system32\avrt.dll to something else.
Doing so fixed my issue. It's just one system, so just 'anecdata', but might be useful if someone else has this issue.

One question: If I use the -L option to get a list of output devices, how then do I use -n to specify that device? for instance, -L gets me
Output devices:
* 4: (Windows DirectSound) Primary Sound Driver (119/239)
5: (Windows DirectSound) SoundMAX HD Audio (119/239)
6: (Windows DirectSound) BEHRINGER USB AUDIO (119/239)
7: (ASIO) BEHRINGER USB AUDIO (5/5)

So, if I want to specify #7, what part of that string do I use? I've tried "(ASIO) BEHRINGER USB AUDIO (5/5)" and "(ASIO) BEHRINGER USB AUDIO", neither of which worked. Got any suggestions?

Thanks!

ralphy
2012-04-03, 04:49
Thanks for the info. I've not seen that error before.

Currently -n will always match the DS device first as it does not include the device type in the search. You'll need to use -o7 as it only matches "BEHRINGER USB AUDIO". I ran into the same issue a few days ago. I'll look at adding the device type at the beginning into the search.

There is a link in the 1st post on using -n.

NUmB
2012-04-03, 17:03
I have downloaded and installed Squeezeslave 1.2-311 for Mac mini. I have Max OS X Ver 10.6.8.

I have set it to play audio out via HDMI to my stereo speakers. And it works fine as long as I have the TV on. If I just start the computer without turning the TV on and start playing music the sound will only play on the Squeezebox in the kitchen not on the stereo. But it works fine if the TV is on when I start playing music. Also if I turn the TV off while music is playing the sound stops on the stereo but continues on the Squeezebox.

Don't know if it helps, but when I play music directly from iTunes the TV can be off both from the beginning or turned off during playback. The sound keeps coming out of the stereo speakers then.

Is there something I can do to fix this?

//NUmB

ralphy
2012-04-08, 07:06
This is a problem with the current portaudio library. It sounds like squeezeslave doesn't find the hdmi device you've defined with -o/-n and reverts to the default 'Built-in Output'

The device must be present when squeezeslave starts and must remain active the entire time squeezeslave is running.

Try running squeezeslave -L with the tv off and again with the tv on. Are the lists different?

I've uploaded a new OSX test build (http://squeezeslave.googlecode.com/files/squeezeslave-1.2L-325-osx.tar.gz) using the latest portaudio library for you to try. However I don't expect this to fix the issue as the device renumeration feature is still in development.

ralphy
2012-04-14, 05:14
I'm testing squeezeslave-1.2L-320.exe on a WinXPSP3 box.
When I first start it, I get the error:
"the procedure entry point NtAlpcSendWaitReceivePort could not be located in the dynamic link library ntdll.dll"

This does not happen with squeezeslave-asio-1.1-281.exe (or any of the previous versions I've tried) on that same machine.

I searched a bit with this error message, came up with the suggestion to rename \windows\system32\avrt.dll to something else.
Doing so fixed my issue. It's just one system, so just 'anecdata', but might be useful if someone else has this issue.



The newer builds includes WASAPI support which is only available on Vista/Win7. My research on this indicates that the avrt.dll is not for XP and really should never have been installed by what app did so. I've made a change in the r323 build (http://squeezeslave.googlecode.com/files/squeezeslave-1.2L-323-win.zip) which might stop this error from popping up. I guess you'd need to rename avrt.dll back to it's original to try it.


One question: If I use the -L option to get a list of output devices, how then do I use -n to specify that device? for instance, -L gets me
Output devices:
* 4: (Windows DirectSound) Primary Sound Driver (119/239)
5: (Windows DirectSound) SoundMAX HD Audio (119/239)
6: (Windows DirectSound) BEHRINGER USB AUDIO (119/239)
7: (ASIO) BEHRINGER USB AUDIO (5/5)

So, if I want to specify #7, what part of that string do I use? I've tried "(ASIO) BEHRINGER USB AUDIO (5/5)" and "(ASIO) BEHRINGER USB AUDIO", neither of which worked. Got any suggestions?

The r323 build (http://squeezeslave.googlecode.com/files/squeezeslave-1.2L-323-win.zip) also has a new command line option (-t/--audiotype) to limit the (-n/--name) search to one audio type.

Try this on the command line.

-tASIO -n"BEHRINGER USB AUDIO" -L

You should see the * next to device 7.

DareVanReed
2012-04-19, 13:42
I have a couple things for you to try.

1. Remove -DUSE_SIGNALS_FOR_RESTART from the CFLAGS in makefile.linux26-i64-alsa-display and rebuild. Use squeezeslave as before and see if it "hangs" again.


make -f makefile.linux26-i64-alsa-display clean
make -f makefile.linux26-i64-alsa-display

2. Run squeezeslave, any build, adding -dslimproto to your existing command line. Report the line that starts with proto_sigpipe:

Mine looks like

proto_sigpipe: MSG_NOSIGNAL

I expect yours to be different.

I'll have further suggestions based on the reported MSG.

hi ralphy,

i'm having exactly the same issue as described before, over multiple versions of everything. i compiled like you said, and i get the same MSG_NOSIGNAL on the debug of slimproto. what information can i provide about my build that might help you troubleshoot?

i'm using the latest sources, but this issue has been consistent, exactly as described by the other fella.

root@tucker:/usr/local/bin# squeezeslave -V
squeezeslave 1.2-319 Apr 19 2012 21:32:51
compile flags: linux portaudio:1608 debug daemon renice zones
buffer sizes: decoder 2097152 output 2822400 bytes

Copyright 2004-2012 Richard Titmuss, Duane Paddock.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

gharris999
2012-04-19, 14:20
Attached is a proposed configuration script to allow one to run squeezeslave as a service on Ubuntu / Debian. The script attempts to automatically:


create a random fake mac address for the squeezeslave instance
figure out the correct output audio device
figure out the ip address of the target lms
writes the above to a configuration file at /etc/default/squeezeslave
creates a /etc/init.d/squeezeslave service script
creates the service control links via update.rc.d


Requirements:

squeezeslave binary somewhere in the path (e.g. /usr/sbin/squeezeslave)
update.rc.d

Once run, you'll be able to start and run squeezeslave in the background via:

# sudo service squeezeslave start

..and stop it via

# sudo service squeezeslave stop

Details of the service and the squeezeslave instance can be controlled by editing the /etc/default/squeezeslave config file.

Enjoy.

DareVanReed
2012-04-20, 05:00
I woke up this morning and the running Squeezeslave responded nicely when I pressed play, so this might have worked. Thanks!

(If it turns out it didn't work, I'll come back :-) )

did that work out for you? it fixed it for a few days for me, but that was all.

cptdondo
2012-04-26, 19:17
When I try to play something streaming from the web with squeezeslave, I get stuttering and the sound is like it got run through a Donald Duck processor. If I use mplayer with the cache:

mplayer -really-quiet -cache 8192 -cache-min 5 URL_WOULD_GO_HERE/stream.mp3

it works just fine. I tried --latency nnn but no joy; Donald Duck still lives in my streaming radio.....

Any way to cache the stream like mplayer does?

bugmenot
2012-04-27, 05:43
Are there any plans to support direct streaming and thusly plugins like spotify?

cptdondo
2012-05-01, 18:37
When I try to play something streaming from the web with squeezeslave, I get stuttering and the sound is like it got run through a Donald Duck processor. If I use mplayer with the cache:

mplayer -really-quiet -cache 8192 -cache-min 5 URL_WOULD_GO_HERE/stream.mp3

it works just fine. I tried --latency nnn but no joy; Donald Duck still lives in my streaming radio.....

Any way to cache the stream like mplayer does?

OK, I traced this down to 32KHz streams. Any way for squuezeslave to play 32KHz streams without sounding like a duck? I have mplayer and lame installed. Is there a custom config file I can use to resample on the fly?

judderod
2012-05-02, 09:03
Can anyone tell me what I'm doing wrong here?

I'm trying to use output 9. I'd prefer to set the output by name as the output device numbers change depending on which device is set as default in W7.

It works if I use -o9, but I get PortAudio error7 when I try -n

judderod
2012-05-03, 09:26
Ahh all fixed thanks to the r323 build.

SQUEEZ~1.EXE -t"Windows WASAPI" -n"S/PDIF (M-Audio Delta AP 192)"

:D

ralphy
2012-05-04, 03:49
Are there any plans to support direct streaming and thusly plugins like spotify?

No.

meercat
2012-05-05, 06:43
I've just found squeezeslave & am trying it out, but I too get the behaviour where it hangs after a period of inactivity.

In fact, if I get to the end of a playlist without adding new songs, squeezeslave seems to hang.

I added the "-dslimproto" arg to the command line, and then find the "proto_sigpipe: MSG_NOSIGNAL" message in the output, and I've pasted the complete log output since the last of these messages below.
After this point the process seems to be pretty well hung (to the degree that a normal kill command won't stop it, but a kill -9 is needed).

This is squeezeslave v1.2-311 on 32 bit linux (kernel 3.2.12) built with gcc 4.5.3 running against a squeezeserver v7.7.2 - r33893.

squeezeslave 1.2-311 May 3 2012 10:49:09
compile flags: linux portaudio:1899 debug signals daemon aac
buffer sizes: decoder 2097152 output 2822400 bytes

with output devices:
1: (ALSA) HDA NVidia: HDMI 0 (hw:0,3) (11/46)
2: (ALSA) sysdefault (42/46)
3: (ALSA) hdmi (11/46)
* 4: (ALSA) default (42/46)
5: (ALSA) dmix (42/42)

and lsof shows the following sockets

*IPv4 2803002 * * *0t0 * * * *TCP linux2.local:40441->homenas:3483 (CLOSE_WAIT)
*IPv4 2803635 * * *0t0 * * * *TCP linux2.local:37675->homenas:9001 (ESTABLISHED)

If any more output would help - I could attach gdb & have a poke around, or whatever... just let me know

Hope you can help

Cheers

--
Tim // twitter.com/#!/schmerg


[[[ ... snip... ]]]
proto_send: cmd=STAT len=53
proto_sigpipe: MSG_NOSIGNAL
proto_stat: code=STMe decoder_buffer_size=2097152 decoder_buffer_fullness=0 rbytes_high=0 rbytes_low=17875107 output_buffer_size=2822400 output_buffer_fullness=0 elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_stat: code=STMh decoder_buffer_size=2097152 decoder_buffer_fullness=0 rbytes_high=0 rbytes_low=17875107 output_buffer_size=2822400 output_buffer_fullness=0 elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_recv: cmd=audg len=24
proto_recv: cmd=vfdc len=174
proto_recv: cmd=strm len=30
proto_stat: code=STMr decoder_buffer_size=2097152 decoder_buffer_fullness=0 rbytes_high=0 rbytes_low=17875107 output_buffer_size=2822400 output_buffer_fullness=0 elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_stat: code=STMt decoder_buffer_size=2097152 decoder_buffer_fullness=0 rbytes_high=0 rbytes_low=18727075 output_buffer_size=2822400 output_buffer_fullness=2441216 elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_recv: cmd=vfdc len=174
proto_stat: code=STMt decoder_buffer_size=2097152 decoder_buffer_fullness=2091408 rbytes_high=0 rbytes_low=21006891 output_buffer_size=2822400 output_buffer_fullness=2818048 elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_recv: cmd=vfdc len=174
proto_recv: cmd=strm len=30
proto_stat: code=STMt decoder_buffer_size=2097152 decoder_buffer_fullness=2091408 rbytes_high=0 rbytes_low=21006891 output_buffer_size=2822400 output_buffer_fullness=2818048 elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_stat: code=STMt decoder_buffer_size=2097152 decoder_buffer_fullness=2091408 rbytes_high=0 rbytes_low=21006891 output_buffer_size=2822400 output_buffer_fullness=2818048 elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_recv: cmd=vfdc len=174
proto_stat: code=STMt decoder_buffer_size=2097152 decoder_buffer_fullness=2091408 rbytes_high=0 rbytes_low=21006891 output_buffer_size=2822400 output_buffer_fullness=2818048 elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_recv: cmd=vfdc len=174
proto_stat: code=STMt decoder_buffer_size=2097152 decoder_buffer_fullness=2091408 rbytes_high=0 rbytes_low=21006891 output_buffer_size=2822400 output_buffer_fullness=2818048 elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_recv: cmd=vfdc len=174
proto_stat: code=STMt decoder_buffer_size=2097152 decoder_buffer_fullness=2091408 rbytes_high=0 rbytes_low=21006891 output_buffer_size=2822400 output_buffer_fullness=2818048 elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_recv: cmd=vfdc len=174
proto_stat: code=STMt decoder_buffer_size=2097152 decoder_buffer_fullness=2091408 rbytes_high=0 rbytes_low=21006891 output_buffer_size=2822400 output_buffer_fullness=2818048 elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_recv: cmd=vfdc len=174
proto_recv: cmd=strm len=30
proto_stat: code=STMt decoder_buffer_size=2097152 decoder_buffer_fullness=2091408 rbytes_high=0 rbytes_low=21006891 output_buffer_size=2822400 output_buffer_fullness=2818048 elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_stat: code=STMt decoder_buffer_size=2097152 decoder_buffer_fullness=2091408 rbytes_high=0 rbytes_low=21006891 output_buffer_size=2822400 output_buffer_fullness=2818048 elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_recv: cmd=vfdc len=174
proto_stat: code=STMt decoder_buffer_size=2097152 decoder_buffer_fullness=2091408 rbytes_high=0 rbytes_low=21006891 output_buffer_size=2822400 output_buffer_fullness=2818048 elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=0
proto_send: cmd=STAT len=53
proto_recv: cmd=vfdc len=174
proto_stat: code=STMt decoder_buffer_size=2097152 decoder_buffer_fullness=2091408 rbytes_high=0 rbytes_low=21006891 output_buffer_size=2822400 output_buffer_fullness=2818048 elapsed_seconds=0 elapsed_milliseconds=0 server_t

ralphy
2012-05-06, 02:51
This is a non-standard build, you've enabled aac and are not using the supplied portaudio.

compile flags: linux portaudio:1899 debug signals daemon aac

meercat
2012-05-06, 05:58
This is a non-standard build, you've enabled aac and are not using the supplied portaudio.

compile flags: linux portaudio:1899 debug signals daemon aac

Ah - I'm a gentoo user so I'd installed it via that.

I had a dig thru the ebuild - hoping it was just a simple wrapper around your makefiles, but it's quite a rewrite :(

I can turn off aac with use flags (the way gentoo handles configuration of packages) but it seems the ebuild author has written the ebuild to forcibly use the gentoo portaudio package.

So I downloaded your prebuilt binary (linux26) and tried using that, but it seems to hang in a similar way.

And then I tried the source, edited the makefile to remove the -DUSE_SIGNALS_FOR_RESTART as mentioned in an earlier post (and commented out the -DINTERACTIVE and LIBS line for curses and lirc, and also removed them from the buildall call to gcc), and that seems to work better, but still if left idle for a few minutes it sometimes goes silent, and has to be killed and restarted to resume playing although not hung as before - it's still producing log messages and can be killed without a SIGKILL.

That version reports
compile flags: linux portaudio:1608 debug daemon renice

Any suggestions of anything else I can try, or do to help diagnose it?

Cheers

--
Tim

ralphy
2012-05-06, 08:35
Any suggestions of anything else I can try, or do to help diagnose it?

The audio output thread is most likely hanging.

I'd suggest working with trunk for starters which is currently at r325.

I see no issues with the makefile changes, but you'll need to make them again for trunk.

Then I'd suggest updating the portaudio library version to r1826.

LIBPORTAUDIO=portaudio-r1826

meercat
2012-05-07, 09:31
The audio output thread is most likely hanging.

I'd suggest working with trunk for starters which is currently at r325.

I see no issues with the makefile changes, but you'll need to make them again for trunk.

I pulled the source for 325 and built that with minimal makefile changes as described earlier.

That played well for a while, but then the audio is lost again after an extended period of idle (still lots of log messages, so it's getting data and doing something, but no audio output). Normal Ctrl-C will kill it.


Then I'd suggest updating the portaudio library version to r1826.

LIBPORTAUDIO=portaudio-r1826

This seemed to make things worse, it hung after the slightest break of a few seconds, and hung hard (no more log messages, needs sigkill to kill it again).

If I can do anything to help, let me know, but if there's something wacky about my system & you've got your hands so full with other tasks that this comes some way down your list of priorities, I won't be offended :)

Cheers

--
Tim

ralphy
2012-05-09, 05:23
If I can do anything to help, let me know, but if there's something wacky about my system & you've got your hands so full with other tasks that this comes some way down your list of priorities, I won't be offended :)

I've only ever seen or had reports of this issue with ALSA, never with Windows or OSX.

You could also try using a USB sound card if you have one handy to prove it's the driver for your sound card and not squeezeslave. I had one system running Arch Linux with a same "hanging" issue when using the internal sound card but when I ran the same binary with a USB sound card it worked perfectly.

Updating the ALSA snd_hda_intel kernel driver on this system fixed the hanging with the internal sound card.

meercat
2012-05-09, 12:00
I've only ever seen or had reports of this issue with ALSA, never with Windows or OSX.

I'd believe it - sound has always been a bit hit-and-miss on this system (and it's not a clean install, but the hardware and O/S have been continuously upgraded over the last 6 or 7 years or so).

The 325 version (with default portaudio) seems much better, and doesn't always lose the audio, so I can easily live with it for now...
I've got it starting as a service, so while it's not a hard-hang I can always restart the service easily enough.

But I'll let you know if it suddenly improves or worsens etc.

Cheers

--
Tim

pdeoliveira
2012-05-22, 01:38
Hello Ralphy,
First of all, thank you for your great job on SqueezeSlave.
I'm using it on a Linux box with an xmos multichannel reference design as a USB source.
I'd like to use it for 24/96 files, which is not currently possible. I've already look into the code, and it seems possible.
I have some programing skills and I'm ready to help. Maybe you already started some work on this subject and I don't want to make things twice.
So, please let me know what I can do.

Pascal

ralphy
2012-05-24, 04:45
Hello Ralphy,
First of all, thank you for your great job on SqueezeSlave.
I'm using it on a Linux box with an xmos multichannel reference design as a USB source.
I'd like to use it for 24/96 files, which is not currently possible. I've already look into the code, and it seems possible.
I have some programing skills and I'm ready to help. Maybe you already started some work on this subject and I don't want to make things twice.
So, please let me know what I can do.

Pascal
The original sources for squeezeslave were hard coded to support 16/44.1 everywhere so it's a major update to the
code. All timing and memory allocation calculations assume 16 bits and 44100Hz and the pcm decoder as well. I've
managed to add mono support for all the decoders except ogg, but that's really a hack and would likely need to be
removed as part of this effort. You'll need to search all the code to find the assumptions. I've tried to add FIXME
comments in the code when I've added any such assumptions myself, but Richard didn't always do that.

I think a variable would need to be added to the audio structure to track the sample rate of the current stream. A
couple of the decoders don't have a means to obtain the sample rate of the current stream, so that would need to be
added. SBS seems to always pass '?' for the sample rate so you can't use that. Ignore the AAC and WMA decoders as
I'm planning to rewrite them and they are not part of the official build anyway.

The portaudio code expects 44100 as well so there's been no thought in the design on how to change the hardware
sample rate if the next track is different from the current one. Also the device list code checks if the device
specifically supports 44100.

There's also issues with the buffer code that needs to be resolved. I've been working the another forum member to
help get squeezeslave ported to the empeg/rio car player. Ideally all buffer code needs to be replaced with some
sort of ring buffer implementation. I've looked at using the one included with the port audio svn trunk but it's
more work than I'm willing to put into squeezeslave at this time.

I think you'll find the buffering code will be the greatest hurdle to overcome and I suspect that increasing both
bit size and sampling rate will expose additional issues.

The pa_callback is tightly coupled with the buffering code and this will need to be addressed when replacing the
buffer engine. There should be no blocking function calls in the callback. However, currently there are three.
For the empeg port we've managed to remove two of them, but the last in the slimaudio_buffer_available call can only
be removed by changing the buffer code.

If you'd like to take a stab at it, I'm happy to help as much as possible with suggestions and testing.

A fellow forum member, lauret, has started the work and has provided a patch which partially works. I'd suggest getting in contact with him to obtain the latest version and attempt to co-ordinate you're efforts. I can create a branch on google code for the hi-res project.

Here's a quote from lauret regarding the current state


Well, I have taken a look at the code for a couple of hours, but I didn't really see a good starting point, so I started with replacing all the 44.100 and 44100 occurences with resp. 96.000 and 96000 in the slimaudio dir. With an altered custom-convert.conf (which was already in place because of 44.1Khz) it worked perfectly! No hiccups or stuttering. Then I tried the same with 192kHz, and hardcoded it into slimaudio. This also worked, but it maxed out my server (Atom) with 44.1kHz material. 96kHz and above worked, I guess that's an easier job for SoX. Still, 2/3's of my music is in 44.1kHz, the rest is 96kHz or 192kHz, thus this is for me not an acceptable hack... Also, the bits per sample remain 16-bits.

So, next step, how to keep track of the sample rate? I guess in the slimaudio_t struct? And where is squeezeslave able to detect sample-rate? In e.g. slimaudio_decoder_flac.c?

I haven't heard anything since then and I've made a lot of changes to squeezeslave trunk, which I'll be updating later this week with several more changes.

ralphy
2012-05-27, 05:22
I've uploaded new 32-bit linux ALSA test builds for ARM, Intel and MIPPS to google code (http://code.google.com/p/squeezeslave/downloads/list).

These include an updated portaudio library which fixes invalid sample rate error on device open for inexactly clocked sound cards with up to a 1% deviation from 44100Hz sample rate.

If in the past you've tried to use a sound card that was listed with -L but caused squeezeslave to exit with the error

output_thread: PortAudio error1: Invalid sample rate

then those sound cards should now work with the latest builds.

NB: squeezeslave still only supports 16-bit 44100Hz +/-1% sample rate output.

pdeoliveira
2012-05-29, 07:42
Thank you, Ralphy for your answer and all the helpful information.
I'll have another look into the code asap and I'll keep you informed.

gharris999
2012-06-05, 01:19
Here's another squeezeslave-as-a-service setup script. This one will configure a squeezeslave service for debian distros and for fedora. Mostly, I worked this up as an exercise in creating an interactive service install script using whiptail and to create a script that supported both sysv style init scripts as well as systemd unit files. It turned out to be a much bigger chore than I anticipated. Anyway, here it is, in the attached zip file. And this is what the whiptail setup menu looks like:

minscof
2012-06-23, 03:51
Hi,

I have a problem already reported by other people about squeezeslave that seems to hang after inactivity. I run squeezeslave on an linux/arm device using version 1.2.337 from http://code.google.com/p/squeezeslave/downloads/list. The problem is reproducible : I get it each time when a song ends and there is nothing more to play. Then I must stop squeezeslave using kill -9 and start it again. I use an usb audio card (same problem with the 2 different cards), so it is a generic driver, and I think I cannot upgrade it. I use the latest archlinux for arm device :
3.1.10-11-ARCH

My device is an iconnect from iomega (http://archlinuxarm.org/forum/viewtopic.php?f=27&t=1472)

Can you help me ?

Ty
Minscof

minscof
2012-06-30, 10:30
I didn't find a solution to my trouble with squeezeslave, so I switch to squeezeplay + xvfb and it is perfect.

See https://aur.archlinux.org/packages.php?ID=56769 to get squeezeplay for archlinux, just need to add xvfb (a dummy xserver)

gharris999
2012-07-16, 11:36
Quick (trivial) question about squeezeslave-1.2-365-osx running on my 2011 Mac-Mini, OS X Lion:

Despite using --name HDMI or --output 2 with squeezeslave, I can't get any sound if there is a stereo-miniplug plugged into the headphone socket. VLC, if it's ouput is set to HDMI, doesn't have this problem and I'll get sound from my HDMI connected monitor's speakers. Any idea why this should be so?

Anyway, I'm finding that booting into Lion is such a PITA that I'm finding excuses not to do so. Lion doesn't play well with my KVM [unlike windows 7 or Fedora on the same hardware] so I end up having to now switch both video AND audio connectors.

ralphy
2012-07-17, 04:00
Quick (trivial) question about squeezeslave-1.2-365-osx running on my 2011 Mac-Mini, OS X Lion:

Despite using --name HDMI or --output 2 with squeezeslave, I can't get any sound if there is a stereo-miniplug plugged into the headphone socket. VLC, if it's ouput is set to HDMI, doesn't have this problem and I'll get sound from my HDMI connected monitor's speakers. Any idea why this should be so?

Anyway, I'm finding that booting into Lion is such a PITA that I'm finding excuses not to do so. Lion doesn't play well with my KVM [unlike windows 7 or Fedora on the same hardware] so I end up having to now switch both video AND audio connectors.

Do you see the same behaviour with r345 (http://squeezeslave.googlecode.com/files/squeezeslave-1.2-345-osx.tar.gz)?

I updated the portaudio library in r365 and I've noticed a couple other "weird" issues with the windows build as well.

Can you provide the output from -L with r365 so I can try to reproduce on my mini as well?

gharris999
2012-07-17, 07:11
./squeezeslave-1.2-345 -L (with mini-plug in headphone socket)


Output devices:
* 1: (Core Audio) Built-in Output (2/12)
2: (Core Audio) HDMI (3/12)

./squeezeslave-1.2-345 -L (WITHOUT mini-plug in headphone socket)


Output devices:
1: (Core Audio) Built-in Output (2/12)
* 2: (Core Audio) HDMI (3/12)


./squeezeslave-1.2-365 -L (with mini-plug in headphone socket)


Output devices:
* 1: (Core Audio) Built-in Output (2/12)
2: (Core Audio) HDMI (3/12)

./squeezeslave-1.2-345 -L (WITHOUT mini-plug in headphone socket)


Output devices:
1: (Core Audio) Built-in Output (2/12)
* 2: (Core Audio) HDMI (3/12)

--so no difference there.

Running squeezeslave-1.2-345 with the following plist:


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<true/>
<key>OnDemand</key>
<false/>
<key>RunAtLoad</key>
<true/>
<key>Label</key>
<string>Squeezeslave</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/squeezeslave-1.2-345</string>
<string>--retry</string>
<string>--output 2</string>
<string>--debuglog /var/tmp/squeezeslave.log</string>
<string>--debug slimaudio_output</string>
<string>--mac 00:04:20:9b:61:1a</string>
<string>localhost</string>
</array>
</dict>
</plist>

..it seems to exhibit the same behavior as 365.

Interestingly, if I launchctl squeezeslave with the mini-plug out, it plays (as expected) -- but continues playing if I then plug in the mini-plug. With the mini-plug remaining in, if I launchctl unload & then load, it doesn't play.

So...perhaps this is an annoying quirk of OS X Lion more than anything else. Still, I'd like to know how VLC manages to work around this problem.

MusicManiac
2012-07-17, 19:21
http://dl.dropbox.com/u/16683719/Squeezeslave%20Files/SqueezeWRTsm.jpg
(Downloads code.google) (http://code.google.com/p/squeezeslave/downloads/list?q=label:OpSys-OpenWRT)
Updated packages for 'Backfire' and added 'Attitude Adjustment'.

Any package questions/problems feel free to PM me.

Thanks again to Ralphy for his hard work on Squeezeslave and continued guidance.

~MusicManiac

ralphy
2012-07-19, 09:05
..it seems to exhibit the same behavior as 365.

Interestingly, if I launchctl squeezeslave with the mini-plug out, it plays (as expected) -- but continues playing if I then plug in the mini-plug. With the mini-plug remaining in, if I launchctl unload & then load, it doesn't play.

So...perhaps this is an annoying quirk of OS X Lion more than anything else. Still, I'd like to know how VLC manages to work around this problem.
I suspect it's portaudio as it currently doesn't support hotplugging devices.

VLC appears to use CoreAudio directly, I'll confirm on the weekend.

Can you attach the debug log as you have enabled slimaudio_output it may provide additional clues?

Thanks.

gharris999
2012-07-19, 15:43
I suspect it's portaudio as it currently doesn't support hotplugging devices.

VLC appears to use CoreAudio directly, I'll confirm on the weekend.

Can you attach the debug log as you have enabled slimaudio_output it may provide additional clues?

Thanks.Actually, I never did get anything at all to show up in the log. I did everything I could think of to make the file writeable by squeezeslave (chmod 777, etc.) Not sure what I did wrong there, but I still have a zero-byte, empty file.

ralphy
2012-07-20, 04:12
Actually, I never did get anything at all to show up in the log. I did everything I could think of to make the file writeable by squeezeslave (chmod 777, etc.) Not sure what I did wrong there, but I still have a zero-byte, empty file.

This works for me on Lion.


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<true/>
<key>OnDemand</key>
<false/>
<key>RunAtLoad</key>
<true/>
<key>Label</key>
<string>Squeezeslave</string>
<key>ProgramArguments</key>
<array>
<string>/Users/ralphy/bin/squeezeslave</string>
<string>-nSennheiser USB Headset</string>
<string>-r15</string>
<string>-dslimaudio_decoder_r</string>
<string>-m00:00:00:00:00:38</string>
<string>-Y/Users/ralphy/bin/squeezeslave.log</string>
<string>-F</string>
</array>
</dict>
</plist>




$ ls -l /Users/ralphy/bin/squeezeslave.log
-rw-r--r-- 1 root staff 18311 Jul 16 10:57 /Users/ralphy/bin/squeezeslave.log




$ tail /Users/ralphy/bin/squeezeslave.log
Retry in 15 seconds.
Retry in 15 seconds.
Error connecting to 192.168.135.246:3483
Connection to Squeezebox Server 192.168.135.246 failed.
Retry in 15 seconds.
Named device match failed, using default.
sendto: No route to host
Discover failed.
Retry in 15 seconds.
sendto: No route to host

gharris999
2012-07-20, 15:26
Can you attach the debug log as you have enabled slimaudio_output it may provide additional clues?

Thanks.

Finally managed to get -dslimaudio_output to write to the log.

Fri Jul 20 16:20:55 MDT 2012
ay_gain:1.000000
output_thread STMs-PLAYING: 461
output_thread ETIMEDOUT-PLAYING: 461
output_thread ETIMEDOUT-PLAYING: 461
audg cmd: left_gain:20736 right_gain:20736 volume:0.316406 old_left_gain:90 old_right_gain:90
vol_adjust:0.316406 replay_gain:1.000000 start_replay_gain:1.000000
audg cmd: left_gain:9472 right_gain:9472 volume:0.316406 old_left_gain:69 old_right_gain:69
vol_adjust:0.144531 replay_gain:1.000000 start_replay_gain:1.000000
audg cmd: left_gain:4352 right_gain:4352 volume:0.144531 old_left_gain:50 old_right_gain:50
vol_adjust:0.066406 replay_gain:1.000000 start_replay_gain:1.000000
audg cmd: left_gain:2048 right_gain:2048 volume:0.066406 old_left_gain:33 old_right_gain:33
vol_adjust:0.031250 replay_gain:1.000000 start_replay_gain:1.000000
audg cmd: left_gain:993 right_gain:993 volume:0.031250 old_left_gain:18 old_right_gain:18
vol_adjust:0.015152 replay_gain:1.000000 start_replay_gain:1.000000
audg cmd: left_gain:473 right_gain:473 volume:0.015152 old_left_gain:7 old_right_gain:7
vol_adjust:0.007217 replay_gain:1.000000 start_replay_gain:1.000000
audg cmd: left_gain:223 right_gain:223 volume:0.007217 old_left_gain:1 old_right_gain:1
vol_adjust:0.003403 replay_gain:1.000000 start_replay_gain:1.000000
audg cmd: left_gain:0 right_gain:0 volume:0.003403 old_left_gain:0 old_right_gain:0
vol_adjust:0.000000 replay_gain:1.000000 start_replay_gain:1.000000
slimaudio_output_pause: state=3
output_thread PAUSE: 461
output_thread PAUSED: 461
slimaudio_output_disconnect: state=5
slimaudio_output_disconnect: state=6
output_thread STOP: 461
output_thread STOPPED: 0
output_thread PAUSED: 0
slimaudio_output_disconnect: state=7
audg cmd: left_gain:20736 right_gain:20736 volume:0.000000 old_left_gain:92 old_right_gain:92
vol_adjust:0.316406 replay_gain:1.000000 start_replay_gain:1.000000
slimaudio_output_connect: state=7
slimaudio_output_connect: state=4
audg cmd: left_gain:20736 right_gain:20736 volume:0.316406 old_left_gain:92 old_right_gain:92
vol_adjust:0.316406 replay_gain:1.000000 start_replay_gain:1.000000
output_thread PAUSE: 0
output_thread PAUSED: 0
slimaudio_output_unpause: state=5
output_thread PLAY: output_predelay_frames: 0
output_thread BUFFERING: output_buffer_size: 0 output_threshold: 211680 buffering_timeout: 12
slimaudio_output_unpause: state=1
output_thread PLAY: output_predelay_frames: 0
output_thread BUFFERING: output_buffer_size: 819200 output_threshold: 211680 buffering_timeout: 11
output_thread PLAY: start stream: 0
pa_callback: STREAM_START:output_STMs:1 tracks:0
vol_adjust:0.316406 replay_gain:1.000000 start_replay_gain:1.000000
output_thread STMs-PLAYING: 461
output_thread ETIMEDOUT-PLAYING: 461
output_thread ETIMEDOUT-PLAYING: 461
output_thread ETIMEDOUT-PLAYING: 461
output_thread ETIMEDOUT-PLAYING: 461
output_thread ETIMEDOUT-PLAYING: 461
output_thread ETIMEDOUT-PLAYING: 461
output_thread ETIMEDOUT-PLAYING: 461
output_thread ETIMEDOUT-PLAYING: 461
slimaudio_output_disconnect: state=3
slimaudio_output_disconnect: state=6
output_thread STOP: 461
output_thread STOPPED: 0
output_thread PAUSED: 0
slimaudio_output_disconnect: state=7
output_thread: PortAudio terminated
audg cmd: left_gain:20736 right_gain:20736 volume:1.000000 old_left_gain:92 old_right_gain:92
vol_adjust:0.316406 replay_gain:-1.000000 start_replay_gain:1.000000
paDeviceInfo->deviceid 2
paDeviceInfo->maxOutputChannels 2
outputParameters.suggestedLatency 0.012875
paDeviceInfo->defaultHighOutputLatency 0.012875
paDeviceInfo->defaultLowOutputLatency 0.003542
paDeviceInfo->defaultSampleRate 48000.000000
output_thread STOPPED: 0
output_thread PAUSED: 0
slimaudio_output_disconnect: state=7
audg cmd: left_gain:20736 right_gain:20736 volume:-0.316406 old_left_gain:92 old_right_gain:92
vol_adjust:0.316406 replay_gain:-1.000000 start_replay_gain:1.000000
slimaudio_output_connect: state=7
slimaudio_output_connect: state=4
audg cmd: left_gain:20736 right_gain:20736 volume:-0.316406 old_left_gain:92 old_right_gain:92
vol_adjust:0.316406 replay_gain:1.000000 start_replay_gain:1.000000
output_thread PAUSE: 0
output_thread PAUSED: 0
slimaudio_output_unpause: state=5
output_thread PLAY: output_predelay_frames: 0
output_thread BUFFERING: output_buffer_size: 81920 output_threshold: 211680 buffering_timeout: 12
output_thread PLAY: output_predelay_frames: 0
output_thread BUFFERING: output_buffer_size: 819200 output_threshold: 211680 buffering_timeout: 11
output_thread PLAY: start stream: 0
pa_callback: STREAM_START:output_STMs:1 tracks:0
vol_adjust:0.316406 replay_gain:1.000000 start_replay_gain:1.000000
output_thread STMs-PLAYING: 461
output_thread ETIMEDOUT-PLAYING: 461
output_thread ETIMEDOUT-PLAYING: 461
..etc.

ralphy
2012-07-21, 06:30
Updated packages for 'Backfire' and added 'Attitude Adjustment'.

Any package questions/problems feel free to PM me.

Thanks again to Ralphy for his hard work on Squeezeslave and continued guidance.

~MusicManiac

and thank you for building the openwrt packages. :)

ralphy
2012-07-22, 04:03
Just uploaded an armhf build (http://squeezeslave.googlecode.com/files/squeezeslave-1.2-367-armhf-lnx31.tar.gz) of squeezeslave.

Requires Debian Arm Hard Float (armhf) distribution or the new raspbian port (http://news.techworld.com/personal-tech/3370772/raspberry-pi-gets-dedicated-raspbian-os-to-boost-performance/) for the raspberry pi.

ralphy
2012-07-23, 04:44
Quick (trivial) question about squeezeslave-1.2-365-osx running on my 2011 Mac-Mini, OS X Lion:

Despite using --name HDMI or --output 2 with squeezeslave, I can't get any sound if there is a stereo-miniplug plugged into the headphone socket. VLC, if it's ouput is set to HDMI, doesn't have this problem and I'll get sound from my HDMI connected monitor's speakers. Any idea why this should be so?

Anyway, I'm finding that booting into Lion is such a PITA that I'm finding excuses not to do so. Lion doesn't play well with my KVM [unlike windows 7 or Fedora on the same hardware] so I end up having to now switch both video AND audio connectors.

I confirmed that vlc used coreaudio directly and there's talk of portaudio support being removed altogether.

From the slimaudio_output log it appears that portaudio is confused as squeezeslave should not open the device at 48KHz which the log clearly shows it has.

paDeviceInfo->deviceid 2
paDeviceInfo->maxOutputChannels 2
paDeviceInfo->defaultSampleRate 48000.000000

I was unable to reproduce this on my mid-2010 mini at home running snow leopard and I don't have access to hdmi equipment at the office where my 2011 mini running lion lives.

Until portaudio supports hot plug devices, I can't see being able to fix this issue anyway.

dborod
2012-07-26, 21:21
Hi,

I just installed mountain lion on my mac mini and noticed that squeezeslave was streaming the audio to a different output than before the upgrade.

Editing the plist file fixed the issue.

Just wanted to get this into the thread in case someone else has a similar problem.

dborod
2012-07-26, 21:40
I just upgraded to mountain lion, and on my machine, squeezeslave -L now returns

Output devices:
0: (Core Audio) AirPlay (6000/60000)
* 2: (Core Audio) Built-in Output (1/10)
3: (Core Audio) Soundflower (2ch) (0/0)
4: (Core Audio) Soundflower (16ch) (0/0)

There's an airport express device in my kitchen, but when specifying this output device in the plist file there's no sound that emerges from the device.

I currently use Airfoil to stream Soundflower (2ch) to the airport express base station, but would prefer to just stream to it directly.

I'm using version 1.2-311 of your excellent software.

Am I doing something wrong, or is squeezeslave just not able to handle this yety?

Thanks.

ralphy
2012-07-27, 04:30
I have not tested squeezeslave on 10.8

First, do you get sound if you use the default built in output?

Then grab the latest beta build from googlecode (http://squeezeslave.googlecode.com/files/squeezeslave-1.2-365-osx.tar.gz).

Again, try the built in output (-o2), if it works,then try the AirPlay (-o0) one.

dborod
2012-07-27, 12:09
I have not tested squeezeslave on 10.8

First, do you get sound if you use the default built in output?

Then grab the latest beta build from googlecode (http://squeezeslave.googlecode.com/files/squeezeslave-1.2-365-osx.tar.gz).

Again, try the built in output (-o2), if it works,then try the AirPlay (-o0) one.

I'll have to wait till I'm home later to test it, but in examining a problem with squeezeplay, it seems that mountain lion changes the output numbers if you have an airplay device (apple tv or AEBS).

I suspect that everything still works properly. I guess I should refer to them by name instead of number.

ralphy
2012-07-28, 03:30
I'll have to wait till I'm home later to test it, but in examining a problem with squeezeplay, it seems that mountain lion changes the output numbers if you have an airplay device (apple tv or AEBS).

I suspect that everything still works properly. I guess I should refer to them by name instead of number.

Yes, using -n would be best.

I see you got squeezeplay working to the airplay device, that's great.

ralphy
2012-08-01, 05:52
Test build available on googlecode. (http://squeezeslave.googlecode.com/files/squeezeslave-1.2L-369-oi-intel.tar.gz)

Try the OSS binary first.

The SADA binary includes hardware mixer support but is limited to very few devices.

Built on 151a5.

Wiredcharlie
2012-08-12, 16:17
Ralphy,

Thanks for your hard work!

Regarding the Raspbian port for the Raspberry Pi - I can't get it to work. If I use the -I switch, it correctly reports my server. If I use the -L switch it sees audio devices. But if I actually try to connect with an ip or -F, it closes after a few seconds.

Any ideas?

Tony

ralphy
2012-08-14, 04:13
Ralphy,

Thanks for your hard work!

Regarding the Raspbian port for the Raspberry Pi - I can't get it to work. If I use the -I switch, it correctly reports my server. If I use the -L switch it sees audio devices. But if I actually try to connect with an ip or -F, it closes after a few seconds.

Any ideas?

Tony
I'd guess there's an issue with your network.

There have been 80 downloads of the raspbian port and you're the first to report any issues.

Without more details it's hard to know.

What is the complete command line you use when it fails?

Add -dslimproto -dslimaudio_http -Ycloses.log before the IP address and post a zip with the log file after squeezeslave closes.

Even if we do find an issue, I don't have a PI readily available to rebuild squeezeslave.
Thomas of squeezeplug fame provided access to a PI to build the current port.

tobyjug
2012-08-14, 11:24
Hi I've just come across squeezeslave and it seems to be exactly what I've been looking for apart from, I can't get it working with the device I want.

I'm running Windows 7 Enterprise 64bit.

The devices I have are listed below

C:\Users\peter.ryan>C:\Users\peter.ryan\Documents\squeezeslave-1.2-366.exe -L

Output devices:
* 8: (Windows DirectSound) Primary Sound Driver (119/239)
9: (Windows DirectSound) SPDIF Interface (TE7022 Audio w/ SPDIF) (119/239)
10: (Windows DirectSound) Speakers / Headphones (IDT High Definition Audio C
ODEC) (119/239)
11: (Windows DirectSound) Independent (R.T.C.) Headphones (IDT High Definiti
on Audio CODEC) (119/239)
12: (Windows WASAPI) Speakers / Headphones (IDT High Definition Audio CODEC)
(3/10)
13: (Windows WASAPI) SPDIF Interface (TE7022 Audio w/ SPDIF) (3/10)
14: (Windows WASAPI) Independent (R.T.C.) Headphones (IDT High Definition Au
dio CODEC) (3/10)

Every one of the devices work apart from #13 which is the one I want to work.

Any idea why it won't work?

tobyjug
2012-08-14, 14:14
Ok I found out what the problem was: I hadn't got the exlusive mode selected in the driver. Now works but just found out it doesn't support 24/96 files. I'll need to find another solution.

Wiredcharlie
2012-08-15, 07:27
Ralphy,

Thanks for your hard work!

Regarding the Raspbian port for the Raspberry Pi - I can't get it to work. If I use the -I switch, it correctly reports my server. If I use the -L switch it sees audio devices. But if I actually try to connect with an ip or -F, it closes after a few seconds.

Any ideas?

Tony

Hi Ralphy - thanks for getting back.

With command line:
pi@raspberrypi /usr/bin $ squeezeslave -dslimproto -dslimaudio_http -Y/home/pi/closes.log 192.168.1.100

closes.log:
----------------------------------------------------------------------------------------
proto_thread: state=1
proto_thread: PROTO_CLOSED cond_wait
slimproto_connect: (192.168.1.100, 3483)
proto_close: state 1
proto_close: not connected
http_thread state 2
proto_thread: state=2
proto_sigpipe: MSG_NOSIGNAL
proto_connect: connected to 192.168.1.100
proto_thread: state=3
proto_send: cmd=HELO len=36
proto_recv: cmd=vfdc len=174
proto_recv: cmd=vfdc len=174
proto_recv: cmd=vfdc len=174
proto_recv: cmd=audg len=24
proto_recv: cmd=vfdc len=174
proto_recv: cmd=vfdc len=174
proto_recv: (1) n=0 msg=Success(0)
proto_close: state 3
proto_thread: state=1
proto_thread: PROTO_CLOSED cond_wait
proto_close: state 1
proto_close: not connected



--------------------


pi@raspberrypi /usr/bin $ squeezeslave -L
Output devices:
0: (ALSA) bcm2835 ALSA: bcm2835 ALSA (hw:0,0) (11/46)
1: (ALSA) sysdefault (11/46)
* 2: (ALSA) default (11/46)

pi@raspberrypi /usr/bin $ squeezeslave -I
music:9000 (192.168.1.100)

I don't understand the log file!

Thanks

Tony

ralphy
2012-08-16, 04:01
Hi Ralphy - thanks for getting back.

With command line:
pi@raspberrypi /usr/bin $ squeezeslave -dslimproto -dslimaudio_http -Y/home/pi/closes.log 192.168.1.100

closes.log:
----------------------------------------------------------------------------------------
proto_thread: state=1
proto_thread: PROTO_CLOSED cond_wait
slimproto_connect: (192.168.1.100, 3483)
proto_close: state 1
proto_close: not connected
http_thread state 2
proto_thread: state=2
proto_sigpipe: MSG_NOSIGNAL
proto_connect: connected to 192.168.1.100
proto_thread: state=3
proto_send: cmd=HELO len=36
proto_recv: cmd=vfdc len=174
proto_recv: cmd=vfdc len=174
proto_recv: cmd=vfdc len=174
proto_recv: cmd=audg len=24
proto_recv: cmd=vfdc len=174
proto_recv: cmd=vfdc len=174
proto_recv: (1) n=0 msg=Success(0)
proto_close: state 3
proto_thread: state=1
proto_thread: PROTO_CLOSED cond_wait
proto_close: state 1
proto_close: not connected



--------------------


pi@raspberrypi /usr/bin $ squeezeslave -L
Output devices:
0: (ALSA) bcm2835 ALSA: bcm2835 ALSA (hw:0,0) (11/46)
1: (ALSA) sysdefault (11/46)
* 2: (ALSA) default (11/46)

pi@raspberrypi /usr/bin $ squeezeslave -I
music:9000 (192.168.1.100)

I don't understand the log file!

Thanks

Tony

That's okay, the log file is my debugging tool.

Looks like the server is closing the connection, not sure why.

Try adding -R before the IP address, squeezeslave will then reconnect if the connection is closed.

Wiredcharlie
2012-08-18, 02:17
I figured out the problem. I have another squeezeslave on my network, so I had to give it a mac address:

squeezeslave -m 11:11:11:11:11:11 192.168.1.100

I'm getting occasional clicks though...

Thanks for your help Ralphy

ralphy
2012-08-18, 04:31
I figured out the problem. I have another squeezeslave on my network, so I had to give it a mac address:

squeezeslave -m 11:11:11:11:11:11 192.168.1.100

I'm getting occasional clicks though...

Thanks for your help Ralphy

Try adding -y84 before the IP address

psketch
2012-08-24, 06:15
Hi Ralphy

Slightly odd one - I've installed the raspberry build on the current raspbian OS (which seems to include ALSA), and after a little messing around, everything seems to install and run fine. I can see the client from the web control or from iPeng, turn it on and off, play tracks to it etc.. Everything seems just fine. Except, no sound. No errors that I can see - just not a peep out of it. The weird thing is that the AV processor does see the stream changing - i.e. it sees a PCM 44.1kHz stream when I hit play, and it sees the stream stop if I power down squeezeslave through iPeng. Everything seems to work - just silently......

Any ideas, or ideas where I could look?

ta

pete S

ralphy
2012-08-25, 04:43
[QUOTE=psketch;713884]Hi Ralphy

Slightly odd one - I've installed the raspberry build on the current raspbian OS (which seems to include ALSA), and after a little messing around, everything seems to install and run fine. I can see the client from the web control or from iPeng, turn it on and off, play tracks to it etc.. Everything seems just fine. Except, no sound. No errors that I can see - just not a peep out of it. The weird thing is that the AV processor does see the stream changing - i.e. it sees a PCM 44.1kHz stream when I hit play, and it sees the stream stop if I power down squeezeslave through iPeng. Everything seems to work - just silently......

Any ideas, or ideas where I could look?

ta

pete S[/QUOT
I'd checked the alsa mixer volume and the player volume in LMS.

psketch
2012-08-25, 14:18
I'd checked the alsa mixer volume and the player volume in LMS.

Thanks Ralphy - it was the alsamixer - for some reason default was to mute - no idea why. Un-muted and all seems to be working nicely now :-). I know the LMS side very well, but I'm a Windows guys, so the Linux world is a little new to me - help much appreciated.

thanks

pete S

DareVanReed
2012-08-28, 08:18
hi ralphy,

i'm having exactly the same issue as described before, over multiple versions of everything. i compiled like you said, and i get the same MSG_NOSIGNAL on the debug of slimproto. what information can i provide about my build that might help you troubleshoot?


hi again, some progress to report. i still have the ACL888 card split into 4 stereo pairs, and was still experiencing the stalling issue until last week. i compiled again from the newest trunk, made no modifications to the makefile, copied the bin over, and restarted my slaves. that was 6 days ago, and the slaves have never stopped responding to play requests, even when a playlist ends and isn't stopped (which is what was happening previously). so, at the moment, i don't have amplifiers or speakers hooked up to the other stereo pairs, but i'm going to assume they're ok now too. to summarize, i now have a squeezeslave attached to my kitchen speakers which has been functioning correctly for nearly a week, at time of writing :D

i'm not sure what changed internally in the code between the two versions, but everything seems to be ok now for me, so i'm happy.

thanks again for the brilliant little daemon, ralphy.




root@tucker:~# squeezeslave -V
squeezeslave 1.2-369 Aug 22 2012 16:53:10
compile flags: linux portaudio:1834 debug signals interactive daemon renice
buffer sizes: decoder 2097152 output 2822400 bytes

Copyright 2004-2012 Richard Titmuss, Duane Paddock.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

benno
2012-08-30, 02:42
HI,

I'm having some problems with a squeezeslave installation, especially with slightly loosing sync and loosing output completely.
I would like to provide more details and also debug information. Where would you like to "open" this tickets and what details do you need?
(eg. Debug-levels)

I posted some installation details here: DIY - Squeeze house installation

ralphy
2012-08-31, 07:35
HI,

I'm having some problems with a squeezeslave installation, especially with slightly loosing sync and loosing output completely.
I would like to provide more details and also debug information. Where would you like to "open" this tickets and what details do you need?
(eg. Debug-levels)

I posted some installation details here: DIY - Squeeze house installation
Losing audio completing is almost always an issue with the ALSA driver. I noticed your dmix sample rate is not 44100 and squeezeslave only supports that rate. This may also be contributing to the loss of audio.

Squeezeslave does not officially support syncing with other players, there are too many variables in "PC" hardware. I've made a "best effort" in the code to facilitate it, but it either works or it doesn't.

benno
2012-08-31, 07:54
Losing audio completing is almost always an issue with the ALSA driver.
When the squeezeplaying hangs, I could still play stuff directly with "aplay" and the same ALSA-destination used in squeezeslave.


I noticed your dmix sample rate is not 44100 and squeezeslave only supports that rate. This may also be contributing to the loss of audio.

This is related to the used hardware, the USB-amps just accept this rate...

Is there a way to debug this?

Kvaks
2012-08-31, 09:08
I woke up this morning and the running Squeezeslave responded nicely when I pressed play, so this might have worked. Thanks!

(If it turns out it didn't work, I'll come back :-) )

I spoke too soon. It didn't work. Squeezeslave kept turning up dead after not being used for a couple of hours. I sort of fixed it by making a cronjob that every hour kills and restarts squeezeslave unless it's currently playing a song. This "solution" works well enough, so I haven't bothered looking into it any further.



#!/bin/bash

if [ ! -z "`echo -e '00%3A00%3A00%3A00%3A00%3A01 status 0 1 tags'"\nexit"|nc -w1 localhost 9090 |grep 'mode%3Aplay'`" ];then
echo "Squeezeslave is playing, not restarting it"
else
echo "Restarting squeezeslave"
killall squeezeslave
squeezeslave &
fi

ralphy
2012-09-01, 09:51
i'm not sure what changed internally in the code between the two versions, but everything seems to be ok now for me, so i'm happy.

thanks again for the brilliant little daemon, ralphy.


I've replaced the portaudio calls to Pa_AbortStream with Pa_StopStream for the STOP state in r366

ralphy
2012-09-01, 10:01
When the squeezeplaying hangs, I could still play stuff directly with "aplay" and the same ALSA-destination used in squeezeslave.

This is related to the used hardware, the USB-amps just accept this rate...

Is there a way to debug this?

aplay doesn't manipulate the ALSA driver like portaudio does, so this is not a fair test.

Have you modified squeezeslave to open the device at the 46875 sample rate? That's more than the 1% currently defined.

Have you built squeezeslave from the latest trunk on the hardware you're using? If not, I'd suggest starting there. Also search all the past squeezeslave release support threads as this has been discussed at length in the past.

benno
2012-09-02, 05:02
aplay doesn't manipulate the ALSA driver like portaudio does, so this is not a fair test.
Any other "test" which I could do, when it hangs? Never heard of portaudio before your post, so I don't know how to do it.


Have you modified squeezeslave to open the device at the 46875 sample rate? That's more than the 1% currently defined.
Searched the settings of squeezeslave but didn't found any option which seems to set the sample-rate, so, no I haven't modiefied it. How can I do this?


Have you built squeezeslave from the latest trunk on the hardware you're using? If not, I'd suggest starting there. Also search all the past squeezeslave release support threads as this has been discussed at length in the past.
Now yet, but since today Trunk-376 is in testing. report will follow...

Thx
Benno

ralphy
2012-09-03, 03:21
Any other "test" which I could do, when it hangs? Never heard of portaudio before your post, so I don't know how to do it.

Portaudio is a cross platform API for playing and recording audio.



Searched the settings of squeezeslave but didn't found any option which seems to set the sample-rate, so, no I haven't modiefied it. How can I do this?

It's not an easy task. squeezeslave is mostly hard coded to use 44100.


Now yet, but since today Trunk-376 is in testing. report will follow...

Thx
Benno

Great! It's best to build for your OS. See how it works and report back if it still hangs.

brising
2012-09-07, 21:06
anyone using squeezeslave on an NLSU2 (SlugOS) ?

I managed to compile squeezeslave and run it but I only hear white noise.
My usb sound card and OSS seems to work ok, I can play music using madplay without any problem.

ralphy
2012-09-08, 04:23
anyone using squeezeslave on an NLSU2 (SlugOS) ?

I managed to compile squeezeslave and run it but I only hear white noise.
My usb sound card and OSS seem o work ok, I can play music using madplay without any problem.

White noise is usually due to using the wrong byte ordering.

In your makefile if you have -D__BIG_ENDIAN__ on the CFLAGS line remove it and then run make -f makefile realclean before rebuilding.
If you don't have -D__BIG_ENDIAN__ then add it and run make realclean and then rebuild

brising
2012-09-08, 08:28
that was it!
Thank you Ralphy!

ralphy
2012-09-19, 05:04
There is an updated squeezeslave build for OpenIndiana OSS and SADA (http://squeezeslave.googlecode.com/files/squeezeslave-1.2-378-oi-intel.tar.gz) on googlecode.

Only the OSS version has been tested.

sbp
2012-09-19, 12:00
Hi Ralphy

Thank you very much for the Squeezeslave, it is working very well for me, and it even can be synchronised with My Duet and Radio. All my local music files are playing fine and most of the radio stations. But it seems like all my Danish Radio stations can't play via Squeezeslave.

Here is the link that I use for one of the stations: http://opml.radiotime.com/Tune.ashx?id=s24861&formats=aac,ogg,mp3,wmpro,wma,wmvoice,real&partnerId=16&serial=d41d8cd98f00b204e9800998ecf8427e It can be played fine in the Radio and the Duet, but not in Squeezeslave.

I have tried on two different computers with Squeezeslave installed (with a Debian linux and the other with TinyCore linux). Squeezeslave is version: squeezeslave-1.2-311

What can I do?

nekomatic
2012-09-20, 01:13
I've downloaded Squeezeslave for Mac from https://code.google.com/p/squeezeslave/downloads/detail?name=squeezeslave-1.2-376-osx.tar.gz , which says it's a universal binary, but when I try to run it on my G3 (Pismo) Powerbook it says 'incompatible CPU subtype'.

Is it possible to run Squeezeslave on a G3?

nekomatic
2012-09-20, 06:31
Thanks!

It's on 10.4.11.

ralphy
2012-09-22, 03:00
What version of OSX are you running?

There's no 64-bit powerpc support in the universal binary.

It's been on my TODO list for a while, you're the first to actually ask for it.

I'll see if I can build a ppc64 stand alone for you to try first.

Check back in a few days.

I was way off on this one.

The 32-bit ppc compiler in Xcode 3.2.6 builds for G4 powerpc macs and up by default.

The 'incompatible CPU subtype' error was most likely caused by this and has nothing to do with 64-bit.

However, I've gone ahead and built a ppc64 binary as well.

I've uploaded a tar file to google code (http://squeezeslave.googlecode.com/files/squeezeslave-ppc-1.2L-379.tar.gz) with two binaries; a 32-bit ppc with G3 support and an untested 64-bit ppc build.

Unfortunately, I have no way to test the new builds.

nekomatic, if you could try squeezeslave-ppc-1.2L-379 and report back that would be great.

Could someone with a G5 mac try the squeezeslave-ppc64-1.2L-379 build and report success/failure?

I'll spin a new universal binary, with all 4 architectures once I've had confirmation that both builds work.

benno
2012-09-22, 03:18
Great! It's best to build for your OS. See how it works and report back if it still hangs.

After some days without restarting the services it looks much better then before 376.
Now there should be no (planned) activities which involves restart, so more testing time lays infront of me.
I will give a response in a few weeks.

Btw
Thanks for this geat work, with squeezeslave we have more comfort and a higher quality of life in our house!

ralphy
2012-09-22, 03:23
Hi Ralphy

Thank you very much for the Squeezeslave, it is working very well for me, and it even can be synchronised with My Duet and Radio. All my local music files are playing fine and most of the radio stations. But it seems like all my Danish Radio stations can't play via Squeezeslave.

Here is the link that I use for one of the stations: http://opml.radiotime.com/Tune.ashx?id=s24861&formats=aac,ogg,mp3,wmpro,wma,wmvoice,real&partnerId=16&serial=d41d8cd98f00b204e9800998ecf8427e It can be played fine in the Radio and the Duet, but not in Squeezeslave.

I have tried on two different computers with Squeezeslave installed (with a Debian linux and the other with TinyCore linux). Squeezeslave is version: squeezeslave-1.2-311

What can I do?
Search these forums, it's been discussed many times in the past.

Clue: squeezeslave only supports 44100Hz sample rate.

nekomatic
2012-09-22, 05:16
I was way off on this one.

The 32-bit ppc compiler in Xcode 3.2.6 builds for G4 powerpc macs and up by default.

The 'incompatible CPU subtype' error was most likely caused by this and has nothing to do with 64-bit.

I was going to say I thought the G3 was 32-bit, but I figured you knew what you were talking about!

Anyway, your new build works fine on my G3 so far - thanks very much!

Now to see how well it synchronises with the player in iPeng...

jimzak
2012-09-22, 08:58
Could someone take a moment and explain to me what Squeezeslave does?

Please excuse the fact that I didn't read through the entire thread.

Thanks.

tcutting
2012-09-22, 10:16
Could someone take a moment and explain to me what Squeezeslave does?

Please excuse the fact that I didn't read through the entire thread.

Thanks.

The wiki is your friend: http://wiki.slimdevices.com/index.php/SqueezeSlave
Squeezeslave is a software squeezebox player which is very light - no real GUI. It's great for running in the background or for use on a "headless" machine. One drawback is it's limited to 44.1kHz playback, but if your are running an LMS server, you can configure appropriate transcoding.

jimzak
2012-09-22, 11:57
The wiki is your friend: http://wiki.slimdevices.com/index.php/SqueezeSlave
Squeezeslave is a software squeezebox player which is very light - no real GUI. It's great for running in the background or for use on a "headless" machine. One drawback is it's limited to 44.1kHz playback, but if your are running an LMS server, you can configure appropriate transcoding.

Do the other players support high res?

Mnyb
2012-09-22, 17:42
Do the other players support high res?

"yes" some version of squeezeplay do , but the logitech provided one is stuck at 48k , the vortexbox player does it .
But SS only does 44.1 not 32k or 48k which can be an issue with some web radio .

sbp
2012-09-27, 02:28
Search these forums, it's been discussed many times in the past.

Clue: squeezeslave only supports 44100Hz sample rate.

Sorry I have read about that, but I thought that something else was the problem (maybe some special danish letters etc) I didn't know how to actually check the sample rate of the stream.

But after your guidance I made a custom-convert.conf file which I placed in the plugin directory, and now the streams are playing fine. The content of the custom-convert.conf is:

# Capabilities
# I - can transcode from stdin
# F - can transcode from a named file
# R - can transcode from a remote URL (URL types unspecified)
#
# O - can seek to a byte offset in the source stream
# T - can seek to a start time offset
# U - can seek to start time offset and finish at end time offset
#
# D - can downsample
# B - can limit bitrate
#
# Substitution strings for variable capabilities
# %f - file path (local files)
# %F - full URL (remote streams)
#
# %o - stream start byte offset
#
# %S - stream samples start offset
# %s - stream seconds start offset
# %t - stream time (m:ss) start offset
# %U - stream samples end offset
# %u - stream seconds end offset
# %v - stream time (m:ss) end offset
# %w - stream seconds duration

#
# %b - limit bitrate: b/s
# %B - limit bitrate: kb/s
# %d - samplerate: samples/s
# %D - samplerate: ksamples/s

# For one player with this MAC address.
# mp3 flc * 00:00:00:00:00:01

# All squeezeslave players.
mp3 flc squeezeslave *
# FRT:{START=-ss %s}U:{DURATION=-endpos %w}
[mplayer.sh] -really-quiet -vc null -vo null $START$ $DURATION$ -cache 128 -af volume=0,resample=44100:0:1,channels=2 -ao pcm:file=/dev/fd/3 $FILE$ | [flac] -cs --totally-silent --compression-level-0 -

flc flc squeezeslave *
# FT:{START=--skip=%t}U:{END=--until=%v}
[flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t flac -C 0 -b 16 -r 44.1k -

jshoor
2012-10-24, 09:14
Hi,

I'd just like to confirm whether or not squeezeslave can be registered with mysqueezebox.com. I think that the answer is no, but perhaps someone has been able to make it work? I have tried changing the mac address a few different times, but that doesn't seem to make a difference.

The reason I ask is that I would like to control my squeezeslave instance through squeezeplay and play apps like pandora. I can currently play pandora on squeezeslave by controlling it through the LMS web gui; however, when I use squeezeplay and select MyApps to get to Pandora, I receive an error message that this device has already been registered with another account. My understanding is that this error message is a result of the fact that the squeezeslave instance is not registered with mysqueezebox.com, and I can confirm that this is true. At least squeezeslave does not show up when I list My Players on the mysqueezebox.com website.

I have tried to register the squeezeslave instance using squeezeplay through Test->SN Registration which seems to work. I receive a success confirmation message at least. However, the player still will not show up on the mysqueezebox.com website.

If its not possible to register the squeezeslave instance, does anyone have a suggestion for a work around? Perhaps a way to just add a Pandora menu item to the main menu of Squeezeplay. As I have said, I can play pandora on squeezeslave through LMS, and it does show up on the Now Playing screen of Squeezeplay. I just dont have a way to start it from squeezeplay or change the channels.

Thank in advance,
J

ralphy
2012-10-31, 03:50
There's a new armhf squeezeslave on googlecode (http://squeezeslave.googlecode.com/files/squeezeslave-1.2-381-armhf-lnx32.tar.gz) which was built on squeezeplug 5.0 and the latest updates to raspian as of yesterday.

jnss
2012-11-05, 09:25
Hi,

I am in a process of building a Squeezeslave ASIO by following the wiki.
I have managed to solve some problems, however I can't get through this one.
Here are the last few lines I get in Cygwin Terminal:

lib/libslimproto.a(slimproto.o):slimproto.c:(.text+0x7 c5): undefined reference to `_poll'
lib/libslimproto.a(slimproto.o):slimproto.c:(.text+0xa 55): undefined reference to `_poll'
collect2: ld returned 1 exit status
makefile.mingw32-asio-display:132: recipe for target `bin/squeezeslave-asio.exe' failed
make: *** [bin/squeezeslave-asio.exe] Error 1

Any help is much appreciated.

ralphy
2012-11-06, 05:37
Hi,

I am in a process of building a Squeezeslave ASIO by following the wiki.
I have managed to solve some problems, however I can't get through this one.
Here are the last few lines I get in Cygwin Terminal:

lib/libslimproto.a(slimproto.o):slimproto.c:(.text+0x7 c5): undefined reference to `_poll'
lib/libslimproto.a(slimproto.o):slimproto.c:(.text+0xa 55): undefined reference to `_poll'
collect2: ld returned 1 exit status
makefile.mingw32-asio-display:132: recipe for target `bin/squeezeslave-asio.exe' failed
make: *** [bin/squeezeslave-asio.exe] Error 1

Any help is much appreciated.
That makefile has been depreciated for a while now.

The current windows squeezeslave binary supports ASIO, Direct Sound, WASAPI and WDMKS.

However, I just successfully built an asio only version using the deprecated/makefile.mingw32-asio-display makefile.

I believe -mno-cygwin has been removed from the gcc4 binary recently. I'm still running a cygwin version listed on the wiki.

Try changing the default compiler to v3 using

/usr/bin/set-gcc-default-3.sh

and rebuilding everything.

make -f deprecated/makefile.mingw32-asio-display realclean
make -f deprecated/makefile.mingw32-asio-display

I can put the asio only binary on googlecode if you'd like.

jnss
2012-11-06, 09:49
I can put the asio only binary on googlecode if you'd like.


That would be great!
Thanks for your help.

ralphy
2012-11-07, 04:36
That would be great!
Thanks for your help.

http://squeezeslave.googlecode.com/files/squeezeslave-asio-1.2-381-win.zip

jnss
2012-11-07, 05:23
Great, Thanks very much!

jnss
2012-11-18, 13:32
Hi Ralphy,
Thank you for the Squeezeslave ASIO exe, works as it should, fantastic work!
I also have an iMac G4 PPC. I am experimenting with MintPPC and I thought to try Squeezeslave on it. There use to be a makefile.linux26ppc, is it still supported/available?
Do you think I could use it with a firewire interface through ffado? (Might need Jack for routing.?)
I am new to linux and I find it very interesting. I want to learn more.
Thanks

ralphy
2012-11-19, 04:38
It was moved to contrib/makefile.linux26-ppc-alsa-display.

jnss
2012-11-24, 14:24
Hi Ralphy,
I've managed to build the ppc version and it works fine. Thanks.
Is there any way to run squeezeslave thrugh jack server?
I would like to add Brutefir convolver to the signal path.

bidule
2012-11-25, 05:22
Hello,

Is there a way to switch of the cmd instance of Squeezeslave (windows xp) from the server web command ?

Best regards,

Jean

ralphy
2012-11-25, 05:52
Hi Ralphy,
I've managed to build the ppc version and it works fine. Thanks.
Is there any way to run squeezeslave thrugh jack server?
I would like to add Brutefir convolver to the signal path.

I've never used jack with squeezeslave, all the makefiles specifically disable jack support for portaudio.

You can remove --without-jack from the portaudio config line 49 in contrib/makefile.linux26-ppc-alsa-display.

You'll need to run 'make -f contrib/makefile.linux26-ppc-alsa-display realclean' first before rebuilding.

SBCC
2012-11-25, 14:22
Hi

I'm looking to find a way to change the name of the sound device that is being shown in squeezeslave -L. I've tried in udev <ATTR{id}="blah">, <NAME="blah"> with no luck.
I'm looking at having the ability to use multiple sound cards of the same type in LinuxMCE.
I looked at the code and I see that it is using "GetAudioDevices()" but I cannot find the code for that to see what is being looked at there.

Any advice would be greatly appreciated.

Thanks

ralphy
2012-11-26, 05:27
Hi

I'm looking to find a way to change the name of the sound device that is being shown in squeezeslave -L. I've tried in udev <ATTR{id}="blah">, <NAME="blah"> with no luck.
I'm looking at having the ability to use multiple sound cards of the same type in LinuxMCE.
I looked at the code and I see that it is using "GetAudioDevices()" but I cannot find the code for that to see what is being looked at there.

Any advice would be greatly appreciated.

Thanks
You need to use the -o option and the number before the colon (:) in -L to use multiple cards of the same type.

GetAudioDevices is in src/slimaudio/slimaudio_output.c

djfake
2012-12-10, 08:13
I can portforward via ssh and get mpc to run LMS, but I'd love to use something like Squeezeslave to connect remotely to my LMS when I'm at work. Tried port-forwarding 3483/9000, but no luck.


Here's the answer:

./squeezeslave 127.0.0.1 &

wow, that was easy! Love the interface!

djfake
2012-12-12, 11:36
Here's complete instructions for how I've connected my LMS at home to the Squeezeslave on my RPi at work.

http://my.opera.com/djfake/blog/2012/12/12/squeezeslave-and-the-raspberry-pi

jnss
2012-12-12, 12:56
I thought to share my solution using squeezeslave with Brutefir.
I have rebuilt squeezeslave following the instructions some posts before (deleting: "-- without jack").
No luck, however at the end I find: .asoundrc
Created the file .asoundrc with the following
https://github.com/choongng/Music-Box/blob/master/asoundrc
and placed it in /home/myusername/
The rest was a metter of configuring Brutefir in and outputs.
I also used Patchage to check the routing.

More on .asoundrc:
http://www.alsa-project.org/main/index.php/Asoundrc

I am sure there is another solution, as I am completly new to Linux.
Keep up the good work Ralphy!
Do you plan to add higher sample rate and ALAC support? Would be able to create an even better "black box" music player with room correction!

Kvaks
2012-12-16, 07:52
I have a problem with squeezeslave (I believe) failing to connect to any audio device.

The squeezeslave in question is self-compiled i64-alsa-display version, but I have also tried pre-compiled squeezeslaves of versions 1.2 and 1.1, all of which have the same problem.

I run a pretty vanilla Kubuntu with vanilla PulseAudio on top of vanilla ALSA. squeezeslave -L takes a long while to output this list:



0: (ALSA) HDA Intel: VT1828S Analog (hw:0,0) (11/46)
1: (ALSA) HDA Intel: VT1828S Digital (hw:0,1) (11/46)
2: (ALSA) HDA Intel: VT1828S HP (hw:0,2) (11/46)
3: (ALSA) sysdefault (42/42)
4: (ALSA) front (11/46)
5: (ALSA) surround40 (11/46)
6: (ALSA) surround41 (11/46)
7: (ALSA) surround50 (11/46)
8: (ALSA) surround51 (11/46)
9: (ALSA) surround71 (11/46)
10: (ALSA) iec958 (11/46)
11: (ALSA) spdif (11/46)
12: (ALSA) pulse (11/46)
13: (ALSA) dmix (42/42)
*14: (ALSA) default (11/46)


In addition to the unspecified default, I have tried to connect to the outputs 0, 3, 12 and 13, and they all display the same behavior: Squeezeslave pauses for about 20 seconds (I presume it's trying to connect to an audio device) and then exits.

(squeezeslave -I correctly identifies the server, and other Squeezeboxes and software players connect to the server, so I assume that isn't the problem)

Edit: I still cannot figure out why squeezeslave won't connect to any of the ALSA devices, even the PulseAudio virtual ALSA ones. I was able to use the windows executable squeezeslave with wine, but that's a solution I feel is unnecessarily round-about...)

ralphy
2012-12-24, 05:25
In addition to the unspecified default, I have tried to connect to the outputs 0, 3, 12 and 13, and they all display the same behavior: Squeezeslave pauses for about 20 seconds (I presume it's trying to connect to an audio device) and then exits.

(squeezeslave -I correctly identifies the server, and other Squeezeboxes and software players connect to the server, so I assume that isn't the problem)

Edit: I still cannot figure out why squeezeslave won't connect to any of the ALSA devices, even the PulseAudio virtual ALSA ones. I was able to use the windows executable squeezeslave with wine, but that's a solution I feel is unnecessarily round-about...)

Are you using the latest code from trunk? If not, please do.

Are there any errors when squeezeslave exits?

Compile and run the alsacap program, I've attached.

mv alsacap.c.txt alsacap.c
gcc -o alsacap -lasound alsacap.c
./alsacap

Attach the output.

Octootje
2013-02-14, 14:47
On OSX I am trying to avoid the -o option because sometimes I have devices plugged in, and sometimes not. Of course my USB soundcard is always present.

However the -n option doesn't work. It defaults to the built-in output.

$ ./squeezeslave -L "Generic USB Audio Device"
Output devices:
* 2: (Core Audio) Built-in Output (3/13)
3: (Core Audio) HDMI (1/3)
4: (Core Audio) Generic USB Audio Device (2/13)

$ ./squeezeslave -h
squeezeslave 1.3-390 Dec 28 2012 15:32:43
compile flags: osx portaudio:1885 debug signals interactive daemon renice zones
buffer sizes: decoder 2097152 output 2822400 bytes

I tried to specify the device name in several ways, including all lowercase and also "Generic\ USB\ Audio\ Device" to no avail. It still doesn't match.
It doesn't look like it supports substrings either.
Any suggestions?

Octootje
2013-02-17, 13:16
I believe Squeezelite can do this without problems:

$ ./squeezelite-osx -o "Generic USB Audio Device" myNAS

Having just discovered Squeezelite I'm interested in the difference between the two, the past and the future :)

djfake
2013-02-26, 07:25
I'm having issues with Squeezeslave on the Raspberry Pi. Occasionally, Squeezeslave freezes up completely, forcing me to pull the plug on the RPi. Seems to be that the keyboard looses connection with the RPi. Any suggestions?

bitbanger
2013-03-07, 14:06
@Ralphy

I've been tinkering a bit with squeezeslave on the raspberry Pi, and found it useful to extend the squeezeslave command line options to allow the lcdd hostname to be passed in on the command line. Currently, the lcdproc daemon is hard-wired to be found on localhost. I have added it as -E command line switch. This allows you to run an LCD with lcdproc on a different host than where squeezeslave is actually running. Since the raspberry pi makes a dandy remote lcdproc server, I thought it would be fun to put one on the coffee table, and run squeezeslave on another host nearer to the stereo equipment. It works really well!

I'm a bit of a hack in C land, but I believe it might be worthy to be committed to the main line with review. I've posted a patch file on dropbox but will have to post again due to this forum's link posting rules.


It's based on the currently available revision 394

Comments/ Questions?

bitbanger
2013-03-07, 14:07
Here's the url to the patch file I just mentioned in my previous post regarding the patch to squeezeslave to allow lcdproc to be on a different host than localhost.

https://www.dropbox.com/s/1astho2hhykdrlb/ss394_lcdd_remotehost.patch

For those wanting to just see the source files I changed, here is a zip that contains just the source. If these are dropped on top of the current revision, you can test my changes.

https://www.dropbox.com/s/pc6rgczmayw7jiu/squeezeslave_remote_lcdd.rar

ralphy
2013-03-08, 05:11
Here's the url to the patch file I just mentioned in my previous post regarding the patch to squeezeslave to allow lcdproc to be on a different host than localhost.

https://www.dropbox.com/s/1astho2hhykdrlb/ss394_lcdd_remotehost.patch

For those wanting to just see the source files I changed, here is a zip that contains just the source. If these are dropped on top of the current revision, you can test my changes.

https://www.dropbox.com/s/pc6rgczmayw7jiu/squeezeslave_remote_lcdd.rar

Thank you for the enhancement.

I've applied as r395 with a couple edits.

Moved INET_FQDNSTRLEN definition to squeezeslave.h so it wasn't defined twice and wrapped the help messages to keep them less than 80 characters wide.

Could you confirm that r395 works as you intended as I can't test the change myself.

bitbanger
2013-03-08, 12:14
Thank you for the enhancement.

I've applied as r395 with a couple edits.

Moved INET_FQDNSTRLEN definition to squeezeslave.h so it wasn't defined twice and wrapped the help messages to keep them less than 80 characters wide.

Could you confirm that r395 works as you intended as I can't test the change myself.

No problem Ralphy. I've successfully compiled r395 and it executes correctly with the new optional command line switch, however I'm still at the office, and can't actually see that it's functioning until later on this evening :) I'll need to try it in both default localhost and remotehost modes and report back.

bitbanger

bitbanger
2013-03-09, 08:44
Could you confirm that r395 works as you intended as I can't test the change myself.

r395 working as expected with latest patch. Tested on i64 and armel, with and without -E switch.

sle118
2013-03-13, 13:28
Ralphy,

thanks for keeping this tool alive!

I am using a sub $50 SOC based computer (RK3066 armhf) running Picuntu to expand my set of logitech hardware zones and to have a server that I can bring around with me on the road and at parties.

There is a server running on the little guy along with Squeezeslave.

I noticed that there is one major difference between Squeezeslave and one android implementation of a Squeezebox player (Squeeze Player). The Android player is seen from other servers, and it is also possible to "grab" it so it attaches itself to that new server.

For example, player is connected to server A
Using browser, connect to Server B with port 9000
Expand list of players
Server A and Server B are listed, with player attached to A
Selecting the player has the web page ask if the player should now be controlled by Server B

I tried using command line switch -I, and both servers responded
I tried using command line switch -F, but the local server instance is the first to answer and the player is not seen by server B

Is there a command line switch that would allow a similar functionality on Squeezeslave?

What is this called?

ralphy
2013-03-14, 03:45
Ralphy,

thanks for keeping this tool alive!

I am using a sub $50 SOC based computer (RK3066 armhf) running Picuntu to expand my set of logitech hardware zones and to have a server that I can bring around with me on the road and at parties.

There is a server running on the little guy along with Squeezeslave.

I noticed that there is one major difference between Squeezeslave and one android implementation of a Squeezebox player (Squeeze Player). The Android player is seen from other servers, and it is also possible to "grab" it so it attaches itself to that new server.

For example, player is connected to server A
Using browser, connect to Server B with port 9000
Expand list of players
Server A and Server B are listed, with player attached to A
Selecting the player has the web page ask if the player should now be controlled by Server B

I tried using command line switch -I, and both servers responded
I tried using command line switch -F, but the local server instance is the first to answer and the player is not seen by server B

Is there a command line switch that would allow a similar functionality on Squeezeslave?

What is this called?

The switch server mechanism is not supported by squeezeslave and I have no plans for further enhancements to the code. However, I am willing to apply enhancements provided by others.

There is a newer software player called squeezelite (https://code.google.com/p/squeezelite/downloads/list) which supports changing servers.

sle118
2013-03-14, 04:47
There is a newer software player called squeezelite (https://code.google.com/p/squeezelite/downloads/list) which supports changing servers.

Thank you for pointing it out. I'll definetly have a look!

belrik
2013-03-26, 12:53
Any chance of a newer OpenWRT Attitude Adjustment build? The 1.2 build is failing against the OpenWRT trunk on my ar71xx router.

Many thanks

Peng
2013-04-04, 09:40
Hi Ralphy,

Do you have anyone interested in playing high resolution (88.2, 96, 172.4, 192 kHz) FLAC files with Squeezeslave? (I for one would like that.) [If you'd like some help with that -- and are willing to integrate code changes into your sources, I could try to help out.]

Cheers!
peng

ralphy
2013-04-04, 10:50
Hi Ralphy,

Do you have anyone interested in playing high resolution (88.2, 96, 172.4, 192 kHz) FLAC files with Squeezeslave? (I for one would like that.) [If you'd like some help with that -- and are willing to integrate code changes into your sources, I could try to help out.]

Cheers!
peng

I'm no longer adding features to squeezeslave.

Try squeezelite (https://code.google.com/p/squeezelite/downloads/list), it can play hires files.

Bob-El
2013-10-13, 08:03
I'm trying to install SqueezeSlave on a computer running Mint 15 with a kernel version 3.8.0-19. I followed the directions in wiki.slimdevices.com/index.php/SqueezeSlave and finished with the "make" commands under "A typical Linux build". These instructions are obviously dated since the current SqueezeSlave version is squeezeslave-1.3-393 so, in the svn command, I substituted 1.2-311 with 1.3-393.

After running the two "make" commands, I didn't see any errors so I assumed everything went as expected. In the text following these commands, the author says, "Upon successfull completion, you'll find a file in the /bin directory starting with squeezeslave." So I checked and there is no such a file in the /bin directory. I did a search and the only "squeezeslave" references I could find are in my working directory in my home folder. When I attempt to run squeezeslave in a terminal session, I get "command not found" for a response. Obviously, it did not install.

I'm wondering if the problem is in the "linux26" part of the command since my kernel version is a whole lot newer. Should I substitute "linux38" for it? If not, what do I do to install SqueezeSlave?

ralphy
2013-10-14, 04:42
I'm trying to install SqueezeSlave on a computer running Mint 15 with a kernel version 3.8.0-19. I followed the directions in wiki.slimdevices.com/index.php/SqueezeSlave and finished with the "make" commands under "A typical Linux build". These instructions are obviously dated since the current SqueezeSlave version is squeezeslave-1.3-393 so, in the svn command, I substituted 1.2-311 with 1.3-393.

After running the two "make" commands, I didn't see any errors so I assumed everything went as expected. In the text following these commands, the author says, "Upon successfull completion, you'll find a file in the /bin directory starting with squeezeslave." So I checked and there is no such a file in the /bin directory. I did a search and the only "squeezeslave" references I could find are in my working directory in my home folder. When I attempt to run squeezeslave in a terminal session, I get "command not found" for a response. Obviously, it did not install.

I'm wondering if the problem is in the "linux26" part of the command since my kernel version is a whole lot newer. Should I substitute "linux38" for it? If not, what do I do to install SqueezeSlave?

The wiki states bin/ not /bin

If you cd bin from the directory where you ran the 2 make commands and run ls you should see a file called squeezeslave. That's the only file you need and it can be copied to any directory.

There should be no need to substitute linux38 for linux26 the only reason for the distinction between linux24 and linux26 is how signals are handled. linux38 handles signals the same way as linux26.

Squeezeslave is no longer being maintained. I'd suggest looking at it's replacement squeezelite (http://forums.slimdevices.com/showthread.php?97046-Announce-Squeezelite-a-small-headless-squeezeplay-emulator-for-linux-(alsa-only)).

Hydro
2014-03-24, 13:38
Hi

I install two squeezeslave instance on my pc (windows 8.1) and i have problem with some music (actually two from LMFAO).

When i play this music on squeezeplay, everything work well, when i play them on squeezeslave, music is very slow. I don't understand why this music, others work ok.

tcutting
2014-03-25, 13:58
Hi

I install two squeezeslave instance on my pc (windows 8.1) and i have problem with some music (actually two from LMFAO).

When i play this music on squeezeplay, everything work well, when i play them on squeezeslave, music is very slow. I don't understand why this music, others work ok.

Check the sample rate of the music you have issue with. Squeezeslave only supports 44.1kHz. You can setup LMS to down sample (depending on your server hardware). I switched to squeezelite which supports multiple sample rates.

Sent from my DROID RAZR using Tapatalk

Mathewww
2015-01-16, 15:21
Dear,
I have installed squeezeslave on a Raspberry using Squeezeplug.
It works great !
Second step: I have installed a LCD, LCDproc and I'm using the command line option -l -D -w20.
Also working but the accented characters appear blank on my display and on the console (through SSH).
Is there something to do to correct this please ?

Best regards

adapto
2015-09-23, 16:41
Hi *,
I've installed Squeezeslave on a Raspberry Pi. My LMS server is running on my linux server which also runs my openvpn server. After setting up my openvpn connection between my RPI and the server I cannot discover the LMS. Setting the SSMAC to the tap MAC doesn't help. Has someone an idea how to fix this? Thanks.

ralphy
2017-04-22, 07:11
I've released a squeezeslave update 1.4-425 for OSX which is available on my sourceforge lmsclient builds site.
Click the squeezebox client builds link in my signature below.

1.4-425 fixes the following warning on MacOS 10.11+ intel 64-bit only. The universal binary includes, ppc, ppc64 and intel as well but without the fix.


2017-04-21 4:25:43.754 PM squeezeslave-1.4-421[4218]: 16:25:43.753 WARNING: 140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.

If this change doesn't work for you start using squeezelite.