recreate librespot session when it's invalid

initial attempt to handle #192
This commit is contained in:
Henrik Friedrichsen
2020-06-13 20:23:28 +02:00
parent e55d0ac7ba
commit 8013609d0e
3 changed files with 103 additions and 36 deletions

View File

@@ -5,6 +5,7 @@ use crate::spotify::PlayerEvent;
pub enum Event {
Player(PlayerEvent),
SessionDied,
}
pub type EventSender = Sender<Event>;