diff --git a/src/ui/window.rs b/src/ui/window.rs index 0c73099..7b78e55 100644 --- a/src/ui/window.rs +++ b/src/ui/window.rs @@ -246,7 +246,15 @@ mod imp { // ^ ignore } + Event::Seek => { + event!(Level::INFO, "seek event"); + // TODO: if doing "buffering" progress bar, show it after a timeout here + } + Event::PlaybackRestart => { + event!(Level::INFO, "playback restart event"); + // TODO: if doing "buffering" progress bar, hide it here + if let Some(queued_seek) = window.imp().queued_seek.take() { // a seek was tried before and failed, try again now event!(Level::INFO, "performing queued seek to {queued_seek}"); @@ -255,6 +263,8 @@ mod imp { } Event::EndFile(event) => { + event!(Level::INFO, "end file event: {event:?}"); + if let Err(err) = event.reason { event!(Level::ERROR, "end file error: {err}"); }