mirror of
https://github.com/pisto/oggify
synced 2024-11-14 06:27:29 +00:00
cleanup tag_ogg
This commit is contained in:
parent
ba672d1f91
commit
eb82e3c5b9
9
tag_ogg
9
tag_ogg
@ -7,14 +7,11 @@ fname="${fname//\//-}"
|
||||
cat > "${fname}"
|
||||
{
|
||||
echo "SPOTIFY_ID=${1}"
|
||||
title="${2//'\n'/' '}"
|
||||
album="${3//'\n'/' '}"
|
||||
echo "TITLE=${title}"
|
||||
echo "ALBUM=${album}"
|
||||
echo "TITLE=${2//'\n'/' '}"
|
||||
echo "ALBUM=${3//'\n'/' '}"
|
||||
shift 3
|
||||
for artist in "$@"; do
|
||||
artist="${artist//'\n'/' '}"
|
||||
echo "ARTIST=${artist}"
|
||||
echo "ARTIST=${artist//'\n'/' '}"
|
||||
done
|
||||
} | vorbiscomment -a "${fname}"
|
||||
echo "${fname}"
|
||||
|
Loading…
Reference in New Issue
Block a user