mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Export the current queue.
This commit is contained in:
parent
8e0325c297
commit
906241b92e
1 changed files with 4 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue