paul- wrote:
> That was with all=debug......before and after the log that I posted,
> there are the normal messages that pop in every 100ms from slimproto_run
> loop.
Could you try this:
Code:
--------------------
--- a/output.c
+++ b/output.c
@@ -1493,7 +1493,9 @@ void output_flush(void) {
buf_flush(outputbuf);
LOCK;
output.fade = FADE_INACTIVE;
- output.state = OUTPUT_STOPPED;
+ if (output.state != OUTPUT_OFF) {
+ output.state = OUTPUT_STOPPED;
+ }
output.frames_played = 0;
UNLOCK;
}
--------------------
I think this will avoid the problem, but I need to understand if there
are any side effects. The problem is caused by the server sending a
control message to the player even though it is off and this currently
causing squeezelite to move out of the output off mode.
------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=97046
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix