fetch all tags
This commit is contained in:
parent
1cfd315c81
commit
06761b74a4
51
atom
51
atom
@ -1209,7 +1209,18 @@ echo '
|
||||
destinations.name,
|
||||
destination_files.id,
|
||||
tags.rate,
|
||||
tags.channels
|
||||
tags.channels,
|
||||
tags.bitrate,
|
||||
tags.genre,
|
||||
tags.albumartist,
|
||||
tags.year,
|
||||
tags.album,
|
||||
tags.disc,
|
||||
tags.artist,
|
||||
tags.track,
|
||||
tags.title,
|
||||
tags.composer,
|
||||
tags.performer
|
||||
FROM source_files
|
||||
INNER JOIN destination_files
|
||||
ON source_files.id
|
||||
@ -1229,7 +1240,7 @@ echo '
|
||||
read -u4 line
|
||||
while ! [[ $line = AtOM:NoMoreFiles ]]
|
||||
do
|
||||
decodefiles+=("$line")
|
||||
decodefiles+=("$line|")
|
||||
read -u4 line
|
||||
done
|
||||
echo -n 'Creating tasks... '
|
||||
@ -1250,6 +1261,28 @@ do
|
||||
rate=${rest%%|*}
|
||||
rest=${rest#*|}
|
||||
channels=${rest%%|*}
|
||||
rest=${rest#*|}
|
||||
bitrate=${rest%%|*}
|
||||
rest=${rest#*|}
|
||||
genre=${rest%%|*}
|
||||
rest=${rest#*|}
|
||||
albumartist=${rest%%|*}
|
||||
rest=${rest#*|}
|
||||
year=${rest%%|*}
|
||||
rest=${rest#*|}
|
||||
album=${rest%%|*}
|
||||
rest=${rest#*|}
|
||||
disc=${rest%%|*}
|
||||
rest=${rest#*|}
|
||||
artist=${rest%%|*}
|
||||
rest=${rest#*|}
|
||||
track=${rest%%|*}
|
||||
rest=${rest#*|}
|
||||
title=${rest%%|*}
|
||||
rest=${rest#*|}
|
||||
composer=${rest%%|*}
|
||||
rest=${rest#*|}
|
||||
performer=${rest%%|*}
|
||||
unset rest
|
||||
case "$mimetype" in
|
||||
'audio/mpeg')
|
||||
@ -1316,16 +1349,30 @@ do
|
||||
fi
|
||||
fi
|
||||
unset \
|
||||
album \
|
||||
albumartist \
|
||||
artist \
|
||||
bitrate \
|
||||
channels \
|
||||
commandline \
|
||||
composer \
|
||||
decodetaskid \
|
||||
destfileid \
|
||||
destination \
|
||||
disc \
|
||||
fileid \
|
||||
filename \
|
||||
mimetype \
|
||||
performer \
|
||||
rate \
|
||||
rest \
|
||||
sox_needed \
|
||||
soxoptions_in \
|
||||
soxoptions_out \
|
||||
soxtaskid \
|
||||
title \
|
||||
track \
|
||||
year \
|
||||
tmpfile
|
||||
done
|
||||
echo 'COMMIT;' >&3
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user