1
0
mirror of https://github.com/pisto/oggify synced 2024-11-24 17:57:30 +00:00

print track filename in tag_ogg

This commit is contained in:
Lorenzo Pistone 2019-02-18 09:56:19 +01:00
parent 99f61a7e85
commit 264538e3ab

View File

@ -4,6 +4,7 @@ set -e
fname=$(echo "${4} - ${2}.ogg" | tr '/' - | tr '\0' ' ') fname=$(echo "${4} - ${2}.ogg" | tr '/' - | tr '\0' ' ')
cat > "$fname" cat > "$fname"
echo "$fname"
{ {
echo "SPOTIFY_ID=${1}" echo "SPOTIFY_ID=${1}"
title=$(tr '\n' ' ' <<< "${2}") title=$(tr '\n' ' ' <<< "${2}")