dont use original comments or pictures from flac -> opus
This commit is contained in:
parent
fb39957c34
commit
a42ee24aba
@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
# encode_all encodes the whole library into specified format
|
||||
#
|
||||
ulimit -n "$(ulimit -Hn)"
|
||||
. env_parallel.bash
|
||||
|
||||
src_library="${HOME}/flac"
|
||||
@ -43,12 +44,12 @@ function encode() {
|
||||
|
||||
[[ -d "$final_dir" ]] || mkdir -p "$final_dir"
|
||||
if [[ -n "${tags[DISK]}" ]]; then
|
||||
err="$(opusenc --quiet \
|
||||
err="$(opusenc --quiet --discard-comments --discard-pictures \
|
||||
--title "${tags[TITLE]}" --artist "${tags[ARTIST]}" \
|
||||
--album "${tags[ALBUM]}" --tracknumber "${tags[TRACKNUMBER]}" \
|
||||
--date "${tags[DATE]}" --comment "DISK=${tags[DISK]}" "$file" "$final_opus" 2>&1)"
|
||||
else
|
||||
err="$(opusenc --quiet \
|
||||
err="$(opusenc --quiet --discard-comments --discard-pictures \
|
||||
--title "${tags[TITLE]}" --artist "${tags[ARTIST]}" \
|
||||
--album "${tags[ALBUM]}" --tracknumber "${tags[TRACKNUMBER]}" \
|
||||
--date "${tags[DATE]}" "$file" "$final_opus" 2>&1)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user