1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-03 17:59:24 +02:00

Fix pause state when transferring (#1444)

This commit is contained in:
Fabio Waljaard 2025-01-12 22:48:38 +01:00 committed by GitHub
parent 4cecb2289a
commit 3a570fc5f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -34,6 +34,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [discovery] Fix libmdns zerconf setup errors not propagating to the main task.
- [metadata] `Show::trailer_uri` is now optional since it isn't always present (breaking)
- [connect] Handle transfer of playback with empty "uri" field
- [connect] Correctly apply playing/paused state when transferring playback
### Removed

View file

@ -1140,7 +1140,7 @@ impl SpircTask {
_ => 0,
};
let is_playing = matches!(transfer.playback.is_paused, Some(is_playing) if is_playing);
let is_playing = !transfer.playback.is_paused();
if self.connect_state.current_track(|t| t.is_autoplay()) || autoplay {
debug!("currently in autoplay context, async resolving autoplay for {ctx_uri}");