Print Spotify connection message only once
To avoid the terminal output getting garbled when ncspot is reconnecting
This commit is contained in:
@@ -168,6 +168,7 @@ async fn main() {
|
||||
|
||||
let event_manager = EventManager::new(cursive.cb_sink().clone());
|
||||
|
||||
println!("Connecting to Spotify..");
|
||||
let spotify = spotify::Spotify::new(event_manager.clone(), credentials, cfg.clone());
|
||||
|
||||
let queue = Arc::new(queue::Queue::new(spotify.clone(), cfg.clone()));
|
||||
|
||||
Reference in New Issue
Block a user