This commit is contained in:
nik
2025-10-15 17:41:27 -07:00
parent 1f6349fdae
commit 5dee92a92a
9 changed files with 16 additions and 0 deletions

9
scripts/run Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
mkdir -p "output"
TRACK=1
for file in *.opus; do
NEW_FILENAME=$(echo $file | sed 's/ - Kirby Super Star OST//')
TITLE=$(echo $file | sed 's/ - Kirby Super Star OST.opus//')
ffmpeg -i "$file" -metadata artist="Nintendo" -metadata album="Kirby Super Star OST" -metadata title="$TITLE" -metadata track="$TRACK" -codec copy "output/$file"
((TRACK++))
done