Add notification customization (#893)
* Add custom notification formatting * Added `notification_format` to README * cleaned up code formatting * Fix typo Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
This commit is contained in:
@@ -175,10 +175,14 @@ async fn main() -> Result<(), String> {
|
||||
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()));
|
||||
|
||||
let library = Arc::new(Library::new(&event_manager, spotify.clone(), cfg.clone()));
|
||||
|
||||
let queue = Arc::new(queue::Queue::new(
|
||||
spotify.clone(),
|
||||
cfg.clone(),
|
||||
library.clone(),
|
||||
));
|
||||
|
||||
#[cfg(feature = "mpris")]
|
||||
let mpris_manager = Arc::new(mpris::MprisManager::new(
|
||||
event_manager.clone(),
|
||||
|
||||
Reference in New Issue
Block a user