PDA

View Full Version : music cuts out then resumes



BNC
2015-04-26, 03:43
Hi all, firstly apologies if this has been covered elsewhere I have looked but cannot find an answer.

my setup is Logitech media server with 2 (wired) raspberry pi's and squeezelite / softsqueeze on the same computer as the server. The issue I am having is the music cuts out at random intervals and then resumes. The timer on the track playing in LMS keeps ticking over when this occurs. I have tried a number of versions of LMS (currently back on 7.7.5). I've tried everything I can think of (running as admin, setting higher priority, changing buffer size etc with no resolution).

Any suggestions would be appreciated.

BNC

Giza2020
2015-04-26, 06:40
Log in to ssh and type the command top see what the cpu of the squeeze server is

tcutting
2015-04-26, 07:31
Hi all, firstly apologies if this has been covered elsewhere I have looked but cannot find an answer.

my setup is Logitech media server with 2 (wired) raspberry pi's and squeezelite / softsqueeze on the same computer as the server. The issue I am having is the music cuts out at random intervals and then resumes. The timer on the track playing in LMS keeps ticking over when this occurs. I have tried a number of versions of LMS (currently back on 7.7.5). I've tried everything I can think of (running as admin, setting higher priority, changing buffer size etc with no resolution).

Any suggestions would be appreciated.

BNC

Are you running multiple players synchronized?


Sent from my HTC6525LVW using Tapatalk

BNC
2015-04-26, 08:35
Are you running multiple players synchronized?


Yes, I synchronize across all three players the 2 pi's and the squeezelite. I'm running the server on a win7 box.

Giza2020
2015-04-26, 08:46
I asked you to look at top so you can see if the pi cpu is stuggling. Mine was and i found out having upnp add on turned on meant my tv was hogging cpu of the pi as it tried to connect to the upnp...if you can't look at the top command try pulling out the lan cables from the router to reduce anything trying to speak to the pi

Giza2020
2015-04-26, 08:47
Sorry noticed the pi isn't the server. .maybe not the solution then

tcutting
2015-04-26, 11:52
Yes, I synchronize across all three players the 2 pi's and the squeezelite. I'm running the server on a win7 box.

I suspect what you're hearing are the players struggling to stay in sync. Are the clocks accurate on the pi's and squeezelite box?

Sent from my HTC6525LVW using Tapatalk

BNC
2015-04-26, 15:13
I suspect what you're hearing are the players struggling to stay in sync. Are the clocks accurate on the pi's and squeezelite box?


I will check this out. I've always had one of the pi's connected but not being used. I'll disconnect it and test with just the squeezelite, then will add a pi at a time and check the time on them.
Thanks

BNC
2015-04-27, 07:23
Things have gotten exponentially better since disconnecting "always connected" pi when it wasn't being used. Seeing as it wasn't costing me much to keep it powered up all the time I just kept it on... I didn't think for a second it would cause issues with syncing if it wasn't being used (by me and the amp). My main thought was it's something on my pc that's causing the server take back seat and stop the audio. Thanks tcutting for making me think about "what you're hearing are the players struggling to stay in sync". I've had many times in the past when I was using softsqueeze and the other (not always connected) pi and getting many cut outs or drops in the music. At other times when running everything at once (both pi's and the softsqueeze) it's played flawlessly. Guess assumptions got the better of me. I've given up looking for this solution many times in the past year I've had this setup. Glad someone could help me get to the bottom of it.
Just as I was typing this the music cut out again. I pulled the plug on the "always connected" (but not used) pi and solved the issue once again.
Cheers
BNC

Giza2020
2015-04-27, 10:28
I'd still want to know what is making the unused pi do work. ..what is 'speaking' to it? Are they just squeezelite devices? if lms isn't being called by them what is?

Did you ever look at the cpu load on the pis?

If pulling the plug works as a solution all cool but seems odd you need to do that.

I have 3 or 4 players synchronised to a lms server on a low powered pi model b and none of my pis or boom or duet have this issue.