mirror of
https://github.com/pisto/oggify
synced 2024-11-22 02: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}"
|
cat > "${fname}"
|
||||||
{
|
{
|
||||||
echo "SPOTIFY_ID=${1}"
|
echo "SPOTIFY_ID=${1}"
|
||||||
title="${2//'\n'/' '}"
|
echo "TITLE=${2//'\n'/' '}"
|
||||||
album="${3//'\n'/' '}"
|
echo "ALBUM=${3//'\n'/' '}"
|
||||||
echo "TITLE=${title}"
|
|
||||||
echo "ALBUM=${album}"
|
|
||||||
shift 3
|
shift 3
|
||||||
for artist in "$@"; do
|
for artist in "$@"; do
|
||||||
artist="${artist//'\n'/' '}"
|
echo "ARTIST=${artist//'\n'/' '}"
|
||||||
echo "ARTIST=${artist}"
|
|
||||||
done
|
done
|
||||||
} | vorbiscomment -a "${fname}"
|
} | vorbiscomment -a "${fname}"
|
||||||
echo "${fname}"
|
echo "${fname}"
|
||||||
|
Loading…
Reference in New Issue
Block a user