From 3c9a0223bc6afe9cae90e900d80e9383ae7f57b7 Mon Sep 17 00:00:00 2001 From: Gabe Farrell Date: Tue, 29 Apr 2025 19:43:16 -0400 Subject: [PATCH] hdusyad --- fix_album_tags_flac.sh | 3 +++ set_albumartist_to_all_flac.sh | 9 +++------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fix_album_tags_flac.sh b/fix_album_tags_flac.sh index 4579c2d..121bc4d 100755 --- a/fix_album_tags_flac.sh +++ b/fix_album_tags_flac.sh @@ -1,5 +1,8 @@ #!/bin/bash +# Sets the tags DATE, ARTIST, ORIGINALDATE, ALBUMARTIST, and ALBUM for all *.flac in the current +# directory to the values found in the very first file found + # Ensure metaflac is installed if ! command -v metaflac &> /dev/null; then echo "metaflac is required but not installed. Exiting." diff --git a/set_albumartist_to_all_flac.sh b/set_albumartist_to_all_flac.sh index 62db879..37a6a36 100755 --- a/set_albumartist_to_all_flac.sh +++ b/set_albumartist_to_all_flac.sh @@ -1,12 +1,9 @@ #!/bin/bash -# Check for required argument -if [ $# -ne 1 ]; then - echo "Usage: $0 \"ALBUMARTIST name\"" - exit 1 -fi +# Sets ALBUMARTIST to all *.flac recursively to the name of the current folder +# Meant to be run in the artist folder to fix the tags off all artist's songs -album_artist="$1" +album_artist=$(basename $(pwd)) # Ensure metaflac is installed if ! command -v metaflac &> /dev/null; then