From ee8ac99d9fa1f348065108b73297eebc8033e57e Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Thu, 17 Jul 2025 15:31:38 +0200 Subject: Use objc2, rename dbus to mpris, add swinsian --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 4a3c05f..4cae988 100644 --- a/src/main.rs +++ b/src/main.rs @@ -101,8 +101,8 @@ async fn run() -> Result<()> { artist, }; } else { - current_track = - get_track().ok_or_else(|| Error::other("No Artist/Song could be found :("))? + current_track = get_track(&configuration) + .ok_or_else(|| Error::other("No Artist/Song could be found :("))? } print_lyrics(current_track, arguments.show_title).await -- cgit