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
* Emit `Player::SetQueue` event
* Remve AddToQueue, switch to SetQueue
* Add CHANGELOG, reformat
* Emit `SetQueue` once when a track collection is added
* Clarify wording
Co-authored-by: Copilot <[email protected]>
* Just call `emit_set_queue_event()` instead of duplicating
* Use QueueTrack struct instead of `(String, String)`
* Make SetQueue an opt-in event
Other expensive events might be added to `OptInPlayerEvents` in the
future.
* Refactor to use `ConnectConfig` for opting in to `SetQueue` events
* Use explicit initializer value
Co-authored-by: Felix Prillwitz <[email protected]>
* Move variable closer to usage
* Fix formatting
---------
Co-authored-by: Ralph von der Heyden <>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Felix Prillwitz <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
### Added
11
11
12
12
-[connect] Add method `add_to_queue` to `Spirc` to add tracks, episodes, albums and playlists to the queue
13
-
-[playback] Add `AddedToQueue` player event, emitting when a track was added to the queue with `Spirc::add_to_queue`
13
+
-[playback] Add `SetQueue` player event, emitting when the queue changes (context loaded, track added to queue, or queue set via Spotify Connect). Gated behind `ConnectConfig::emit_set_queue_events`
0 commit comments