repo: music action: commit revision: path_from: revision_from: ec37f702939b2a58519ba918bd815ff7f5f3e8d7: path_to: revision_to:
commit ec37f702939b2a58519ba918bd815ff7f5f3e8d7 Author: epochDate: Mon Jul 15 21:36:24 2024 -0500 I am stupid. forgot to remove debug prints which made it worse. diff --git a/music-fileinfo b/music-fileinfo
--- a/music-fileinfo
+++ b/music-fileinfo
@@ -59,17 +59,13 @@ else
fi
if [ "$artist" -a "$title" -a "$album" -a "$year" ];then
- echo 1
printf '"%s" by %s on %s (%s) [%s]\n' "$title" "$artist" "$album" "$year" "$length"
elif [ "$artist" -a "$title" -a "$year" ];then
- echo 2
printf '"%s" by %s (%s) [%s]\n' "$title" "$artist" "$year" "$length"
elif [ "$artist" -a "$title" ];then
- echo 3
printf '"%s" by %s [%s]\n' "$title" "$artist" "$length"
else
printf "%s [%s]" "$(printf "%s\n" "$file" | sed "s|$HOME/Music/||")" "$length"
- echo 4
if [ "$artist$title$album$year" ];then
printf "misc metadata: artist: %s title: %s album: %s year: %s\n" "$artist" "$title" "$album" "$year"
else
-----END OF PAGE-----