PDA

View Full Version : Sync



DiSNEYN
2009-10-09, 00:16
I never manage to sync my squeezebox classic and my squeezebox boom. Why? What is the problem? How to solve it? The players are playing the same music but not in sync.

/Hans

aubuti
2009-10-09, 05:44
Sync should work just fine with a Boom and a Classic/SB3, but there is no way anyone can offer much help without providing some more information, such as:
- server operating system and hardware
- SC/SbS version
- wired or wifi or both
- what are you trying to stream (eg, local MP3s, local FLAC, radio streams, music services like Pandora, etc.)
- are you doing any transcoding
- a description of *how* they are out of sync. Do they start in sync and then drift apart or are they never in sync? How are out of sync are they, fractions of seconds or several seconds? Do they re-sync when a new track starts?

I've probably left out some important elements, but at least that info will help get things going.

SteveEast
2009-10-09, 06:24
I'll add a question:

- what are your sync settings

Steve.

DigitalMitch
2009-10-09, 07:47
I run 2*SB3, 2*SBR, 1*Boom and 1* Radio all sync'd and controlled via and SBC and/or iPeng.

They are generally all sync'd together and stay perfectly locked.

Very occasionally I have had 1 or 2 drift by 1/2 - 5 seconds. This has normally occurred after a rebuffering problem and is fixed by power cycling the offedning unit(s). This hasn't happened since I moved most to wired (via HomePlug) and subsequently to 7.4.

I power them up and down and add them in and out of sync groups flawlessly.

SBS is 7.4 on WHS (HP MediaSmart)

DiSNEYN
2009-10-19, 06:04
Sorry, here are my information:

server operating system and hardware:
Windows XP
INTEL CORE 2 DUO E8400 3.0GHZ 6MB 1333MHZ S-775 /INTEL DG45ID G45 S-775 M-ATX / CORSAIR 4GB VS DDR2 PC6400 800MHZ CL5 (2X2GB)
SATA Western Digital 320 GB Harddrive

SC/SbS version:
Version: 7.4.0 - r28672 @ Mon Sep 28 19:51:11 PDT 2009
Hostname: hans
Server IP Address: 192.168.0.x
Server HTTP Port Number: 9000
Operating system: Windows XP - EN - cp1252
Platform Architecture: 586
Perl Version: 5.10.0 - MSWin32-x86-multi-thread
MySQL Version: 5.0.22-community-nt
Total Players Recognized: 3

---

SQUEEZEBOX
Player Model: squeezebox3
Firmware: 130
Player IP Address: 192.168.0.19x
Player MAC Address: 00:04:20:12:26:6x
Wireless Signal Strength: 89%

SQUEEZEBOX BOOM
Player Model: boom
Firmware: 50
Player IP Address: 192.168.0.19x
Player MAC Address: 00:04:20:1f:01:ex
Wireless Signal Strength: 94%

SQUEEZEBOX RADIO
Player Model: baby
Firmware: 7.4.0-r7790
Player IP Address: 192.168.0.18x
Player MAC Address: 00:04:20:26:1b:ex
Wireless Signal Strength: 100%

(Masked ip/mac with X in the end)

---

wired or wifi or both:
All players connected trough WIFI

---

what are you trying to stream (eg, local MP3s, local FLAC, radio streams, music services like Pandora, etc.):

I've tried both Internet radio and MP3 music, booth unsync.
Slightly better with internet radio i think.

--

are you doing any transcoding:

No, not that i know of.

--
a description of *how* they are out of sync. Do they start in sync and then drift apart or are they never in sync? How are out of sync are they, fractions of seconds or several seconds? Do they re-sync when a new track starts?:

What could describe it better than a small movie:

http://www.youtube.com/watch?v=DF2qBzjn3mY

The out-of-sync it is I would describe it as somewhere between fractions of seconds and a few seconds.

--

What sync settings?:

I've no idea, the standard i guess?

Please help!

/Hans




Sync should work just fine with a Boom and a Classic/SB3, but there is no way anyone can offer much help without providing some more information, such as:
- server operating system and hardware
- SC/SbS version
- wired or wifi or both
- what are you trying to stream (eg, local MP3s, local FLAC, radio streams, music services like Pandora, etc.)
- are you doing any transcoding
- a description of *how* they are out of sync. Do they start in sync and then drift apart or are they never in sync? How are out of sync are they, fractions of seconds or several seconds? Do they re-sync when a new track starts?

I've probably left out some important elements, but at least that info will help get things going.

pippin
2009-10-19, 06:12
What file format do you use for local files?

DiSNEYN
2009-10-19, 06:15
What file format do you use for local files?

MP3, both CBR and VBR.

btw, love your software ipeng (I bought it @ appstore)

Thanks for your help!

/Hans

Mnyb
2009-10-19, 06:29
what kind of router do you have ?

pippin
2009-10-19, 06:36
MP3, both CBR and VBR.

btw, love your software ipeng (I bought it @ appstore)


Thanks :-)

Do you see the same issues when you leave Baby (Radio) out of the equation?
Could you try to update to the most recent 7.4.1 beta?

DiSNEYN
2009-10-19, 06:58
what kind of router do you have ?
D-Link Dir 855

/Hans

DiSNEYN
2009-10-19, 07:36
Thanks :-)

Do you see the same issues when you leave Baby (Radio) out of the equation?
Could you try to update to the most recent 7.4.1 beta?

Same result when leaving baby outside this.

I will try to install the latest beta to see if it makes any diffrents.

Thanks / Hans

DiSNEYN
2009-10-19, 08:03
Same result when leaving baby outside this.

I will try to install the latest beta to see if it makes any diffrents.

Thanks / Hans

With the latest beta it works PERFECT!!!! Thanks Pippin!

Now the the question is what in the "official version" that was wrong?

Version: 7.5.0 - r28914 @ Mon Oct 19 04:02:17 PDT 2009
Hostname: hans
Server IP Address: 192.168.0.19x
Server HTTP Port Number: 9000
Operating system: Windows XP - EN - cp1252
Platform Architecture: 586
Perl Version: 5.10.0 - MSWin32-x86-multi-thread
MySQL Version: 5.0.22-community-nt
Total Players Recognized: 3

DiSNEYN
2009-10-20, 12:06
With the latest beta it works PERFECT!!!! Thanks Pippin!

Now the the question is what in the "official version" that was wrong?

Version: 7.5.0 - r28914 @ Mon Oct 19 04:02:17 PDT 2009
Hostname: hans
Server IP Address: 192.168.0.19x
Server HTTP Port Number: 9000
Operating system: Windows XP - EN - cp1252
Platform Architecture: 586
Perl Version: 5.10.0 - MSWin32-x86-multi-thread
MySQL Version: 5.0.22-community-nt
Total Players Recognized: 3

Problem is BACK!!!!

Still unsync, what to do? I havent changed anything!!

/Hans

DiSNEYN
2009-10-20, 13:50
Problem is BACK!!!!

Still unsync, what to do? I havent changed anything!!

/Hans

And now they are back insync.

Strange!!

Why is this so unstable?

Playing mp3-files booth times.

/Hans

aubuti
2009-10-20, 14:05
Why is this so unstable?
I have no idea why it is so unpredictable in your case. When playing local MP3s, if they are out of sync do they re-sync when you skip to the next track by pressing >>? When I used to have sync problems (pre-7.3) that was usually pretty reliable for re-syncing players. In another thread some others have reported that power cycling the SBs helps with sync performance. I'd recommend unplugging them from the mains and leaving them unplugged for a good 10-20 seconds before plugging back in.

Ben Sandee
2009-10-20, 15:17
On Tue, Oct 20, 2009 at 3:50 PM, DiSNEYN
<DiSNEYN.40dhon1256071922 (AT) no-mx (DOT) forums.slimdevices.com> wrote:
>
> DiSNEYN;475070 Wrote:
>> Problem is BACK!!!!
>>
>> Still unsync, what to do? I havent changed anything!!
>>
>> /Hans
>
> And now they are back insync.
>
> Strange!!
>
> Why is this so unstable?
>
> Playing mp3-files booth times.

