commit d6b7b0fff6487de81ac6fe1590c9c1bffe2cbbfc
parent 898d86f83783722ae2154beb730a9cde7f0dfacc
Author: Alex Balgavy <alex@balgavy.eu>
Date: Tue, 21 Mar 2023 21:39:51 +0100
audiotag: fix track number
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/audiotag b/scripts/audiotag
@@ -133,7 +133,7 @@ printf '%s\n' "$FILES" | while IFS='' read -r file; do
[ -n "$title" ] && set -- "$@" --set-tag=TITLE="$title"
[ -n "$album" ] && set -- "$@" --set-tag=ALBUM="$album"
[ -n "$artist" ] && set -- "$@" --set-tag=ARTIST="$artist"
- [ -n "$number" ] && set -- "$@" --set-tag=TRACKNUMBER "$number"
+ [ -n "$number" ] && set -- "$@" --set-tag=TRACKNUMBER="$number"
if [ -n "$image" ]; then
img_path="${image%%:*}"