diff --git a/src/spirc.rs b/src/spirc.rs index 16c26a2f..d7779478 100644 --- a/src/spirc.rs +++ b/src/spirc.rs @@ -169,6 +169,10 @@ impl SpircManager { .state(state) .send(); } + + pub fn get_queue(&self) -> Vec { + self.0.lock().unwrap().tracks.clone() + } } impl SpircInternal {