aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2025-07-17 15:31:38 +0200
committerRuben Beltran del Rio <git@r.bdr.sh>2025-07-17 15:31:38 +0200
commitee8ac99d9fa1f348065108b73297eebc8033e57e (patch)
treeffccfd2492503c667d9d7fe67361294fef54d130 /src/main.rs
parentb3964aefbcab8ff098afabf64befa04a4eebd993 (diff)
Use objc2, rename dbus to mpris, add swinsian4.0.0
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
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