From cb9380a11f33ddcb61a41cd6a1f2692a38c72ade Mon Sep 17 00:00:00 2001 From: davi Date: Mon, 8 Apr 2024 07:46:19 +0000 Subject: [PATCH] Delete leftover metadata sh file --- a.sh | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100755 a.sh diff --git a/a.sh b/a.sh deleted file mode 100755 index 114373a..0000000 --- a/a.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -FOLDER="/var/lib/gitea/music/Madeon/Madeon - Secret Sky 2020 (DJ Mix)" #your music path -METAFLAC_PATH="/usr/bin/metaflac" # you need to install "flac" (apt install flac) -for file in "$FOLDER"/*.flac; do - if [ -e "$file" ]; then - "$METAFLAC_PATH" --remove-tag=ALBUMARTIST --remove-tag=COMPILATION "$file" # Remove existing ALBUMARTIST and COMPILATION tags - "$METAFLAC_PATH" --set-tag="ALBUMARTIST=Various Artists" --set-tag="COMPILATION=1" "$file" # Set new ALBUMARTIST and COMPILATION tags - echo "Tags updated for $file." - else - echo "No FLAC files found in the folder." - exit 1 - fi -done