aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
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