aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 86f6136..a6312c3 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -340,6 +340,8 @@ impl Instance {
})?;
if self.current_progress() == 1.0 {
+ self.play.pause();
+
if self.autoplay_state.repeat {
self.play.play();
} else if self.autoplay_state.sequential {