Compare commits

..

2 commits

Author SHA1 Message Date
3f10dbc102 update time-pos in all cases when seeking
otherwise the timeout won't notify of it if playback is paused
2024-11-06 11:39:33 +01:00
15ec2432c0 audrey version 2024-11-06 11:37:12 +01:00
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
[package] [package]
name = "audrey" name = "audrey"
version = "0.1.0" version = "0.1.0" # AUDREY_VERSION
edition = "2021" edition = "2021"
[dependencies] [dependencies]

View file

@ -655,10 +655,10 @@ impl Window {
Err(err) => { Err(err) => {
event!(Level::INFO, "queuing seek to {new_position}: {err}"); event!(Level::INFO, "queuing seek to {new_position}: {err}");
self.imp().queued_seek.set(Some(new_position)); self.imp().queued_seek.set(Some(new_position));
}
}
self.notify("time-pos"); self.notify("time-pos");
} }
}
}
pub fn playlist_move(&self, from: u32, to: u32) { pub fn playlist_move(&self, from: u32, to: u32) {
// NOTE: for mpv, to refers to the "gap" right before i // NOTE: for mpv, to refers to the "gap" right before i