You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I sometimes experience connection issues where librespot loses connection:
ERROR librespot_core::session] Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" }
and playback is stopped.
In that case sink closed event is not generated.
I'm using those events to power off speakers when there's no playback and turn them back on when sink start event arrives. So if connection drops, monitoring program keeps everything powered. It would be helpful to either send sink stop or some other event indicating that playback was stopped.
The text was updated successfully, but these errors were encountered:
I sometimes experience connection issues where librespot loses connection:
ERROR librespot_core::session] Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" }
and playback is stopped.
In that case sink closed event is not generated.
I'm using those events to power off speakers when there's no playback and turn them back on when sink start event arrives. So if connection drops, monitoring program keeps everything powered. It would be helpful to either send sink stop or some other event indicating that playback was stopped.
The text was updated successfully, but these errors were encountered: