Export the current queue.

This commit is contained in:
Simon Persson 2016-02-17 20:35:52 +01:00
parent 8e0325c297
commit 906241b92e

View file

@ -169,6 +169,10 @@ impl SpircManager {
.state(state) .state(state)
.send(); .send();
} }
pub fn get_queue(&self) -> Vec<SpotifyId> {
self.0.lock().unwrap().tracks.clone()
}
} }
impl SpircInternal { impl SpircInternal {