Make sure your server clock is stable and correct. The new sync
mechanism will not work well if your server does not keep good time.

Ben

pfarrell
2009-10-20, 15:20
Ben Sandee wrote:
> Make sure your server clock is stable and correct. The new sync
> mechanism will not work well if your server does not keep good time.

Interesting, do you mean that it can get out of sync when the PC/Mac's
internal OS time is not kept well?

Does using http://www.pool.ntp.org
help, since that is a easy to use source of the real time.

--
Pat Farrell
http://www.pfarrell.com/

Ben Sandee
2009-10-20, 17:29
On Tue, Oct 20, 2009 at 5:20 PM, Pat Farrell <pfarrell (AT) pfarrell (DOT) com> wrote:
> Ben Sandee wrote:
>> Make sure your server clock is stable and correct. The new sync
>> mechanism will not work well if your server does not keep good time.
>
> Interesting, do you mean that it can get out of sync when the PC/Mac's
> internal OS time is not kept well?
>
> Does using http://www.pool.ntp.org
> help, since that is a easy to use source of the real time.

I don't claim to understand the actual internals of the sync mechanism
-- awy can probably explain in more detail. I remember in the past
many times people have had problems if their server clock did not keep
correct time.

As for whether using NTP will help -- I'm unsure. One characteristic
of an NTP-sync'd clock when your server clock is drifting quickly is
that you may see little "jumps" when corrections are made -- it could
very well cause even more bizarre sync behavior but make the server
appear stable.

Ben

DiSNEYN
2009-10-20, 23:58
On Tue, Oct 20, 2009 at 5:20 PM, Pat Farrell <pfarrell (AT) pfarrell (DOT) com> wrote:
> Ben Sandee wrote:
>> Make sure your server clock is stable and correct. *The new sync
>> mechanism will not work well if your server does not keep good time.
>
> Interesting, do you mean that it can get out of sync when the PC/Mac's
> internal OS time is not kept well?
>
> Does using http://www.pool.ntp.org
> help, since that is a easy to use source of the real time.

I don't claim to understand the actual internals of the sync mechanism
-- awy can probably explain in more detail. I remember in the past
many times people have had problems if their server clock did not keep
correct time.

As for whether using NTP will help -- I'm unsure. One characteristic
of an NTP-sync'd clock when your server clock is drifting quickly is
that you may see little "jumps" when corrections are made -- it could
very well cause even more bizarre sync behavior but make the server
appear stable.

Ben

I never hear "corrections", if they are insync there are and if not they arn't. How do you set so the squeezecenter do automatccly corrections?

/Hans

Millwood
2009-10-21, 07:26
I can't imagine why this setting would be wrong but -

Using the web interface-> settings->player make sure that the sync settings for each player have
maintain synchronization while playing
selected.

Ben Sandee
2009-10-21, 07:44
On Wed, Oct 21, 2009 at 1:58 AM, DiSNEYN
<DiSNEYN.40e9tz1256108401 (AT) no-mx (DOT) forums.slimdevices.com> wrote:
>
> I never hear "corrections", if they are insync there are and if not
> they arn't. How do you set so the squeezecenter do automatccly
> corrections?

I was referring to using an NTP server to maintain your server at a
correct time. If your server clock is drifting, the NTP process will
periodically adjust the time on your server. These corrections can
cause havoc with anything that is closely monitoring the time on the
server because time may appear to move backwards if your server clock
is drifting fast.

This is all over my head anyway -- it was just an observation. I've
got my players set in sync and I can't remember the last time there
was any issue with them. I hope you get your problems sorted out.

You could try enabling player.sync in your advanced debug settings
from the web UI. Next time things get out of sync, post the relevant
part of the server log to the thread.

Ben

DiSNEYN
2009-10-21, 08:37
I can't imagine why this setting would be wrong but -

Using the web interface-> settings->player make sure that the sync settings for each player have
maintain synchronization while playing
selected.

Millwood: The settings was correct on every player.

Now it works perfect again!

I hope it stays this way now!!

/Hans