+1
-1
scripts/lyricfetch.nu
+1
-1
scripts/lyricfetch.nu
···
127
127
return null
128
128
}
129
129
130
-
if $search_result.title != $title or $search_result.artist != $artist {
130
+
if ($search_result.title | str downcase) != ($title | str downcase) or ($search_result.artist | str downcase) != ($artist | str downcase) {
131
131
print -n $"Best result: (ansi green)($search_result.title)(ansi reset) by (ansi green)($search_result.artist)(ansi reset). Is this correct? [Y/n]: "
132
132
match (input -n 1 | str downcase) {
133
133
"n" => (return null)