Skip to content

Commit

Permalink
Merge pull request #49 from snylonue/fix/pause-on-open
Browse files Browse the repository at this point in the history
fix(playback): pause rather than stop before open
  • Loading branch information
snylonue authored Aug 9, 2024
2 parents 431496d + 10f6fdf commit 024625e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anni-playback/src/player.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ impl AnniPlayer {
pub fn open(&self, track: TrackIdentifier, quality: AudioQuality) -> anyhow::Result<()> {
log::info!("loading track: {track}");

self.controls.stop();
self.controls.pause();

let provider = self.provider.read().unwrap();

Expand Down

0 comments on commit 024625e

Please sign in to comment.