songvivi / squeezelite

Automatically exported from code.google.com/p/squeezelite
Other
0 stars 0 forks source link

Synced squeezelite pauses every 35 seconds #100

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install Raspbian on Raspberry Pi A+ using Noobs, install squeezelite using 
this tutorial 
http://www.gerrelt.nl/RaspberryPi/wordpress/tutorial-installing-squeezelite-play
er-on-raspbian/
2. Start squeezelite using command 'squeezelite-armv6hf -a 100 -d 
slimproto=debug'
3. Sync player to Squeezebox Touch using Ipeng or LMS web interface.
4. Start song using Ipeng, any type (flac, mp4, mp3)

What is the expected output? 
I expect the song to play continously. 

What do you see instead?
Instead every 35 seconds both squeezelite and the Squeezebox Touch pause for a 
few seconds. Every 35 seconds squeezelite logs 'no messages from the server - 
connection dead' (see attached log), then reconnects. 

What version of the product are you using? On what operating system?
- LMS 7.7.3 on Raspbian Wheezy running on Raspberry Pi B
- Squeezebox Touch running 7.7.3
- 2 versions of Squeezelite (both have the problem):
1. squeezelite-armv6hf 1.7, downloaded from 
http://squeezelite-downloads.googlecode.com/git/squeezelite-armv6hf
2. squeezelite 1.8 compiled on the Raspberry Pi A+, source downloaded from 
https://squeezelite.googlecode.com/archive/8b8dfe6918ebe45ade5f3d9b68d453d7b8128
d99.tar.gz

Please provide any additional information below.
- I checked slimproto.c from the source I downloaded. The piece of code that 
timeouts after 35 seconds is at line 570. I commented out the 'return;' in line 
574 and rebuild, in a desparate attempt to workaround the issue. After starting 
syncing squeezelite to the Squeezebox touch the song played continously, no 
pause every 35 seconds. However after a few minutes the song stopped. (Sorry, 
no log from that event.)
- Log from squeezelite-armv6hf 1.7 showing the 35 second pause is in the 
attached file.
- Please let me know if more info is needed.

Original issue reported on code.google.com by remco.ja...@gmail.com on 16 May 2015 at 8:44

Attachments:

GoogleCodeExporter commented 8 years ago
I first reproduced the issue on a freshly compiled squeezelite 1.8 on my PC 
running Ubuntu 15.04.
Then I fixed the issue by restarting the LMS server. Now every 5 seconds these 
2 lines appear in the log:
[11:21:58.005661] process:494 strm
[11:21:58.005712] process_strm:256 strm command t

No more pauses every 35 seconds, issue solved

Original comment by remco.ja...@gmail.com on 16 May 2015 at 9:24