I have some further logs gathered from when Squeezelite suddenly stops
streaming on my Raspberry.

The Squeezelite process using the first USB audio device reports the
following (-d all=debug) at the time it stops streaming:


[15:25:10.841328] process:343 strm
[15:25:10.841683] process_strm:202 strm command s
[15:25:10.844582] process_strm:259 strm s autostart: 3
[15:25:10.844782] sendSTAT:134 STAT: STMf
[15:25:10.845103] codec_open:123 codec open: 'f'
[15:25:10.845403] stream_sock:315 connecting to 192.168.0.50:9005
[15:25:10.847111] stream_sock:353 header: GET
spotify:track:3TanS6liq9tdVj529GZ3v7/stream.flc?player=aa%3A00%3A00%3A00%3A00%3A01&start=0&sync=1&id=261
SPOTSTREAM/1.0
[15:25:10.848290] sendSTAT:134 STAT: STMc
[15:25:10.852599] process:343 audg
[15:25:10.855335] process_audg:317 audg gainL: 1230 gainR: 1230 adjust:
1
[15:25:10.914286] stream_thread:131 error reading headers: closed
[15:25:15.004276] process:343 strm
[15:25:15.005482] process_strm:202 strm command t
[15:25:15.006620] sendSTAT:134 STAT: STMt
[15:25:20.036631] process:343 strm


If I try to restart the squeezelite processes, the squeezelite process
using the _second_ USB audio device reports the following:

[15:30:17.678889] sendRESP:165 RESP
[15:30:17.682945] process:343 cont
[15:30:17.683233] process_cont:283 cont metaint: 16000 loop: 0
[15:30:17.890863] stream_thread:202 icy meta: len: 64
StreamTitle='Llewellyn - The Angel Garden [3WA]';
[15:30:17.893150] sendMETA:178 META
[15:30:18.088411] sendSTAT:134 STAT: STMt
[15:30:18.153846] mad_decode:169 mad_frame_decode error: bad
main_data_begin pointer
[15:30:18.155362] mad_decode:169 mad_frame_decode error: bad
main_data_begin pointer
[15:30:18.158241] mad_decode:179 setting track_start
[15:30:18.159406] mad_decode:196 gapless: skipping 529 frames at start
[15:30:18.167234] output_thread:309 XRUN
[15:30:18.173148] output_thread:457 track start sample rate: 22050
replay_gain: 0
[15:30:18.174531] output_thread:301 open output device: usb1
[15:30:18.175545] sendSTAT:134 STAT: STMs
[15:30:18.179649] alsa_open:192 opened device usb1 using format: S16_LE
sample rate: 22050
[15:30:18.181132] alsa_open:211 sample rate not available: Invalid
argument
[15:30:18.187715] output_thread:330 start error: Input/output error
[15:30:18.199173] output_thread:301 open output device: usb1
[15:30:18.202523] alsa_open:192 opened device usb1 using format: S16_LE
sample rate: 22050
[15:30:18.203778] alsa_open:211 sample rate not available: Invalid
argument
[15:30:18.205146] output_thread:330 start error: Input/output error
[15:30:18.216746] output_thread:301 open output device: usb1
[15:30:18.219199] alsa_open:192 opened device usb1 using format: S16_LE
sample rate: 22050
[15:30:18.220774] alsa_open:211 sample rate not available: Invalid
argument
[15:30:18.222089] output_thread:330 start error: Input/output error


Waiting a few minutes before restarting the processes seems to avoid the
problem. Obviously, a Raspberry reboot also does the trick.


------------------------------------------------------------------------
john.vestberg's Profile: http://forums.slimdevices.com/member.php?userid=51653
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to