diff options
| author | shipwreckt <me@shipwreckt.co.uk> | 2025-08-18 12:01:10 +0100 |
|---|---|---|
| committer | shipwreckt <me@shipwreckt.co.uk> | 2025-08-18 12:01:10 +0100 |
| commit | e8b5675eb77aa20027f369ca278457b6a7c2e142 (patch) | |
| tree | 9b96e37beb5d27a6bf70b6b2f69c61e6012be914 /files/old-config/mpd/scripts/artist.sh | |
| parent | c9e7170faff3e352eef5619dedf7a12e68ca610d (diff) | |
Some changes to my Nvim setup!
Diffstat (limited to 'files/old-config/mpd/scripts/artist.sh')
| -rwxr-xr-x | files/old-config/mpd/scripts/artist.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/files/old-config/mpd/scripts/artist.sh b/files/old-config/mpd/scripts/artist.sh new file mode 100755 index 0000000..bcf0508 --- /dev/null +++ b/files/old-config/mpd/scripts/artist.sh @@ -0,0 +1,13 @@ +#!/bin/bash +# Define the directory containing your music files +MUSIC_DIR="Music/Dead_Kennedys/Dead_Kennedys_-_Give_Me_Convenience_Or_Give_Me_Death" +# Define the new artist name +NEW_ARTIST="Dead Kennedys" + +# Loop through all .flac files in the folder +for song in "$MUSIC_DIR"/*.flac; do + # Update the artist metadata for each file + metaflac --remove-tag=ARTIST "$song" + metaflac --set-tag=ARTIST="$NEW_ARTIST" "$song" +done + |
