Discussion:
[slim] Announce: New Squeezeslave 0.9 Release available on sourceforge
ralphy
2009-06-01 11:28:55 UTC
Permalink
Squeezeslave 0.9 is now available at

https://sourceforge.net/project/showfiles.php?group_id=105169&package_id=176494

What's new in Squeezeslave 0.9

Replay gain now supported with Squeezecenter v7.4 r26720 or later.
Positive dB replay gain values are ignored to prevent clipping. Patches
are included for squeezecenter 7.3.3 and 7.2.2 running on linux/solaris.
Enabling replay gain for a squeezeslave player without the appropriate
patch applied to squeezecenter is not recommended or supported.

Slimp3 style display and keyboard support for linux with Squeezecenter
v7.4 r26720 or later. Support for External LCD displays and IR remotes
are provided using LCDd and lirc respectively (linux only). A .lircrc
config file for the slimdevices remote is included. See --help for
details. Patches are included for squeezecenter 7.3.3 and 7.2.2 running
on linux/solaris.

Thanks to Adrian Smith for getting the display and replay gain changes
into Squeezecenter 7.4.

Stream position reporting no longer resets to zero after a
pause/unpause.

--oldplayer/-O option has been removed as the latest versions of
Squeezecenter's softsqueeze playertype fails to advance to the next
track in the playlist. The --playerid/-e option can be used to force
squeezeslave to connect using the softsqueeze player type if needed.

--debuglog/-Y option added to send all message to the given filename
instead of the current display. Useful when running squeezeslave in
interactive (display) mode to keep any error messages from corrupting
the display output.

Source code has been moved to Google Code. It will no longer be
available as a tarball.

You can browse the source 'here'
(http://code.google.com/p/squeezeslave/source/browse/#svn/squeezeslave/trunk/squeezeslave)
or download it with subversion.

svn checkout
http://squeezeslave.googlecode.com/svn/squeezeslave/trunk/squeezeslave

Known Bugs

Playing an ogg or mp3 file with a duration of less than 30 seconds as
the first track after starting squeezeslave prevents switching to the
next track in the playlist.

Changing playlist after pausing causes the playback of a short piece of
the previously playing song at pause before the new playlist begins.

Pandora doesn't work using the default hardware device/MAC address
00:00:00:00:00:01. You need to start squeezeslave using the
-m00:04:20:00:00:01 command line option to set the MAC address to the
slimdevices hardware range. The last three octets (00:00:01) may need to
be increased depending on the range Pandora is checking for. Pandora is
not available in my area to test the minimum range required.


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
f948lan
2009-07-08 11:22:17 UTC
Permalink
Firstly, thanks for the continued efforts in maintaining squeezeslave.

I've just upgraded to 0.9 and can no longer play FLAC files. MP3 is
fine. My current work-around is to enforce bitrate limiting to force an
MP3 transcode on the server, but that rather defeats the object of
having FLAC files in the first place!

The windows binary download works fine. But on Linux (gentoo) it seg
faults. I'm running linux26-alsa. I've tried with and without the
display support, no difference.

I've also tried a new MAC address (and using the same mac that worked
on the windows version - just in case!).

The debug output is:
>
> shed jive # ~/squeeze/squeezeslave/squeezeslave/bin/squeezeslave-alsa
> -m 00:00:00:10:10:20 -d slimaudio_output -d slimaudio_output_v -d
> slimaudio_decoder -d slimaudio_decoder_v shed
> slimaudio_output_init: PortAudio initialized
> decoder_thread: STREAM_STOPPED first_time:1
> paDeviceInfo->maxOutputChannels 2
> paDeviceInfo->defaultHighOutputLatency 0
> paDeviceInfo->defaultLowhOutputLatency 0
> paDeviceInfo->defaultSampleRate 44100.000000
> Mixer: /dev/mixer1
> Mixer: /dev/mixer
> Mixer explicitly disabled.
> Px_mixer = (nil)
> output_thread STOPPED: 0
> output_thread PAUSED: 0
> slimaudio_output_disconnect: state=7
> audg cmd: left_gain:3584 right_gain:3584 volume:-0.054688
> old_left_gain:46 old_right_gain:46 vol_adjust:0.054688
> replay_gain:-1.000000 start_replay_gain:1.000000 preamp:255
> digital_volume_control:1
> slimaudio_decoder_connect
> slimaudio_output_connect: state=7
> audg cmd: left_gain:3584 right_gain:3584 volume:0.054688
> old_left_gain:46 old_right_gain:46 vol_adjust:0.054688
> replay_gain:1.000000 start_replay_gain:1.000000 preamp:255
> digital_volume_control:1
> audg cmd: left_gain:3584 right_gain:3584 volume:0.054688
> old_left_gain:46 old_right_gain:46 vol_adjust:0.054688
> replay_gain:1.000000 start_replay_gain:1.000000 preamp:255
> digital_volume_control:1
> output_thread BUFFERING: 0
> decoder_thread: STREAM_PLAYING type f
> slimaudio_decoder_flac_process: start
> flac_read_callback state=3
> flac channels: 2
> flac sample_rate: 44100
> flac bits_per_sample: 16
> Segmentation fault
>

Adding some extra debug lines myself, it appears to crash on the
following line of slimaudio_decoder_flac.c:

Code:
--------------------

FLAC__bool b = FLAC__stream_decoder_process_until_end_of_stream(audio->flac_decoder);

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


I'm very much outside my knowledge in FLAC API's, and google is being
less than helpful!

I'm thinking its an incompatibility with my libFLAC, but v1.2.1 seems
normal?

Any suggestions?


--
f948lan
------------------------------------------------------------------------
f948lan's Profile: http://forums.slimdevices.com/member.php?userid=3961
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
f948lan
2009-07-08 11:50:47 UTC
Permalink
My point about library incompatibility got me thinking. If I link
against the library that ships with squeezeplay, instead of my system
library, it works!

The include files are identical, but that must be something about my
system library it doesn't like.


--
f948lan
------------------------------------------------------------------------
f948lan's Profile: http://forums.slimdevices.com/member.php?userid=3961
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
bhaagensen
2009-08-24 15:20:27 UTC
Permalink
Is there any reason that the display-feature is not included in the
amd64-version?


--
bhaagensen
------------------------------------------------------------------------
bhaagensen's Profile: http://forums.slimdevices.com/member.php?userid=7418
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-08-25 11:08:56 UTC
Permalink
No, other than I never compiled an interactive amd 64bit version.

The latest source has a makefile called
makefile.linux26-i64-alsa-display to build an display enabled SS.

You'll need to have ncurses and lirc_client libraries installed for a
successful build.

Please use -r80 or older and not the current revision as I've run into
some problems with the latest changes.


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-09-04 11:35:13 UTC
Permalink
I've backed out the problematic changes committed at r81. See 'r82'
(http://code.google.com/p/squeezeslave/source/detail?r=82) details for
more info.


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
bhaagensen
2009-09-04 15:46:15 UTC
Permalink
Sorry about not getting back to this. I managed to compile r30, and it
works fine. There was however alot of include related issues. Basically
I had to install dev-packages for ogg, vorbis, and flac, and then
manually move some library files. Don't know whether this is a real
issue oh not. It was a quick and dirty workaround for me.


--
bhaagensen
------------------------------------------------------------------------
bhaagensen's Profile: http://forums.slimdevices.com/member.php?userid=7418
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-09-05 08:57:25 UTC
Permalink
Glad to hear you got it working.

I've recently refactored the makefiles to build all required support
libraries when building squeezeslave. It has solved many issues people
had been having with builds but now on slow systems it takes much longer
to compile. For this reason, I've left the original i586 makefiles
which expect the system to already have the dev packages installed.


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
bhaagensen
2009-09-05 09:04:39 UTC
Permalink
ralphy;455307 Wrote:
> I've left the original i586 makefiles which expect the system to already
> have the dev packages installed.

I did use the i64-alsa-display-version...


Another things. A year ago or so, I was able to get multiplexing
working by using the alsa-oss wrapper. In the meantime Ubuntu has
changed to pulseaudio and squeezeslave has also undergone big changes.
The net result is that even with padsp, which is the pulseaudio wrapper
equivalent of alsa-oss, I can no longer get multiplexing working. Do you
have any hints on this?


--
bhaagensen
------------------------------------------------------------------------
bhaagensen's Profile: http://forums.slimdevices.com/member.php?userid=7418
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
jay_cee_in_da_house
2009-10-14 03:33:04 UTC
Permalink
bhaagensen;455313 Wrote:
> I did use the i64-alsa-display-version...
>
>
> Another things. A year ago or so, I was able to get multiplexing
> working by using the alsa-oss wrapper. In the meantime Ubuntu has
> changed to pulseaudio and squeezeslave has also undergone big changes.
> The net result is that even with padsp, which is the pulseaudio wrapper
> equivalent of alsa-oss, I can no longer get multiplexing working. Do you
> have any hints on this?

Same issue here. I gave up on multiplexing.

Gotta love Linux:
1999: I'm constantly bitching about the state of audio.
2009: I'm constantly bitching about the state of audio.


--
jay_cee_in_da_house
------------------------------------------------------------------------
jay_cee_in_da_house's Profile: http://forums.slimdevices.com/member.php?userid=1830
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-10-20 11:31:18 UTC
Permalink
Have you tried building squeezeslave from source? Read this 'post'
(http://forums.slimdevices.com/showpost.php?p=469040&postcount=7) for
more info.


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
Gummy35
2009-10-23 12:50:00 UTC
Permalink
Hello guys,

I managed to compile squeezeslave on Freebsd 7.2R (there was some mutex
lock/unlock issues: apparently, a mutex can be unlocked only by the
thread which locked it).

You need to install some packages however :
libogg
libvorbis
libmad
flac
portaudio2

Apply the patch, compile using :

make -f makefile.freebsd

Works for me, hope it helps :)

Gummy


+-------------------------------------------------------------------+
|Filename: freebsd.patch |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=8519|
+-------------------------------------------------------------------+

--
Gummy35
------------------------------------------------------------------------
Gummy35's Profile: http://forums.slimdevices.com/member.php?userid=33770
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
Line
2009-10-13 19:24:15 UTC
Permalink
Hey Ralphy, I use squeezeslave everyday on linux and win32, it is
indespensible for me.

You commented earlier in another post that ASIO was coming to win32
which is excellent. Does libportaudio also have support for WASAPI? That
would be the ultimate in bit-matched playback for windows correct?


--
Line
------------------------------------------------------------------------
Line's Profile: http://forums.slimdevices.com/member.php?userid=23800
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
dhull
2009-10-20 17:04:32 UTC
Permalink
Windows, works fine connected to server. When sync'd to an SB player,
the connection to mysqueezebox.com fails. When I log in to
mysqueezebox.com, I only see the SB player. I'm using the latest version
of squeezeslave.


--
dhull
------------------------------------------------------------------------
dhull's Profile: http://forums.slimdevices.com/member.php?userid=19653
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-10-21 16:31:22 UTC
Permalink
dhull;475007 Wrote:
> Windows, works fine connected to server. When sync'd to an SB player,
> the connection to mysqueezebox.com fails. When I log in to
> mysqueezebox.com, I only see the SB player. I'm using the latest version
> of squeezeslave.

Sorry, until the 7.4 new release issues subside, I'm not allocating any
spare time to issues relating to the new mysqueezebox service. Did
squeezeslave show up as a player on the old squeezenetwork.com?


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
dhull
2009-10-22 17:13:13 UTC
Permalink
ralphy;475466 Wrote:
> Sorry, until the 7.4 new release issues subside, I'm not allocating any
> spare time to issues relating to the new mysqueezebox service. Did
> squeezeslave show up as a player on the old squeezenetwork.com?

I had it working with the old service, yes. I find that recent
softsqueeze releases still work. Should having squeezeslave masquerade
as a softsqueeze player work? My first try failed.


--
dhull
------------------------------------------------------------------------
dhull's Profile: http://forums.slimdevices.com/member.php?userid=19653
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-10-23 11:13:47 UTC
Permalink
So softsqueeze actually doesn't work either according to your later
'post'
(http://forums.slimdevices.com/showpost.php?p=476276&postcount=131)


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
dhull
2009-10-23 17:27:34 UTC
Permalink
ralphy;476375 Wrote:
> So softsqueeze actually doesn't work either according to your later
> 'post'
> (http://forums.slimdevices.com/showpost.php?p=476276&postcount=131)?

I was able to get both softsqueeze and squeezeslave to work, with some
limitations with mysqueezebox.com. I only care about this because I use
Sirius and mysqueezebox.com is involved in the connection process.

I logged on to mysqueezebox.com and then created a softsqueeze player
there by using the connection item in it's GUI. Softsqueeze freezes at
this point.

To use squeezeslave I started it up with the same MAC address that
mysqueezebox had seen from softsqueeze. I also told it to report a
playerid of "softsqueeze". Connecting to Sirius proceeds normally and
music plays as long as I don't attempt to sync with my hardware player.


--
dhull
------------------------------------------------------------------------
dhull's Profile: http://forums.slimdevices.com/member.php?userid=19653
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
MrSinatra
2009-10-23 20:25:54 UTC
Permalink
if this is OT my apologies, but can someone briefly explain what the
point of softsqueeze and squeezeslave is, and why you'd want to use
either if squeezeplay is available?

(is it b/c squeezeplay seems to be mac/win only?)


--
MrSinatra

www.lion-radio.org
using:
sb2 & sbc (my home) / sbr (parent's home) - sbs 7.4.1b - win xp pro sp3
ie8 - 3.2ghz / 2gig ram - 1tb wd usb2 raid1 - d-link dir-655 - 35k mp3
------------------------------------------------------------------------
MrSinatra's Profile: http://forums.slimdevices.com/member.php?userid=2336
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
dhull
2009-10-23 21:07:03 UTC
Permalink
MrSinatra;476627 Wrote:
> if this is OT my apologies, but can someone briefly explain what the
> point of softsqueeze and squeezeslave is, and why you'd want to use
> either if squeezeplay is available?
>
> (is it b/c squeezeplay seems to be mac/win only?)

In my case I am on windows. I just want a reliable software player to
run on the server machine in my office. I don't care at all about GUI.
Headless operation is ok with me, and frankly I find the GUI on
squeezeplay to be bizzare and primitive. It seems to be better suited to
a hand held device than a computer screen. I haven't seen the latest
version since server 7.4, so maybe its better now.

Also, Squeezeplay has been in "beta" release for a long time with gobs
of bugs that make it unusable for me. I looked around for it in 7.4 and
could not even find it, so the company isn't pushing it very hard.

I've found squeezeslave to be the most reliable of the three software
players mentioned. I'm very glad that there are developers willing to
keep it alive. Softsqueeze is a close second for me, but until recently
it seemed to be dying from lack of attention.


--
dhull
------------------------------------------------------------------------
dhull's Profile: http://forums.slimdevices.com/member.php?userid=19653
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
bernt
2009-10-23 21:13:13 UTC
Permalink
MrSinatra;476627 Wrote:
> if this is OT my apologies, but can someone briefly explain what the
> point of softsqueeze and squeezeslave is, and why you'd want to use
> either if squeezeplay is available?
>
> (is it b/c squeezeplay seems to be mac/win only?)

I use squeezeslave on my headless SC server and have powered 2.1
speakers connected to it.

That way I have an extra player. I can control it with iPeng like any
other player.

At work I use Moose and Squeezeslave because the combination of a nice
gui and a good player.


--
bernt

'LastFM' (http://www.last.fm/user/ottovonkopp/)
SB3, SB BOOM - SC 7.3.4 - Ubuntu Server 9.04
iPod Touch\iPeng
------------------------------------------------------------------------
bernt's Profile: http://forums.slimdevices.com/member.php?userid=1342
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-11-13 12:46:53 UTC
Permalink
MrSinatra;476627 Wrote:
> if this is OT my apologies, but can someone briefly explain what the
> point of softsqueeze and squeezeslave is, and why you'd want to use
> either if squeezeplay is available?
>
> (is it b/c squeezeplay seems to be mac/win only?)

I use squeezeslave with the display option on a Pentium MMX 133MHz
laptop with 40MB of RAM, running linux and a wireless B PCMCIA card. I
just grab the laptop on my way to the garage or the deck and use the
keyboard/screen to pick what to play. It even works with a remote,
except the sensor is in the back of the laptop, so it's hard to see the
screen while pointing the IR remote at the back.


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
paulrr
2009-11-14 18:36:50 UTC
Permalink
Hi, and thanks to Ralphy for a making a really nice bit of software.

I'm having a problem with playback of Ogg Vorbis files. They work fine
until you try to skip to a new position in the track. This causes the
player to stop playing, and it only starts again when you skip to a new
track. It reports the following error:

Error decoding vorbis stream
Error in ov_open_callbacks -132

Being a bit of a newbie I don't know if this comes under 'problems with
the precompiled binaries for linux'. If it does, I eagerly await the
instructions for compiling it yourself.


--
paulrr
------------------------------------------------------------------------
paulrr's Profile: http://forums.slimdevices.com/member.php?userid=34295
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-11-15 10:57:40 UTC
Permalink
I don't think your error would be resolved by compiling squeezeslave
natively, it indicates that the vorbis decoder does not recognize the
stream as vorbis. The vorbis decoder is probably the least tested part
of SS, at least by me. Looking at the decoder source, the behaviour
you're seeing is to be expected. If any error occurs while decoding
ogg/vorbis the decoder stops and you need to manually advance to the
next track as a bug in the buffering code prevents SS from advancing
automatically. I hope to have this fixed for version 1.0.

Please provide the version and revision of Squeezebox Server you're
running as well as the ouput from squeezeslave -V


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
paulrr
2009-11-15 22:20:16 UTC
Permalink
Thanks for the response and for taking an interest. The info you asked
for is below. I should re-iterate, the vorbis decoder works perfectly
when playing files from the beginning, but always fails when jumping to
a point in the middle of a track. Perhaps by feeding it a file part-way
through, it misses some vital information from the beginning?

Squeezebox server version: 7.4.1 - r28947
(although the same problem occurred using 7.3)

squeezeslave -V output:

squeezeslave 0.9-95
compile flags: linux portaudio:1420 debug signals daemon

[followed by the warranty and copyright info]


--
paulrr
------------------------------------------------------------------------
paulrr's Profile: http://forums.slimdevices.com/member.php?userid=34295
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
MelonMonkey
2009-11-18 23:10:07 UTC
Permalink
Any other Mac OS users running Squeezeslave?

I'm running it under Mac OS 10.6.2 and launching it automatically via
launchd on my MacBook Pro (unibody 2.9GHz). When it's working, it's
working well.

But. It causes the machine to take an inordinate amount of time to go
to sleep, even when it's just idle (off). About an order of magnitude
more time in fact. Issuing the sleep command while not running
Squeezeslave takes about 1 second for the machine to blank its display.
With Squeezeslave running but "off" from the Web UI (0% CPU utilization)
it takes 10 or more seconds.

The reason I'm running (and interested in) Squeezeslave is because of
its low CPU utilization and because it doesn't have nor does it need a
UI. When idle it takes no CPU time at all. It can also ignore local
volume. This enables me to play music on my work notebook controlled
solely through the web UI with volume controlled by the Mac itself.

Squeezeplay by comparison has UI that I don't need to use, including
taking up a spot in the dock. It also takes crazy CPU cycles for a
music player. Even when it's "off" or idle (paused) it's still taking
crazy cycles upwards of 10%. iTunes takes a fraction of that while
playing as another comparison.

It's not a deal breaker, but it's getting a bit annoying closing the
notebook and not having the machine go to sleep right away. Or issuing
a sleep command and having the screen stay lit up for 10 to 15 seconds.

Another interesting thing is that you must set up your property list
for launchd with keepalive on. Otherwise when you come back from sleep,
the webUI won't see Squeezeslave at all.

The only other niggle I have is that the webUI always identifies it as
"Squeezeslave 2" - I've changed this in the webUI settings, but it's
seemed to revert back after some time. Maybe when coming back from
sleep... It would be nice to supply the display name as an argument the
same way we can already supply the MAC address.

Great work and thanks for keeping this project alive!


--
MelonMonkey

Bruno
*'Twisted Melon - External Wired IR Blasters'
(http://twistedmelon.com/shop/?show=bug1)*
------------------------------------------------------------------------
MelonMonkey's Profile: http://forums.slimdevices.com/member.php?userid=8466
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-11-19 12:19:53 UTC
Permalink
Do you have the retry command line option in your the
squeezeslave.plist? If not, try adding a -r10 before the hostname.
Without the retry option squeezeslave just stops when it looses
connection to SBS, which is happening each time your Mac suspends.

It would be helpful to have the full command line from your
squeezeslave.plist, as well as the output from squeezeslave -V,
squeezeslave -L and the version plus revision of SBS, to be able to
address your other issues.


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
MelonMonkey
2009-11-19 17:25:38 UTC
Permalink
Here's some info:

SBS: Version: 7.4.1 - r28947 @ Tue Oct 20 08:13:15 PDT 2009
squeezeslave: 0.9-95

-L:

Output devices:
* 2: Built-in Output

squeezeslave params: squeezeslave -o 2 -v off -m 00:00:00:00:16:16
192.168.8.208

I will try the -r option. Sleep/wake doesn't always make squeezeslave
disappear from the player list. Only sometimes and I still don't know
exactly when. BTW, when it "stops" its process is still running - it
just doesn't appear in the player list of SBS.

In your Mac instructions you might want to suggest using Lingon to
create the launchd plist instead of having people edit manually the
sample. It will make sure the format is correct and put it in the right
place. It also allows you to input the command line params the same way
you would in a terminal. The example plist in the Mac instructions
doesn't work with Snow Leopard . The arguments must all be split into
their own strings wherever there is a space on the command line. For
instance "-o 4" must actually be two separate strings.


--
MelonMonkey

Bruno
*'Twisted Melon - External Wired IR Blasters'
(http://twistedmelon.com/shop/?show=bug1)*
------------------------------------------------------------------------
MelonMonkey's Profile: http://forums.slimdevices.com/member.php?userid=8466
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
MelonMonkey
2009-11-19 18:01:03 UTC
Permalink
The -r10 didn't work out. Same symptom, squeezeslave just disappeared
from the SBS list of players.

I pressed the power button in the SBS UI before putting the machine to
sleep. Then it was asleep for about 10 minutes. I've been using the
machine now again for 5 minutes and remembered to check. No longer
listed.

I'm going to try the -k (keep alive) next.


--
MelonMonkey

Bruno
*'Twisted Melon - External Wired IR Blasters'
(http://twistedmelon.com/shop/?show=bug1)*
------------------------------------------------------------------------
MelonMonkey's Profile: http://forums.slimdevices.com/member.php?userid=8466
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-11-19 21:49:14 UTC
Permalink
No. It's best to NOT put a space between the option and the value.

-o2 -r15 -voff -m00:00:00:00:00:79 sbshost

It's one of the updates I need to make to the MAC setup info.

Did you confirm that squeezeslave was running with the -r10 before you
put the machine to sleep? You can check by running ps axww from a
terminal window.

Also, currently the power on/off is ignored by squeezeslave unless
you're running the version which includes the display or interactive
compile option.

Please add -Y/var/tmp/squeezeslave.log and -dslimproto options to your
plist to capture any output that squeezeslave might be sending during
the sleep/resume cycle. It might help with debugging. Change the path
and filename for the logfile if needed.

The keepalive option is silently ignored by squeezeslave if the server
version is 7.0+, so unless you're running 6.5 it's not going to help.

Would you provide the compile options line from -V as well.

Thanks for the suggested update to the MAC instructions I'll checkout
Lingon.


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
MelonMonkey
2009-11-19 23:16:51 UTC
Permalink
ralphy;487303 Wrote:
> UPDATE: I'm surprised the -k10 changed the behaviour.

Turns out it didn't. :) It was just one of those situations where
sslave just didn't disappear from the list. That's why I knew I'd
continue testing before proclaiming it a complete success.

I'm gong to update the params and will get the details to you shortly
for the last questions.


--
MelonMonkey

Bruno
*'Twisted Melon - External Wired IR Blasters'
(http://twistedmelon.com/shop/?show=bug1)*
------------------------------------------------------------------------
MelonMonkey's Profile: http://forums.slimdevices.com/member.php?userid=8466
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
MelonMonkey
2009-11-19 23:40:22 UTC
Permalink
proto state=1
slimproto_connect(sb, 3483)
proto state=2
Connected to 192.168.8.208
proto state=3
slimproto_send: cmd=HELO len=10
slimproto_recv cmd=strm len=30
slimproto_recv cmd=vfdc len=174
slimproto_recv cmd=vfdc len=174
slimproto_recv cmd=vfdc len=174
slimproto_recv cmd=audg len=24
slimproto_recv cmd=strm len=30
slimproto_stat: code=STMt decoder_buffer_size=3145728
decoder_buffer_fullness=0 rbytes_high=0 rbytes_low=0
output_buffer_size=3528000 output_buffer_fullness=0 elapsed_seconds=0
elapsed_milliseconds=0 server_timestamp=248101576
slimproto_send: cmd=STAT len=55
slimproto_recv cmd=strm len=30
slimproto_stat: code=STMt decoder_buffer_size=3145728
decoder_buffer_fullness=0 rbytes_high=0 rbytes_low=0
output_buffer_size=3528000 output_buffer_fullness=0 elapsed_seconds=0
elapsed_milliseconds=0 server_timestamp=248106577
slimproto_send: cmd=STAT len=55
slimproto_recv cmd=strm len=30
slimproto_stat: code=STMt decoder_buffer_size=3145728
decoder_buffer_fullness=0 rbytes_high=0 rbytes_low=0
output_buffer_size=3528000 output_buffer_fullness=0 elapsed_seconds=0
elapsed_milliseconds=0 server_timestamp=248111577
slimproto_send: cmd=STAT len=55
slimproto_recv cmd=strm len=30
slimproto_stat: code=STMt decoder_buffer_size=3145728
decoder_buffer_fullness=0 rbytes_high=0 rbytes_low=0
output_buffer_size=3528000 output_buffer_fullness=0 elapsed_seconds=0
elapsed_milliseconds=0 server_timestamp=248116580
slimproto_send: cmd=STAT len=55
slimproto_recv cmd=strm len=30
slimproto_stat: code=STMt decoder_buffer_size=3145728
decoder_buffer_fullness=0 rbytes_high=0 rbytes_low=0
output_buffer_size=3528000 output_buffer_fullness=0 elapsed_seconds=0
elapsed_milliseconds=0 server_timestamp=248121575
slimproto_send: cmd=STAT len=55
slimproto_recv cmd=strm len=30
slimproto_recv cmd=audg len=24
slimproto_recv cmd=strm len=83
slimproto_recv cmd=audg len=24
slimproto_recv cmd=vfdc len=174
slimproto_recv cmd=strm len=30
slimproto_stat: code=STMt decoder_buffer_size=3145728
decoder_buffer_fullness=34270 rbytes_high=0 rbytes_low=163840
output_buffer_size=3528000 output_buffer_fullness=999936
elapsed_seconds=0 elapsed_milliseconds=0 server_timestamp=248126576
slimproto_send: cmd=STAT len=55
slimproto_stat: code=STMs decoder_buffer_size=3145728
decoder_buffer_fullness=525569 rbytes_high=0 rbytes_low=802360
output_buffer_size=3528000 output_buffer_fullness=2054208
elapsed_seconds=0 elapsed_milliseconds=5 server_timestamp=0
slimproto_send: cmd=STAT len=55
slimproto_stat: code=STMt decoder_buffer_size=3145728
decoder_buffer_fullness=3138800 rbytes_high=0 rbytes_low=3674360
output_buffer_size=3528000 output_buffer_fullness=3523584
elapsed_seconds=1 elapsed_milliseconds=1001 server_timestamp=0
slimproto_send: cmd=STAT len=55
slimproto_recv cmd=vfdc len=174
slimproto_stat: code=STMt decoder_buffer_size=3145728
decoder_buffer_fullness=3140771 rbytes_high=0 rbytes_low=3707128
output_buffer_size=3528000 output_buffer_fullness=3526656
elapsed_seconds=2 elapsed_milliseconds=2002 server_timestamp=0
slimproto_send: cmd=STAT len=55
slimproto_stat: code=STMt decoder_buffer_size=3145728
decoder_buffer_fullness=3142639 rbytes_high=0 rbytes_low=3739896
output_buffer_size=3528000 output_buffer_fullness=3525120
elapsed_seconds=3 elapsed_milliseconds=3004 server_timestamp=0
slimproto_send: cmd=STAT len=55
slimproto_stat: code=STMt decoder_buffer_size=3145728
decoder_buffer_fullness=3145077 rbytes_high=0 rbytes_low=3780856
output_buffer_size=3528000 output_buffer_fullness=3524544
elapsed_seconds=4 elapsed_milliseconds=4000 server_timestamp=0
slimproto_send: cmd=STAT len=55
slimproto_recv cmd=audg len=24
slimproto_recv cmd=vfdc len=174
slimproto_recv cmd=audg len=24
slimproto_recv cmd=audg len=24
slimproto_recv cmd=audg len=24
slimproto_recv cmd=audg len=24
slimproto_recv cmd=audg len=24
slimproto_recv cmd=strm len=30
slimproto_stat: code=STMt decoder_buffer_size=3145728
decoder_buffer_fullness=3137819 rbytes_high=0 rbytes_low=3789048
output_buffer_size=3528000 output_buffer_fullness=3523968
elapsed_seconds=4 elapsed_milliseconds=4604 server_timestamp=248131588
slimproto_send: cmd=STAT len=55
slimproto_recv cmd=audg len=24
slimproto_recv cmd=strm len=30
slimproto_stat: code=STMp decoder_buffer_size=3145728
decoder_buffer_fullness=3137819 rbytes_high=0 rbytes_low=3789048
output_buffer_size=3528000 output_buffer_fullness=3527232
elapsed_seconds=4 elapsed_milliseconds=4663 server_timestamp=0
slimproto_send: cmd=STAT len=55
slimproto_recv cmd=vfdc len=174
slimproto_recv cmd=audg len=24
slimproto_recv cmd=strm len=30
slimproto_stat: code=STMr decoder_buffer_size=3145728
decoder_buffer_fullness=3137819 rbytes_high=0 rbytes_low=3789048
output_buffer_size=3528000 output_buffer_fullness=3527232
elapsed_seconds=4 elapsed_milliseconds=4663 server_timestamp=0
slimproto_send: cmd=STAT len=55
slimproto_recv cmd=audg len=24
slimproto_recv cmd=vfdc len=174
slimproto_recv cmd=audg len=24
slimproto_recv cmd=audg len=24
slimproto_recv cmd=audg len=24
slimproto_recv cmd=audg len=24
slimproto_stat: code=STMt decoder_buffer_size=3145728
decoder_buffer_fullness=3140465 rbytes_high=0 rbytes_low=3830008
output_buffer_size=3528000 output_buffer_fullness=3526656
elapsed_seconds=5 elapsed_milliseconds=5659 server_timestamp=0
slimproto_send: cmd=STAT len=55
slimproto_recv cmd=vfdc len=174
slimproto_stat: code=STMt decoder_buffer_size=3145728
decoder_buffer_fullness=3141393 rbytes_high=0 rbytes_low=3862776
output_buffer_size=3528000 output_buffer_fullness=3525120
elapsed_seconds=6 elapsed_milliseconds=6661 server_timestamp=0
slimproto_send: cmd=STAT len=55
slimproto_stat: code=STMt decoder_buffer_size=3145728
decoder_buffer_fullness=3143261 rbytes_high=0 rbytes_low=3895544
output_buffer_size=3528000 output_buffer_fullness=3523584
elapsed_seconds=7 elapsed_milliseconds=7662 server_timestamp=0
slimproto_send: cmd=STAT len=55
slimproto_recv cmd=strm len=30
slimproto_stat: code=STMt decoder_buffer_size=3145728
decoder_buffer_fullness=3143261 rbytes_high=0 rbytes_low=3895544
output_buffer_size=3528000 output_buffer_fullness=3524352
elapsed_seconds=7 elapsed_milliseconds=7684 server_timestamp=248136580
slimproto_send: cmd=STAT len=55
slimproto_stat: code=STMt decoder_buffer_size=3145728
decoder_buffer_fullness=3145233 rbytes_high=0 rbytes_low=3928312
output_buffer_size=3528000 output_buffer_fullness=3526656
elapsed_seconds=8 elapsed_milliseconds=8663 server_timestamp=0
slimproto_send: cmd=STAT len=55
slimproto_stat: code=STMt decoder_buffer_size=3145728
decoder_buffer_fullness=3139118 rbytes_high=0 rbytes_low=3952888
output_buffer_size=3528000 output_buffer_fullness=3526080
elapsed_seconds=9 elapsed_milliseconds=9659 server_timestamp=0
slimproto_send: cmd=STAT len=55

continued...


--
MelonMonkey

Bruno
*'Twisted Melon - External Wired IR Blasters'
(http://twistedmelon.com/shop/?show=bug1)*
------------------------------------------------------------------------
MelonMonkey's Profile: http://forums.slimdevices.com/member.php?userid=8466
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
MelonMonkey
2009-11-19 23:45:28 UTC
Permalink
And for good measure here's everything from my system log matching
"squeeze" - just from today.


> Nov 19 09:46:14 hybridMBP configd[15]: Kernel squeezeslave
> com.apple.powermanagement.applicationresponse.timedout 30000 ms
> Nov 19 12:26:40 hybridMBP SecurityAgent[1759]:
> sys.openfile.readwritecreate./Library/LaunchDaemons/squeezeslave.plist|2009-11-19
> 12:26:40 -0500
> Nov 19 12:27:02 hybridMBP squeezeslave[1153]: Error in recv 1: Bad file
> descriptor
> Nov 19 12:27:30 hybridMBP squeezeslave[1789]: Retry option requires
> value in seconds.
> Nov 19 12:27:30 hybridMBP com.apple.launchd.peruser.501[121]
> (squeezeslave[1789]): Exited with exit code: 255
> Nov 19 12:27:30 hybridMBP com.apple.launchd.peruser.501[121]
> (squeezeslave): Throttling respawn: Will start in 10 seconds
> Nov 19 12:27:40 hybridMBP squeezeslave[1791]: Retry option requires
> value in seconds.
> Nov 19 12:27:40 hybridMBP com.apple.launchd.peruser.501[121]
> (squeezeslave[1791]): Exited with exit code: 255
> Nov 19 12:27:40 hybridMBP com.apple.launchd.peruser.501[121]
> (squeezeslave): Throttling respawn: Will start in 10 seconds
> Nov 19 12:27:50 hybridMBP squeezeslave[1792]: Retry option requires
> value in seconds.
> Nov 19 12:27:50 hybridMBP com.apple.launchd.peruser.501[121]
> (squeezeslave[1792]): Exited with exit code: 255
> Nov 19 12:27:50 hybridMBP com.apple.launchd.peruser.501[121]
> (squeezeslave): Throttling respawn: Will start in 10 seconds
> Nov 19 12:28:00 hybridMBP squeezeslave[1794]: Retry option requires
> value in seconds.
> Nov 19 12:28:00 hybridMBP com.apple.launchd.peruser.501[121]
> (squeezeslave[1794]): Exited with exit code: 255
> Nov 19 12:28:00 hybridMBP com.apple.launchd.peruser.501[121]
> (squeezeslave): Throttling respawn: Will start in 10 seconds
> Nov 19 12:28:10 hybridMBP squeezeslave[1795]: Retry option requires
> value in seconds.
> Nov 19 12:28:10 hybridMBP com.apple.launchd.peruser.501[121]
> (squeezeslave[1795]): Exited with exit code: 255
> Nov 19 12:28:10 hybridMBP com.apple.launchd.peruser.501[121]
> (squeezeslave): Throttling respawn: Will start in 10 seconds
> Nov 19 12:28:31 hybridMBP SecurityAgent[1759]:
> sys.openfile.readwritecreate./Library/LaunchDaemons/squeezeslave.plist|2009-11-19
> 12:28:31 -0500
> Nov 19 12:41:24 hybridMBP configd[15]: Kernel squeezeslave
> com.apple.powermanagement.applicationresponse.timedout 30000 ms
> Nov 19 13:01:51 hybridMBP SecurityAgent[1988]:
> sys.openfile.readwritecreate./Library/LaunchDaemons/squeezeslave.plist|2009-11-19
> 13:01:51 -0500
> Nov 19 13:02:13 hybridMBP squeezeslave[1810]: Error in recv 1: Bad file
> descriptor
> Nov 19 13:34:43 hybridMBP configd[15]: Kernel squeezeslave
> com.apple.powermanagement.applicationresponse.timedout 30000 ms
> Nov 19 13:34:44 hybridMBP squeezeslave[1999]: Error in recv 1:
> Connection reset by peer
> Nov 19 13:34:46 hybridMBP squeezeslave[1999]: Retry in 10 seconds.
> Nov 19 15:54:50 hybridMBP squeezeslave[1999]: Error in recv 1:
> Operation timed out
> Nov 19 15:54:51 hybridMBP squeezeslave[1999]: Retry in 10 seconds.
> Nov 19 15:56:15 hybridMBP squeezeslave[1999]: Error connecting to
> 192.168.8.208:3483
> Nov 19 15:56:15 hybridMBP squeezeslave[1999]: Retry in 10 seconds.
> Nov 19 15:57:40 hybridMBP squeezeslave[1999]: Error connecting to
> 192.168.8.208:3483
> Nov 19 15:57:40 hybridMBP squeezeslave[1999]: Retry in 10 seconds.
> Nov 19 15:59:04 hybridMBP squeezeslave[1999]: Error connecting to
> 192.168.8.208:3483
> Nov 19 15:59:04 hybridMBP squeezeslave[1999]: Retry in 10 seconds.
> Nov 19 16:00:29 hybridMBP squeezeslave[1999]: Error connecting to
> 192.168.8.208:3483
> Nov 19 16:00:29 hybridMBP squeezeslave[1999]: Retry in 10 seconds.
> Nov 19 16:01:53 hybridMBP squeezeslave[1999]: Error connecting to
> 192.168.8.208:3483
> Nov 19 16:01:53 hybridMBP squeezeslave[1999]: Retry in 10 seconds.
> Nov 19 17:07:26 hybridMBP squeezeslave[1999]: Error in recv 1:
> Operation timed out
> Nov 19 17:18:26 hybridMBP configd[15]: Kernel squeezeslave
> com.apple.powermanagement.applicationresponse.timedout 30000 ms
> Nov 19 17:50:34 hybridMBP configd[15]: Kernel squeezeslave
> com.apple.powermanagement.applicationresponse.timedout 30000 ms
> Nov 19 18:17:27 hybridMBP SecurityAgent[3878]:
> sys.openfile.readwritecreate./Library/LaunchDaemons/squeezeslave.plist|2009-11-19
> 18:17:27 -0500
> Nov 19 18:17:58 hybridMBP com.apple.launchd.peruser.501[121]
> (squeezeslave[1999]): Exit timeout elapsed (20 seconds). Killing
> Nov 19 18:17:58 hybridMBP com.apple.launchd.peruser.501[121]
> (squeezeslave): Bug: launchd_core_logic.c:8805 (23932):3
> Nov 19 18:19:47 hybridMBP squeezeslave[249]: Error in recv 1: Bad file
> descriptor
> Nov 19 18:19:47 hybridMBP squeezeslave[3895]: Error in recv 1:
> Undefined error: 0
> Nov 19 18:19:51 hybridMBP squeezeslave[3895]: Retry in 10 seconds.
> Nov 19 18:20:01 hybridMBP squeezeslave[3906]: Error in recv 1:
> Undefined error: 0
> Nov 19 18:20:02 hybridMBP squeezeslave[3895]: Error in recv 1:
> Undefined error: 0
> Nov 19 18:20:06 hybridMBP squeezeslave[3895]: Retry in 10 seconds.
> Nov 19 18:20:16 hybridMBP squeezeslave[3910]: Error in recv 1:
> Undefined error: 0
> Nov 19 18:20:17 hybridMBP squeezeslave[3895]: Error in recv 1:
> Undefined error: 0
> Nov 19 18:20:21 hybridMBP squeezeslave[3895]: Retry in 10 seconds.
> Nov 19 18:20:31 hybridMBP squeezeslave[3913]: Error in recv 1:
> Undefined error: 0
> Nov 19 18:20:32 hybridMBP squeezeslave[3895]: Error in recv 1:
> Undefined error: 0
> Nov 19 18:20:36 hybridMBP squeezeslave[3895]: Retry in 10 seconds.
> Nov 19 18:20:46 hybridMBP squeezeslave[3914]: Error in recv 1:
> Undefined error: 0
> Nov 19 18:20:47 hybridMBP squeezeslave[3895]: Error in recv 1:
> Undefined error: 0
> Nov 19 18:20:51 hybridMBP squeezeslave[3895]: Retry in 10 seconds.
> Nov 19 18:21:01 hybridMBP squeezeslave[3916]: Error in recv 1:
> Undefined error: 0
> Nov 19 18:21:02 hybridMBP squeezeslave[3895]: Error in recv 1:
> Undefined error: 0
> Nov 19 18:21:06 hybridMBP squeezeslave[3895]: Retry in 10 seconds.
> Nov 19 18:21:52 hybridMBP squeezeslave[62]: Error connecting to
> 192.168.8.208:3483
> Nov 19 18:21:52 hybridMBP squeezeslave[62]: Retry in 10 seconds.
> Nov 19 18:24:11 hybridMBP sudo[222]: Bruno : TTY=ttys000 ;
> PWD=/Users/Bruno ; USER=root ; COMMAND=/bin/launchctl unload
> /Library/LaunchDaemons/squeezeslave.plist
> Nov 19 18:24:11 hybridMBP squeezeslave[62]: Error in recv 1: Bad file
> descriptor
> Nov 19 18:32:07 hybridMBP SecurityAgent[265]:
> sys.openfile.readwritecreate./Library/LaunchDaemons/squeezeslave.plist|2009-11-19
> 18:32:07 -0500
> Nov 19 18:35:31 hybridMBP configd[15]: Kernel squeezeslave
> com.apple.powermanagement.applicationresponse.timedout 30000 ms
>


--
MelonMonkey

Bruno
*'Twisted Melon - External Wired IR Blasters'
(http://twistedmelon.com/shop/?show=bug1)*
------------------------------------------------------------------------
MelonMonkey's Profile: http://forums.slimdevices.com/member.php?userid=8466
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-11-20 14:47:19 UTC
Permalink
I've built a 0.9-95 version that uses the same retry mechanism as the
linux 2.6 binaries. Note that you must include the -r option and that
the player will disappear from the web interface shortly after your
system is suspended. After you resume your Mac the player should
reappear on the web within 30 seconds, if not, refresh the web page.
Download
the binary from 'here'
(http://ralph_irving.users.sourceforge.net/squeezeslave-0.9-95-osx-bruno.tar.gz)


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
MelonMonkey
2009-11-20 22:05:51 UTC
Permalink
Downloading now. Will report back as soon as I've been able to confirm
the new behavior. Thanks for the quick turn-around.


--
MelonMonkey

Bruno
*'Twisted Melon - External Wired IR Blasters'
(http://twistedmelon.com/shop/?show=bug1)*
------------------------------------------------------------------------
MelonMonkey's Profile: http://forums.slimdevices.com/member.php?userid=8466
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-11-21 11:19:23 UTC
Permalink
As I mentioned in the earlier post the player will disappear when the
computer is in sleep mode, that's normal behaviour. SBS asks for a
status from the player every few seconds, if it doesn't repond 3
consecutive times it removes the player from the player list.
Squeezeslave can't respond when your machine is sleeping. Make sure you
refresh your browse window for the gui as well.

My tests with the new binary worked as expected every time, SS always
came back to life on resume, when using -r. The machine also goes to
sleep much quicker than with the other binary.


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
MelonMonkey
2009-11-21 15:53:02 UTC
Permalink
I understand what the intentions of the params are. I'm saying the
behavior from the UI is exactly the same as it used to be before. If it
doesn't show up, Squeezeslave does not come back, ever. It doesn't
matter how long one waits nor how many times the web page is refreshed.

If you notice in the console log I posted, squeezeslave doesn't respond
to the system wake up event within a time limit mentioned there.

I had my machine sleeping all night and this morning, the squeezeslave
binary is running but nothing appears in the player list. I've now had
the machine awake and running for an hour and have refreshed the web UI
multiple times.

The only way to get it showing up again is to unload the daemon and
reload it. Or kill the process and let it reload automatically.

Also as mentioned, I can't say for sure when it fails completely versus
when it works. Sometimes when waking from sleep it's still listed and
will play perfectly fine. If you'd like to send up another version with
additional logging capabilities, I'll gladly capture another log file
for you and put it up on my own web space so you can download it (the
forum only allows about 9k of text).


--
MelonMonkey

Bruno
*'Twisted Melon - External Wired IR Blasters'
(http://twistedmelon.com/shop/?show=bug1)*
------------------------------------------------------------------------
MelonMonkey's Profile: http://forums.slimdevices.com/member.php?userid=8466
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-11-21 16:02:41 UTC
Permalink
Sorry, I missed the fact that sometimes it works ok and other times it
doesn't recover in all this.

Perhaps it's something with the newer OSX version. I'm still running
10.4.7 on my test machine.

Change the -dslimproto to -dall and upload the log after it doesn't
recover. You'll probably what to compress it first as the file will be
huge. Please kill the squeezeslave process before saving the log, that
will help to get the last bit that was cut off the last time.


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
MelonMonkey
2009-11-23 16:05:00 UTC
Permalink
So, squeeeslave will come back from sleep properly if the machine is
only asleep for a little while. Anything over "X" amount of time means
it will not show up in the player list. That much I have confirmed
through repeated sleep cycles. What I haven't done is timed exactly
where the threshold is.

Here's he log file with "-dall" starting with a fresh boot and launch
of squeezeslave, then putting the machine to sleep for a long while,
returning without it in the player list, using the machine for a while
and then unloading. At no point in this run did I play any music.

Download here: http://twistedmelon.com/downloads/squeezeslavelog.zip
(2.4k)


--
MelonMonkey

Bruno
*'Twisted Melon - External Wired IR Blasters'
(http://twistedmelon.com/shop/?show=bug1)*
------------------------------------------------------------------------
MelonMonkey's Profile: http://forums.slimdevices.com/member.php?userid=8466
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-11-24 12:14:28 UTC
Permalink
I'm unable to download the log file.

wget http://twistedmelon.com/downloads/squeezeslavelog.zip
--2009-11-24 06:54:38--
http://twistedmelon.com/download/squeezeslavelog.zip
Resolving twistedmelon.com... 69.163.181.173
Connecting to twistedmelon.com|69.163.181.173|:80... connected.
HTTP request sent, awaiting response... Read error (Connection reset by
peer) in headers.
Retrying.


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
Mike C
2009-11-28 02:15:08 UTC
Permalink
I am having problems under Windows 7 64.

I can start it and specify the pc to connect to but nothing happens.

How do I get other info to help diagnose?


--
Mike C
------------------------------------------------------------------------
Mike C's Profile: http://forums.slimdevices.com/member.php?userid=34507
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
MelonMonkey
2009-11-29 15:02:30 UTC
Permalink
It would be helpful if the logging could be changed to include a
timestamp at the start of each entry.

After not touching anything with regards to Squeezeslave setup since I
posted that zipped log file, it is now no longer running. Just dropped
off the process list through subsequent sleep events and at least one
hibernation event.

Does anyone at all have this working in Mac OS 10.6 or newer?


--
MelonMonkey

Bruno
*'Twisted Melon - External Wired IR Blasters'
(http://twistedmelon.com/shop/?show=bug1)*
------------------------------------------------------------------------
MelonMonkey's Profile: http://forums.slimdevices.com/member.php?userid=8466
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-11-29 18:20:13 UTC
Permalink
I've been testing this the last couple days, it looks like the retry
option is being disabled by the suspend/resume cycles in some way.
Looks like it could be a timing issue, race condition in the slimproto
thread.

Can you try changing the -Y/var/tmp/squeezeslave.log to
-M/var/tmp/squeezeslave.log and see what happens?

thanks,

Ralphy


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
MelonMonkey
2009-11-30 15:53:15 UTC
Permalink
Trying the new option and will post back the results as soon as I see
them.


--
MelonMonkey

Bruno
*'Twisted Melon - External Wired IR Blasters'
(http://twistedmelon.com/shop/?show=bug1)*
------------------------------------------------------------------------
MelonMonkey's Profile: http://forums.slimdevices.com/member.php?userid=8466
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-11-30 19:40:15 UTC
Permalink
Thanks, I had a similiar problem after I posted my last message. I
think I've tracked down the real issue, need a few days to test it to be
sure.


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-12-01 12:00:39 UTC
Permalink
MelonMonkey;490329 Wrote:
> It would be helpful if the logging could be changed to include a
> timestamp at the start of each entry.

I agree it would help.

Give 'this'
(http://ralph_irving.users.sourceforge.net/squeezeslave-0.9-99-osx-bruno.tar.gz)
binary a try. It's not the final fix but I haven't been able to make
this one lockup with suspend/resume cycles. It doesn't address the long
delay before sleep as I'm not sure if the two issues are related.
Unfortunately, I haven't been able to recreate the long delay when
sleeping on my system. I think recovering for now would be good?

Also, change the -M back to -Y and remove -dslimproto from your
squeezeslave.plist


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
MelonMonkey
2009-12-01 18:54:25 UTC
Permalink
Ok, about to give this a shot. As before, I'll report back with news
later today.


--
MelonMonkey

Bruno
*'Twisted Melon - External Wired IR Blasters'
(http://twistedmelon.com/shop/?show=bug1)*
------------------------------------------------------------------------
MelonMonkey's Profile: http://forums.slimdevices.com/member.php?userid=8466
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-12-03 17:11:53 UTC
Permalink
I've uploaded r101 'here'
(http://ralph_irving.users.sourceforge.net/squeezeslave-0.9-101-osx-bruno.tar.gz)
which includes the full fix for the not recovering after sleep issue.
Please upgrade to the new binary and confirm that r101 reconnects on
your system.

Thanks,

Ralphy


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
fphredd
2009-12-03 18:10:51 UTC
Permalink
Will any changes you made to the code to solve this problem on OSX also
help solve the sleep issues on the windows side? Squeezeslave is perfect
for my needs, just would like to be able to put the computer to sleep
and have it still available when the machine wakes up.

Also, is it relevant if the server (basement ReadyNAS) powers off at
night?


--
fphredd
------------------------------------------------------------------------
fphredd's Profile: http://forums.slimdevices.com/member.php?userid=33133
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-12-03 20:12:12 UTC
Permalink
Yes, the changes should work with all OS versions except Solaris. I'm
currently testing the win32 version and should have a test binary
available next week.


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
fphredd
2009-12-03 21:10:16 UTC
Permalink
Thank you!! :D


--
fphredd
------------------------------------------------------------------------
fphredd's Profile: http://forums.slimdevices.com/member.php?userid=33133
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
MelonMonkey
2009-12-04 21:29:03 UTC
Permalink
The test version you put up the other day is still working fine. I've
put the machine through a few dozen sleep/wake cycles ranging from 5
minutes to 12 hours since the last time I wrote. Basically just using
the machine normally. Squeezeslave always seems to be listed in the
player list (if it's not there immediately after wake, it's there a few
seconds later)

About to download r101 and will report back with details.


--
MelonMonkey

Bruno
*'Twisted Melon - External Wired IR Blasters'
(http://twistedmelon.com/shop/?show=bug1)*
------------------------------------------------------------------------
MelonMonkey's Profile: http://forums.slimdevices.com/member.php?userid=8466
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-12-05 13:41:43 UTC
Permalink
That's great! Thanks for the feedback.

As a test for the "slow to sleep" problem, try removing the
-Y/var/???/squeezeslave.log option from your plist when you start
testing r101


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-12-05 14:44:07 UTC
Permalink
I've uploaded 'r103'
(http://ralph_irving.users.sourceforge.net/squeezeslave-0.9-103-osx-bruno.tar.gz)
which includes OSX 10.6 specific changes to the portaudio library.
These updates might also help the "slow to sleep" issue. The only
different between r101 and r103 is the update of the portaudio library
snapshot from r1420 to r1428. Please use r103 instead. Thanks.


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
MelonMonkey
2009-12-05 14:59:05 UTC
Permalink
101 has been working fine since updating. Playing right now. I haven't
yet removed the logging option since I just came to read the forum now.
:)

Will test 103 without logging and report back about the sleep delay
issue.


--
MelonMonkey

Bruno
*'Twisted Melon - External Wired IR Blasters'
(http://twistedmelon.com/shop/?show=bug1)*
------------------------------------------------------------------------
MelonMonkey's Profile: http://forums.slimdevices.com/member.php?userid=8466
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-12-06 18:43:41 UTC
Permalink
A windows beta test release 'r104'
(http://ralph_irving.users.sourceforge.net/squeezeslave-0.9-104-win32-beta.zip)
is available now.

I've increased the socket timeout from 10 to 15 seconds as I was seeing
occasional disconnects from the server on windows.
Otherwise it's the same as the OSX r103 posted earlier but using the
r1420 portaudio version that was included in the r95 release.
So I guess it's not quite the same but close! ;)

Report your findings, bad and good to this thread.


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
MelonMonkey
2009-12-06 20:05:33 UTC
Permalink
r103 (Mac OS) seems as good as the previous two versions with regards to
coming back from sleep. Working ok now for a day.

But the delay in going to sleep is still there. The machine takes at
least 10 seconds to sleep if squeeeslave is running.


--
MelonMonkey

Bruno
*'Twisted Melon - External Wired IR Blasters'
(http://twistedmelon.com/shop/?show=bug1)*
------------------------------------------------------------------------
MelonMonkey's Profile: http://forums.slimdevices.com/member.php?userid=8466
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
fphredd
2009-12-08 21:39:45 UTC
Permalink
Would be happy to test a windows asio version... :D


--
fphredd
------------------------------------------------------------------------
fphredd's Profile: http://forums.slimdevices.com/member.php?userid=33133
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-12-13 20:50:42 UTC
Permalink
fphredd;493608 Wrote:
> Would be happy to test a windows asio version... :D

I've removed all previous test releases and the associated links from
my posts above and uploaded new binaries for 'Windows'
(http://ralph_irving.users.sourceforge.net/squeezeslave-0.9-108-win32-beta.zip)
and 'OSX'
(http://ralph_irving.users.sourceforge.net/squeezeslave-0.9-108-osx-beta.tar.gz).

The source repository has also been updated. See the 'ChangeLog'
(http://squeezeslave.googlecode.com/svn/squeezeslave/trunk/squeezeslave/ChangeLog)
for update details.


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
fphredd
2009-12-15 14:35:40 UTC
Permalink
ralphy;495322 Wrote:
> I've removed all previous test releases and the associated links from my
> posts above and uploaded new binaries for 'Windows'
> (http://ralph_irving.users.sourceforge.net/squeezeslave-0.9-108-win32-beta.zip)
> and 'OSX'
> (http://ralph_irving.users.sourceforge.net/squeezeslave-0.9-108-osx-beta.tar.gz).
>
> The source repository has also been updated. See the 'ChangeLog'
> (http://squeezeslave.googlecode.com/svn/squeezeslave/trunk/squeezeslave/ChangeLog)
> for update details.

Tried the 'asio' version. After sleep, shows connected to
squeezeslave, but no sound. Reboot, all is good.


--
fphredd
------------------------------------------------------------------------
fphredd's Profile: http://forums.slimdevices.com/member.php?userid=33133
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
bobkoure
2009-12-15 17:40:20 UTC
Permalink
Tried ASIO win32 - plays great.
Had to install an ASIO driver http://www.asio4all.com/
This piped through an analog devices -Soundmax Digital HD Audio- that
hands the stream off to a receiver via s/pdif.
Nice to be able to avoid direct sound. Can't hear a difference other
than what can be attributed to psychological effects - but I seldom have
other sounds playing.

That said, it doesn't seem to be exiting gracefully when passed a ctl-C
(sound stops but cmd window is hung). Similarly, if I simply close the
cmd window, sound stops, but the cmd window is frozen until I get the
win system message "windows is unable to close this application..."

For the uninitiated the issue ASIO addresses is that DS merges audio
streams. So it messes with latency and probably has to do some
resampling. No beef with MS, this is part of their "support minimal
hardware" policy. Most audio devices these days can handle at least a
couple of streams, but MS needs to run on old stuff too.
For simple playback, I don't care about latency, although I might if I
was trying to synchronize software and hardware players - I -do- care
about resampling, though. Up to now there hadn't been much I could do
about it, other than buy a hardware player to go next to my PC - so this
is pretty cool.

Thanks for ASIO support!
Bob


--
bobkoure
------------------------------------------------------------------------
bobkoure's Profile: http://forums.slimdevices.com/member.php?userid=14646
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
Chris Laplante
2009-12-15 20:50:53 UTC
Permalink
Thanks for the work you do on this ralphy!

This little side project is slowly becoming the most viable software player
as squeezeplay and softsqueeze seemingly fall into abandonment. I somehow
doubt the expected "news/changes" around the first of the year will signal
their improved support either.

-Chris

On Tue, Dec 15, 2009 at 9:40 AM, bobkoure <
bobkoure.438y801260898922-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/***@public.gmane.org> wrote:

>
> Tried ASIO win32 - plays great.
> Had to install an ASIO driver http://www.asio4all.com/
> This piped through an analog devices -Soundmax Digital HD Audio- that
> hands the stream off to a receiver via s/pdif.
> Nice to be able to avoid direct sound. Can't hear a difference other
> than what can be attributed to psychological effects - but I seldom have
> other sounds playing.
>
> That said, it doesn't seem to be exiting gracefully when passed a ctl-C
> (sound stops but cmd window is hung). Similarly, if I simply close the
> cmd window, sound stops, but the cmd window is frozen until I get the
> win system message "windows is unable to close this application..."
>
> For the uninitiated the issue ASIO addresses is that DS merges audio
> streams. So it messes with latency and probably has to do some
> resampling. No beef with MS, this is part of their "support minimal
> hardware" policy. Most audio devices these days can handle at least a
> couple of streams, but MS needs to run on old stuff too.
> For simple playback, I don't care about latency, although I might if I
> was trying to synchronize software and hardware players - I -do- care
> about resampling, though. Up to now there hadn't been much I could do
> about it, other than buy a hardware player to go next to my PC - so this
> is pretty cool.
>
> Thanks for ASIO support!
> Bob
>
>
> --
> bobkoure
> ------------------------------------------------------------------------
> bobkoure's Profile: http://forums.slimdevices.com/member.php?userid=14646
> View this thread: http://forums.slimdevices.com/showthread.php?t=63966
>
> _______________________________________________
> discuss mailing list
> discuss-***@public.gmane.org
> http://lists.slimdevices.com/mailman/listinfo/discuss
>
tcutting
2009-12-15 21:36:31 UTC
Permalink
Any chance to get squeezeslave to work at sample rates other than 44.1?


--
tcutting
------------------------------------------------------------------------
tcutting's Profile: http://forums.slimdevices.com/member.php?userid=17402
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-12-18 12:23:30 UTC
Permalink
> Any chance to get squeezeslave to work at sample rates other than 44.1?

I'm tired of being asked this.

I have no need for this feature and therefore have no interest in
implementing it.

The vortexbox project has provided a custom-convert.conf file that
handles transcoding other sampling rates to 44.1 using mplayer for
squeezeslave, which I've attached.

If someone would like to take on the project, send me a pm and I'd be
happy to discuss what I think would be involved.


+-------------------------------------------------------------------+
|Filename: custom-convert.conf.txt |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=8871|
+-------------------------------------------------------------------+

--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-12-16 13:23:32 UTC
Permalink
chrisla;495975 Wrote:
> Thanks for the work you do on this ralphy!
>
> This little side project is slowly becoming the most viable software
> player
> as squeezeplay and softsqueeze seemingly fall into abandonment. I
> somehow
> doubt the expected "news/changes" around the first of the year will
> signal
> their improved support either.
>
> -Chris
>
Thanks!

I'd have to agree. I'm not expecting much either. I've been keeping an
up to date copy of the 7.3.4 and 7.4.2 repositories locally, just in
case. :(
I was happy to see that the squeezeslave player type is in the 7.5
server code as well.

BPA has done an excellent job maintaining softsqueeze. Once he finds
some time to find and fix the couple of outstanding problems in the
3.9B1 softsqueeze. I can create a new full set of package releases for
sourceforge and we're planning to setup a new repository for the
extension downloader.


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-12-18 12:03:28 UTC
Permalink
bobkoure;495911 Wrote:
>
> That said, it doesn't seem to be exiting gracefully when passed a ctl-C
> (sound stops but cmd window is hung). Similarly, if I simply close the
> cmd window, sound stops, but the cmd window is frozen until I get the
> win system message "windows is unable to close this application..."

I've seen this as well using asio4all. However, several forums members
with sound cards that provide "real" asio drivers aren't seeing this
issue.
I'm not likely to get a chance to investigate whether it's the asio4all
driver or libportaudio until after the holidays.


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
Honva
2009-12-19 00:34:39 UTC
Permalink
Please bear my stupid question.

I downloaded the file squeezeslave-0.9-95-lnx26.tar.gz for ubuntu.

However,after unpacking, I do not see the usual "squeezeslave" program.
The previous version I am using has this executable. All what I got
are: .lircrc, license.txt, squeezeslave-lnx26,
squeezeslave-lnx26-display, squeezeslave-lnx26-i64,
squeezeslave-lnx26-i64-display, and 2 patches.

I tried to run squeezeslave-lnx26 but it gave me command no find error.
I checked permission and they are properly marked as rwx

What am I missing/doing wrong?

Thanks in advance.


--
Honva
------------------------------------------------------------------------
Honva's Profile: http://forums.slimdevices.com/member.php?userid=14948
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-12-19 12:12:47 UTC
Permalink
Try ./squeezeslave-lnx26 --retry

Note the ./ at the beginning. In unix the current directory is not
searched for executables unless it is in the PATH.

You may also need to add the hostname of your Squeezebox Server after
the --retry if it's not running on the same computer.


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
Honva
2009-12-19 18:23:29 UTC
Permalink
ralphy;497019 Wrote:
> Try ./squeezeslave-lnx26 -r10
>
> Note the ./ at the beginning. In unix the current directory is not
> searched for executables unless it is in the PATH.
>
> You may also need to add the hostname of your Squeezebox Server after
> the -r10 separated by a space if the server is not running on the same
> computer.

Thank you very much! Forgot this basic linux rule.


--
Honva
------------------------------------------------------------------------
Honva's Profile: http://forums.slimdevices.com/member.php?userid=14948
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
fphredd
2009-12-22 19:25:47 UTC
Permalink
I'm having issues scrubbing on songs with album art. I'm using iPeng,
and posted on that thread first. Pippin suggested I post here as well
to see if it might be related to Squeezeslave...

Songs with album art won't scrub. The song stops playing and returns
cued to the beginning of that song. A friend has the same files (one
set was copied from the other) and does not have this problem. He is
running through a Transporter using Logitech controller.

Any chance something in the tags is messing with my ability to scrub
forward in a song as part of Squeezeplay? Thanks!


--
fphredd
------------------------------------------------------------------------
fphredd's Profile: http://forums.slimdevices.com/member.php?userid=33133
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
pippin
2009-12-22 19:33:35 UTC
Permalink
fphredd;498198 Wrote:
> I'm having issues scrubbing on songs with album art. I'm using iPeng,
> and posted on that thread first. Pippin suggested I post here as well
> to see if it might be related to Squeezeslave...
>
> Songs with album art won't scrub. The song stops playing and returns
> cued to the beginning of that song. A friend has the same files (one
> set was copied from the other) and does not have this problem. He is
> running through a Transporter using Logitech controller.
>
> Any chance something in the tags is messing with my ability to scrub
> forward in a song as part of Squeezeplay? Thanks!

FYI: iPeng uses the "time" CLI command to set the position within a
track.
I'm seeing similar issues with SqueezeSlave but use an old build. I
didn't see the dependency upon artwork, yet most of my albums do have
artwork.


--
pippin

---
see iPeng, the Squeezebox iPhone remote, at penguinlovesmusic.com
------------------------------------------------------------------------
pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
fphredd
2009-12-22 21:58:32 UTC
Permalink
pippin;498204 Wrote:
> FYI: iPeng uses the "time" CLI command to set the position within a
> track.
> I'm seeing similar issues with SqueezeSlave but use an old build. I
> didn't see the dependency upon artwork, yet most of my albums do have
> artwork.

Pippin,

Thanks for chiming in, since once the discussion gets to a technical
level, I won't be much help on the why's and how's...


--
fphredd
------------------------------------------------------------------------
fphredd's Profile: http://forums.slimdevices.com/member.php?userid=33133
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-12-23 12:02:08 UTC
Permalink
fphredd;498295 Wrote:
> Pippin,
>
> Thanks for chiming in, since once the discussion gets to a technical
> level, I won't be much help on the why's and how's...

Squeezeslave doesn't use the cli, only slimprotocol. It currently
ignores the strm-a server command, which might be causing this issue. I
have some mp3 and m4a files with embedded art and haven't seen this
problem.


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
fphredd
2009-12-23 14:19:25 UTC
Permalink
ralphy;498468 Wrote:
> Squeezeslave doesn't use the cli, only slimprotocol. It currently
> ignores the strm-a server command, which might be causing this issue. I
> have some mp3 and m4a files with embedded art and haven't seen this
> problem.

The music I'm playing is all flac.


--
fphredd
------------------------------------------------------------------------
fphredd's Profile: http://forums.slimdevices.com/member.php?userid=33133
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
pippin
2009-12-23 20:24:55 UTC
Permalink
ralphy;498468 Wrote:
> Squeezeslave doesn't use the cli, only slimprotocol.

Emmm... I didn't mean to say SqueezeSlave is doing somethig with the
CLI.
iPeng issues a CLI "time" command to the server which the should set
the time within the playback through SlimProto.


--
pippin

---
see iPeng, the Squeezebox iPhone remote, at penguinlovesmusic.com
------------------------------------------------------------------------
pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-12-24 12:37:45 UTC
Permalink
pippin;498612 Wrote:
> Emmm... I didn't mean to say SqueezeSlave is doing somethig with the
> CLI. iPeng issues a CLI "time" command to the server which the should
> set the time within the playback through SlimProto.

No problem. Can you provide me with an example of a time cli command
from ipeng that I can issue to test what's happening in squeezeslave?

fphredd;498512 Wrote:
> The music I'm playing is all flac.

Can you provide the output from a 'metaflac --list filename.flac' of a
file that exhibits the problem so I can try to reproduce it? Please zip
the output file and attach to a post. Also what program do you use to
add the album art to the flac file(s)?


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
pippin
2009-12-24 14:08:52 UTC
Permalink
ralphy;498748 Wrote:
> No problem. Can you provide me with an example of a time cli command
> from ipeng that I can issue to test what's happening in squeezeslave?
>

It's just

Code:
--------------------

time 124.0

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

which would move to 2:04.
Note that times are always given as decimal figures (with one decimal)
but that's always "0" for iPeng since iPeng only uses full seconds for
the positioning.


--
pippin

---
see iPeng, the Squeezebox iPhone remote, at penguinlovesmusic.com
------------------------------------------------------------------------
pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
fphredd
2009-12-25 19:27:55 UTC
Permalink
ralphy;498748 Wrote:
>
> Can you provide the output from a 'metaflac --list filename.flac' of a
> file that exhibits the problem so I can try to reproduce it? Please zip
> the output file and attach to a post. Also what program do you use to
> add the album art to the flac file(s)?

Sorry, ya kind of lost me here...Is that just the meta data tags
themselves? How do I create/find that file?

Some of the artwork is added through dbpoweramp tag retrieval, some is
in tag&rename, some is included in downloads of live music (homemade
artwork).


--
fphredd
------------------------------------------------------------------------
fphredd's Profile: http://forums.slimdevices.com/member.php?userid=33133
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
bobkoure
2009-12-26 13:40:52 UTC
Permalink
If you've got the FLAC encoder, it came with a utility program called
"mataflac". Ralphy was giving you the command line to get him the
information he needed to find out what the problem might have been.
"filename.flac" is the name of the flac file you're having trouble with
- you can have a complete path here, but if it has any embedded spaces
it needs to be surrounded with quotes.

Metaflac is going to just write that info to the screen, so you might
add ">filename.txt" to the end of the line, so it ends up in a file that
you can easily open in an editor and copy/paste into a post.


--
bobkoure
------------------------------------------------------------------------
bobkoure's Profile: http://forums.slimdevices.com/member.php?userid=14646
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
fphredd
2009-12-27 04:15:41 UTC
Permalink
bobkoure;499054 Wrote:
> If you've got the FLAC encoder, it came with a utility program called
> "mataflac". Ralphy was giving you the command line to get him the
> information he needed to find out what the problem might have been.
> "filename.flac" is the name of the flac file you're having trouble with
> - you can have a complete path here, but if it has any embedded spaces
> it needs to be surrounded with quotes.
>
> Metaflac is going to just write that info to the screen, so you might
> add ">filename.txt" to the end of the line, so it ends up in a file that
> you can easily open in an editor and copy/paste into a post.

Home tuesday, will give it a shot. Thanks for the explanation.


--
fphredd
------------------------------------------------------------------------
fphredd's Profile: http://forums.slimdevices.com/member.php?userid=33133
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
fphredd
2009-12-28 21:31:48 UTC
Permalink
ralphy;498748 Wrote:
>
> Can you provide the output from a 'metaflac --list filename.flac' of a
> file that exhibits the problem so I can try to reproduce it? Please zip
> the output file and attach to a post. Also what program do you use to
> add the album art to the flac file(s)?

Attached (got home early).


+-------------------------------------------------------------------+
|Filename: test.zip |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=8909|
+-------------------------------------------------------------------+

--
fphredd
------------------------------------------------------------------------
fphredd's Profile: http://forums.slimdevices.com/member.php?userid=33133
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
arztde
2009-12-30 00:12:58 UTC
Permalink
Hi Ralphy, hope you jump good into the new year.
Is it possible to make a version of squeezeplay that use no floating
point and FPU? I think about devices that run with for example NAS
Systems have a Mips CPU or others like SheevaPlug. I do not how to
handle it without FPU.

Regards Wilfried


--
arztde
------------------------------------------------------------------------
arztde's Profile: http://forums.slimdevices.com/member.php?userid=29528
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2010-01-03 11:56:47 UTC
Permalink
arztde;500171 Wrote:
> Hi Ralphy, hope you jump good into the new year.
> Is it possible to make a version of squeezeplay that use no floating
> point and FPU? I think about devices that run with for example NAS
> Systems have a Mips CPU or others like SheevaPlug. I do not how to
> handle it without FPU.
>
> Regards Wilfried

No, it's not easy to remove floating point from SS as the flac and ogg
libraries use it. Perhaps you could make a version that only plays mp3
and wav as both of them don't use it. You'd also need to replace all
the floating point code in squeezeslave with a fixed-point library.


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
vpeter
2010-01-03 18:48:23 UTC
Permalink
Hi Ralphy,

I'm new to this forum and I'm trying to compile SqueezeSlave for MIPS
architecture. As I understand FPU is required. Because I'm new in this
stuff around FPU and floating point I compile flac command-line program.
Then I tried to decode and encode sample flac file few times between wav
and flac. The operation was succesful and all files were played just
fine. Would this mean that the whole SqueezeSlave would work too? Sory
if this is strange question... As I say - I'm newbie :-)

regards, Peter


--
vpeter
------------------------------------------------------------------------
vpeter's Profile: http://forums.slimdevices.com/member.php?userid=35551
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2010-01-03 21:42:05 UTC
Permalink
Yes it should work then.

I'd suggest starting with the makefile.linux26-ppc-alsa makefile as I
believe mipps is big endian byte ordering as well.

You might run into issues with the portaudio library.


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2010-01-03 22:14:29 UTC
Permalink
I've completed an initial port of the interactive (aka slimp3) display
for windows 'r119'
(http://ralph_irving.users.sourceforge.net/squeezeslave-0.9-119-win32-beta.zip).
You can now interact with squeezeslave via the keyboard and control the
player like the slimp3, sb2/3 and boom hardware players.
Note that bit mapped graphics are not available, only text characters
can be displayed, similiar to the slimp3 player.

Please see post#1 in this thread for minimum server side versions that
support this feature.
LIRC and LCDd features are currently NOT available in the win32
release.

The screen shot is an 80x4 command prompt running
squeezeslave-0.9-119.exe -r15 -D -w78

Key mappings are listed in the --help/-h information.

The displayed information can be changed in the player settings for the
squeezeslave player.

I've included an r119 ASIO binary in the zip file as well which should
fix the hanging issue members have been seeing with the asio4all
driver.
The display feature is NOT enabled for ASIO at this time.


+-------------------------------------------------------------------+
|Filename: ssdsp.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=8961|
+-------------------------------------------------------------------+

--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
fphredd
2010-01-03 22:25:55 UTC
Permalink
Pardon my ignorance if this should be obvious...

What are the patch files in the zip file? Do I need to do anything with
them?


--
fphredd
------------------------------------------------------------------------
fphredd's Profile: http://forums.slimdevices.com/member.php?userid=33133
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2010-01-04 11:54:10 UTC
Permalink
They are needed to support replay gain and the display feature for SC
7.2 and 7.3. The changes have been included in SBS 7.4 r26720 and
later, so if you're running newer than that you can ignore the patch
files. For those running SC 7.3 or 7.2 on windows you'll need to follow
these 'instructions'
(http://wiki.slimdevices.com/index.php/InstallSVNTrunkAsService) to run
SC from sources and apply the patch included in the zip file. I'd
recommend upgrading to 7.4.2 instead as it's not a simple process.

Hope that helps.


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
fphredd
2010-01-04 16:57:59 UTC
Permalink
Yep; officially ignored. Thanks


--
fphredd
------------------------------------------------------------------------
fphredd's Profile: http://forums.slimdevices.com/member.php?userid=33133
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
bobkoure
2010-01-04 19:01:49 UTC
Permalink
arztde;500171 Wrote:
> Is it possible to make a version of squeezeplay that use no floating
> point and FPU?If you're looking to roll your own integer-math FLAC you might check
RockBox. I expect they started out with the FLAC reference version, so
even if what they did isn't directly useful, running a diff might give
you a notion of what was needed.
It might be easier to just use a box with a fpu...


--
bobkoure
------------------------------------------------------------------------
bobkoure's Profile: http://forums.slimdevices.com/member.php?userid=14646
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
indifference_engine
2010-01-04 22:41:30 UTC
Permalink
Hi Ralphy, I've been using Squeezeslave for a while on my server pc as
a headless player and it works well. I run it on SBS2003 as a service
(using srvany). I've just downloaded the latest beta (r119) and have a
few questions if you please:

1) I know you're sick of the 44.1kHz thing but I've found SqueezeSlave
hangs if I try to play something that isn't 44.1kHz (eg some internet
radio streams such as BBC Radio4 via the iPlayer plugin). I then have
to restart the service. Could it silently skip over unplayable tracks
in the playlist or something a bit more graceful than just hanging?

2) I've tried experimenting with the -e switch and SBS seems to
recognise the correct player type but I get a message in SqueezeBox
Server saying the firmware needs to be updated. I would ideally use the
receiver option as I have no need for a display but have also tried the
other options with the same results. How do I update Squeezeslave's
firmware??

I'm running SqueezeSlave 0.9r119 on SBS Version: 7.4.1 - r28947. OS is
Windows SBS2003 SP2.


--
indifference_engine
------------------------------------------------------------------------
indifference_engine's Profile: http://forums.slimdevices.com/member.php?userid=20698
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
arztde
2010-01-05 02:11:45 UTC
Permalink
bobkoure;502602 Wrote:
> If you're looking to roll your own integer-math FLAC you might check
> RockBox. I expect they started out with the FLAC reference version, so
> even if what they did isn't directly useful, running a diff might give
> you a notion of what was needed.
> It might be easier to just use a box with a fpu...

No this machine will use shure not have a FPU. Maybee a FPU emulation
that can be activate.

Its also a proove of concept same like vpeter is doing. At later point
the idea is somehow to give a NAS, sheevaplug multimediaplayers and
other little machines the possibility of a external usb soundcard and
let them act as squeezeplayer as client.


--
arztde
------------------------------------------------------------------------
arztde's Profile: http://forums.slimdevices.com/member.php?userid=29528
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
Honva
2009-12-23 03:24:36 UTC
Permalink
ralphy;497019 Wrote:
> Try ./squeezeslave-lnx26 -r10
>
> Note the ./ at the beginning. In unix the current directory is not
> searched for executables unless it is in the PATH.
>
> You may also need to add the hostname of your Squeezebox Server after
> the -r10 separated by a space if the server is not running on the same
> computer.

Ralphy,
I have some more questions hope you or someone could answer. I am
running squeezecenter 7.3.4 on ubuntu 8.04.1. I saw that there is a
patch file for 7.3. What is that patch for? If needed, how do I apply
it?
Thanks.


--
Honva
------------------------------------------------------------------------
Honva's Profile: http://forums.slimdevices.com/member.php?userid=14948
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-12-23 12:15:21 UTC
Permalink
Honva;498359 Wrote:
> Ralphy,
> I have some more questions hope you or someone could answer. I am
> running squeezecenter 7.3.4 on ubuntu 8.04.1. I saw that there is a
> patch file for 7.3. What is that patch for? If needed, how do I apply
> it?
> Thanks.

Please read post #1 in this thread. Specifically the 'What changed in
Squeezeslave 0.9-65' section for answers to the first 2 questions.

See ' this'
(http://forums.slimdevices.com/showpost.php?p=434297&postcount=28) post
for details on applying the patch.


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-12-16 12:28:25 UTC
Permalink
fphredd;495837 Wrote:
> Tried the 'asio' version. After sleep, shows connected to squeezeslave,
> but no sound. Reboot, all is good.

What command line options are you using?

fphredd;495837 Wrote:
> Tried regular windows version to see if it was sound card driver
> related, but when I try to play through non-asio version I get
> 'output_thread: Portaudio error2: Unanticipated host error'

Do you get the same problem with the r95 direct sound binary?


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
fphredd
2009-12-16 18:00:58 UTC
Permalink
ralphy;496148 Wrote:
> What command line options are you using?

--retry and ip of NAS

squeezeslave-asio --retry 192.168.1.99

I read something about this issue in Windows 7, that's why i was also
trying the experiment with onboard sound. The soundcard I'm using with
its own asio driver is the E-mu 1212m...just an FYI

ralphy;496148 Wrote:
> Do you get the same problem with the r95 direct sound binary?

No

PS - This is an awesome thing to have; as others have stated, thanks
for the work :D


--
fphredd
------------------------------------------------------------------------
fphredd's Profile: http://forums.slimdevices.com/member.php?userid=33133
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-12-17 14:15:16 UTC
Permalink
fphredd;496236 Wrote:
>
> No
>

Here is a new 'windows'
(http://ralph_irving.users.sourceforge.net/squeezeslave-0.9-111-win32-beta.zip)
beta build r111. I've made a few changes to the audio output playing
state code and rolled backed the libportaudio to the same version as
r95.


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-12-18 11:54:28 UTC
Permalink
fphredd;495837 Wrote:
> Tried the 'asio' version. After sleep, shows connected to squeezeslave,
> but no sound. Reboot, all is good.
>

I found a bug in the new socket timeout code that reads the stream from
the server. It's not directly related, as I wasn't recovering from
system sleep, but rather waiting for my music HD to spin up again. This
can take longer than the 15 seconds I had set for this timeout. I need
to test this some more before releasing another update.


--
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
bobkoure
2009-10-20 22:09:22 UTC
Permalink
ralphy;428346 Wrote:
>
> Pandora doesn't work using the default hardware device/MAC address
> 00:00:00:00:00:01. You need to start squeezeslave using the
> -m00:04:20:00:00:01 command line option to set the MAC address to the
> slimdevices hardware range. The last three octets (00:00:01) may need to
> be increased depending on the range Pandora is checking for. Pandora is
> not available in my area to test the minimum range required.
As a possible data point I'm running v0.965 win32, with the command
line
-r1 -m:00:00:00:00:10 server3
and have no problems running Pandora.
I run Pandora through my server and am a paid-up Pandora subscriber.
I had been getting a 192CBR data stream, but, possibly coincidentally,
this dropped to 128 when I upgraded to server 7.41 from 7.33. I switched
to -m00:04:20:00:00:06 to see if that was going on, but still 128.
Thanks for doing all this work!
Do you need someone within Pandora-land to test the next version(s)?


--
bobkoure
------------------------------------------------------------------------
bobkoure's Profile: http://forums.slimdevices.com/member.php?userid=14646
View this thread: http://forums.slimdevices.com/showthread.php?t=63966
ralphy
2009-10-21 16:38:23 UTC
Permalink
bobkoure;475178 Wrote:
> As a possible data point I'm running v0.965 win32, with the command
> line
> -r1 -m:00:00:00:00:10 server3
> and have no problems running Pandora.
> I run Pandora through my server and am a paid-up Pandora subscriber.
> I had been getting a 192CBR data stream, but, possibly coincidentally,
> this dropped to 128 when I upgraded to server 7.41 from 7.33. I switched
> to -m00:04:20:00:00:06 to see if that was going on, but still 128.
> Thanks for doing all this work!
> Do you need someone within Pandora-land to test the next version(s)?

I don't think your issue is with squeezeslave. It only cares that the
samplerate of the stream is 44.1Kz. Sounds more like something has
changed in 7.4 and pandora.

Thanks for the offer to test pandora. I'll keep you in mind when I'm
getting close to having a new release available.


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