From 27f75fd8d3a6cc40c668b7251ed4d9c32d91fa6c Mon Sep 17 00:00:00 2001 From: salmonik Date: Tue, 26 May 2026 06:38:18 +0200 Subject: bin size optimizations and queue stopping at the end of it --- src/daemon.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/daemon.rs') diff --git a/src/daemon.rs b/src/daemon.rs index b18ecc9..48330ae 100644 --- a/src/daemon.rs +++ b/src/daemon.rs @@ -346,6 +346,7 @@ pub fn start_daemon() -> Result<(), Box> { notification::notify_error("Playback failed"); } else { notification::notify_queue_ended(); + q.clear(); } } } @@ -600,6 +601,7 @@ fn process_command( } else { audio.stop(); notification::notify_queue_ended(); + q.clear(); "Queue empty, stopped\n".to_string() } } else { -- cgit v1.2.3