mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #206] [MERGED] do not panic on connection reset #835
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#835
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/librespot-org/librespot/pull/206
Author: @lrbalt
Created: 4/21/2018
Status: ✅ Merged
Merged: 4/25/2018
Merged by: @sashahilton00
Base:
master← Head:master📝 Commits (2)
2aea0e8do not panic on connection resetab70e6erun rustfmt --all📊 Changes
7 files changed (+36 additions, -6 deletions)
View changed files
📝
audio/src/decrypt.rs(+1 -1)📝
audio/src/fetch.rs(+1 -1)📝
audio/src/lewton_decoder.rs(+1 -1)📝
connect/src/spirc.rs(+4 -0)📝
core/src/session.rs(+24 -2)📝
playback/src/mixer/softmixer.rs(+1 -1)📝
playback/src/player.rs(+4 -0)📄 Description
If Spotify cannot communicate with your Librespot device, the connection is reset. This patch handles this case by stopping the Session, Spirc and Player. Librespot then keeps listening for new connections
This should fix #196 and #134
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.