PDA

View Full Version : skip to next/previous song problem



didjean
2007-09-01, 01:56
Hi there !

I am experciencing a problem. I've just updated to slim 6.5.5 and when I skip to next/previous song, Squeezebox stops for 5 seconds... It's not as straight as before...

Using apple lossless, Win XP. Never had such problem with previous version !

How to resolve this or how to download version 6.2.3 again ?

Thx for you help !

mherger
2007-09-01, 02:58
> I am experciencing a problem. I've just updated to slim 6.5.5 and when
> I skip to next/previous song, Squeezebox stops for 5 seconds... It's
> not as straight as before...

If you just installed the new version it very likely is still scanning your collection. What kind of machine is this? Are there any other services running?

Michael

didjean
2007-09-01, 05:47
> I am experciencing a problem. I've just updated to slim 6.5.5 and when
> I skip to next/previous song, Squeezebox stops for 5 seconds... It's
> not as straight as before...

If you just installed the new version it very likely is still scanning your collection. What kind of machine is this? Are there any other services running?

Michael

Thx for your answer...

P4, 2.60GHZ, 1Go RAM.

I don't think it's scanning...

Yes there are other services. But with the older version, I had no problem at all... Grrrr

didjean
2007-09-17, 14:34
I really don't understand. I've just tried different versions of Slimserver (clean install).

> 6.5.1 & 2 is running ok without any gap when I skip to next song.

> 6.5.3 won't start automatically at system start but ok when I skip

> 6.5.4 & 6.5.5 long gap ( 5 seconds) when I skip to next or previous song

I am sure this is not a re-scanning problem.... So what's wrong with those new versions ?

bpa
2007-09-17, 14:55
Get a log with d_source when playing a file and see what is being called.

It looks like something is wrong with the termination of the decoding application which should be ALAC.exe for Apple Lossless.

I think the difference between version is that socketwrapper was used in 6.5.1-6.5.3.

didjean
2007-09-18, 22:44
Hi bpa,

Thx for your answer !

I am sorry but I am not so familiar with what you explaining... :-)

I've tried to do a log with d_source: here is what I get (sorry for the lenght).

streamingSongIndex: Song queue is now 3
00:04:20:06:14:4d: Switching to mode play from stop
openSong on: file:///L:/My%20Music/iTunes/iTunes%20Music/Emilie%20Simon/V%E9g%E9tal/03%20Le%20Vieil%20Amant.m4a
openSong: duration: [276] size: [28218949] endian [] offset: [0] for file:///L:/My%20Music/iTunes/iTunes%20Music/Emilie%20Simon/V%E9g%E9tal/03%20Le%20Vieil%20Amant.m4a
undermax = 1, type = mov, squeezebox2 = 00:04:20:06:14:4d
getConvertCommand: track is alac - updating type!
checking formats for: alc-wma-squeezebox2-00:04:20:06:14:4d
checking formats for: alc-wma-*-00:04:20:06:14:4d
checking formats for: alc-wma-squeezebox2-*
checking formats for: alc-wma-*-*
checking formats for: alc-ogg-squeezebox2-00:04:20:06:14:4d
checking formats for: alc-ogg-*-00:04:20:06:14:4d
checking formats for: alc-ogg-squeezebox2-*
checking formats for: alc-ogg-*-*
checking formats for: alc-flc-squeezebox2-00:04:20:06:14:4d
checking formats for: alc-flc-*-00:04:20:06:14:4d
checking formats for: alc-flc-squeezebox2-*
checking formats for: alc-flc-*-*
Checking to see if alc-flc-*-* is enabled
enabled
Found command: [alac] $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 -
Matched Format: flc Type: alc Command: [alac] $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 -
openSong: this is an alc file: file:///L:/My%20Music/iTunes/iTunes%20Music/Emilie%20Simon/V%E9g%E9tal/03%20Le%20Vieil%20Amant.m4a
file type: alc format: flc inrate: 797 maxRate: 0
command: [alac] $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 -
Using command for conversion: "C:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\alac.exe" "L:\My Music\iTunes\iTunes Music\Emilie Simon\Végétal\03 Le Vieil Amant.m4a" | "C:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\flac.exe" -cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 - |
openSong: Streaming with format: flc
00:04:20:06:14:4d New play mode: play
00:04:20:06:14:4d: Current playmode: play
Got a track starting event
Song 3 has now started playing
trackStartEvent: Song queue is now 3
00:04:20:06:14:4d: Switching to mode stop from play
00:04:20:06:14:4d New play mode: stop
Stopping and clearing out old chunks for client 00:04:20:06:14:4d
Resetting song queue
resetSongQueue: Song queue is now 3
00:04:20:06:14:4d: Current playmode: stop
jumping by +1
Adding song index 4 to song queue
Clearing out song queue first
streamingSongIndex: Song queue is now 4
00:04:20:06:14:4d: Switching to mode play from stop
openSong on: file:///L:/My%20Music/iTunes/iTunes%20Music/Indochine/Radio%20Indochine/11%20Bienvenue%20Chez%20Les%20Nus.m4a
openSong: duration: [253] size: [33097459] endian [] offset: [0] for file:///L:/My%20Music/iTunes/iTunes%20Music/Indochine/Radio%20Indochine/11%20Bienvenue%20Chez%20Les%20Nus.m4a
undermax = 1, type = mov, squeezebox2 = 00:04:20:06:14:4d
getConvertCommand: track is alac - updating type!
checking formats for: alc-wma-squeezebox2-00:04:20:06:14:4d
checking formats for: alc-wma-*-00:04:20:06:14:4d
checking formats for: alc-wma-squeezebox2-*
checking formats for: alc-wma-*-*
checking formats for: alc-ogg-squeezebox2-00:04:20:06:14:4d
checking formats for: alc-ogg-*-00:04:20:06:14:4d
checking formats for: alc-ogg-squeezebox2-*
checking formats for: alc-ogg-*-*
checking formats for: alc-flc-squeezebox2-00:04:20:06:14:4d
checking formats for: alc-flc-*-00:04:20:06:14:4d
checking formats for: alc-flc-squeezebox2-*
checking formats for: alc-flc-*-*
Checking to see if alc-flc-*-* is enabled
enabled
Found command: [alac] $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 -
Matched Format: flc Type: alc Command: [alac] $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 -
openSong: this is an alc file: file:///L:/My%20Music/iTunes/iTunes%20Music/Indochine/Radio%20Indochine/11%20Bienvenue%20Chez%20Les%20Nus.m4a
file type: alc format: flc inrate: 1022 maxRate: 0
command: [alac] $FILE$ | [flac] -cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 -
Using command for conversion: "C:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\alac.exe" "L:\My Music\iTunes\iTunes Music\Indochine\Radio Indochine\11 Bienvenue Chez Les Nus.m4a" | "C:\Program Files\SlimServer\server\Bin\MSWin32-x86-multi-thread\flac.exe" -cs --totally-silent --compression-level-0 --endian big --sign signed --channels 2 --bps 16 --sample-rate 44100 - |
openSong: Streaming with format: flc
00:04:20:06:14:4d New play mode: play
00:04:20:06:14:4d: Current playmode: play
Got a track starting event
Song 4 has now started playing
trackStartEvent: Song queue is now 4
Got a track starting event
Song 4 has now started playing
trackStartEvent: Song queue is now 4

bpa
2007-09-19, 07:09
I've reproduced the problem and it is definitely a problem with ALAC - it looks like a problem that socketwrapper had. I'll see if I can find the problem in the code.

bpa
2007-09-19, 14:43
I've built a version of ALAC.exe which I think fixes the problem. Can you download and test it.

http://homepage.eircom.net/~altondsl/slim/alac.ZIP

Steps.

1. Download new ALAC.ZIP file and unzip in a temporary area.
2. Save the file alac.exe found in your Bin/MSWin32-x86-multi-threads directory ( default location C:/Program Files/SlimServer/server/Bin/MSWin32-x86-multi-threads ) so that you can revert if necessary.
3. copy new downloaded Alac.exe file into your Bin/MSWin32-x86-multi-threads

Can you test and report success/failure.

didjean
2007-09-20, 02:30
Thx for your answer and your help.
I'll test it tonight and let you know if this works as soon as possible

TomS
2007-09-20, 05:18
bpa-

assuming this fixes the problem, will it work on 6.5.4?

Thanks

Tom S

bpa
2007-09-20, 05:26
Yes - it is a just a small mod to the alac.exe file.

With other older 6.5 version you would need to update socketwrapper as well as it causes similar symptoms.

didjean
2007-09-20, 14:35
Bpa,

With your file, it works great on SlimServer Version: 6.5.5 - 13050 !!! No gaps anymore !

This is just perfect ! Hope they will use your alac.exe file for 6.5.6 ;-)

Cheers,

JF.

bpa
2007-09-20, 15:24
That's great - I'll wait for confirmation that the fix works for the other user before checking it in.

TomS
2007-09-20, 17:13
bpa-

Thanks - this works on 6.5.4 - 12568; removes the 4-5 second gap when hitting next track button (for apple lossless).

Tom