update time-pos in all cases when seeking

otherwise the timeout won't notify of it if playback is paused
This commit is contained in:
Erica Z 2024-11-06 11:39:33 +01:00
parent 15ec2432c0
commit 3f10dbc102

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