summaryrefslogtreecommitdiffstats
path: root/src/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.rs')
-rw-r--r--src/state.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/state.rs b/src/state.rs
index 2797254..bf953ce 100644
--- a/src/state.rs
+++ b/src/state.rs
@@ -375,6 +375,8 @@ impl State {
.lock()
.expect("Mutex was not poisoned")
.clear();
+
+ self.send_message(MessageTarget::Channel, "Playlist was cleared");
}
pub fn pause(&self) {