log some more bullshit
This commit is contained in:
parent
d3641a6f33
commit
c25226f7c2
1 changed files with 10 additions and 0 deletions
|
@ -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}");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue