Skip to content

Commit 6a07e0c

Browse files
committed
Add CHANGELOG, reformat
1 parent d0dd9a7 commit 6a07e0c

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Added
1111

1212
- [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)
1414

1515
### Changed
1616

src/player_event_handler.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,7 @@ impl EventHandler {
239239
env_vars.insert("PLAYER_EVENT", "set_queue".to_string());
240240
env_vars.insert("CONTEXT_URI", context_uri);
241241
if let Some((uri, provider)) = current_track {
242-
env_vars
243-
.insert("CURRENT_TRACK", format!("{uri}\t{provider}"));
242+
env_vars.insert("CURRENT_TRACK", format!("{uri}\t{provider}"));
244243
}
245244
env_vars.insert(
246245
"NEXT_TRACKS",

0 commit comments

Comments
 (0)