Various scripts that I maintain

Remove lyrics tag if the track is an instrumental

Signed-off-by: Shiloh Fen <shiloh@shilohfen.com>

Changed files
+3
scripts
+3
scripts/lyricfetch.nu
··· 45 45 fetch-lyrics dumb --instance $dumb_instance $"($meta.artist) ($meta.title)" 46 46 | if $in == null { 47 47 print $"(ansi red)No lyrics found for (ansi yellow)($meta.artist) – ($meta.title)(ansi reset)" 48 + } else if ($in | is-empty) { 49 + metaflac $file --remove-tag $"LYRICS" 50 + print $"Updated lyrics for (ansi green)($meta.artist) – ($meta.title)(ansi reset)" 48 51 } else { 49 52 metaflac $file --set-tag $"LYRICS=($in)" 50 53 print $"Updated lyrics for (ansi green)($meta.artist) – ($meta.title)(ansi reset)"