diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-07-17 15:31:38 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-07-17 15:31:38 +0200 |
| commit | ee8ac99d9fa1f348065108b73297eebc8033e57e (patch) | |
| tree | ffccfd2492503c667d9d7fe67361294fef54d130 /src/main.rs | |
| parent | b3964aefbcab8ff098afabf64befa04a4eebd993 (diff) | |
Use objc2, rename dbus to mpris, add swinsian4.0.0
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 4 |
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 |