[import_dir] Added add_bom function so that foobar2000 is happy

This commit is contained in:
ayakael 2018-05-18 20:27:20 -07:00
parent 6105898ebc
commit fcb973fdc9
No known key found for this signature in database
GPG key ID: 575626A4AE5F4026

View file

@ -49,12 +49,14 @@ import_dir() {
gen_cue "${TRACK_DIR}" $(printf '%s\t' ${metadata_trackList[@]}) > "${GIT_DIR}/${IMAGEID}.cue" gen_cue "${TRACK_DIR}" $(printf '%s\t' ${metadata_trackList[@]}) > "${GIT_DIR}/${IMAGEID}.cue"
local EXIT=$? local EXIT=$?
[[ $? -eq 0 ]] && _msg OK || { _msg WARN; return 1; } [[ $? -eq 0 ]] && _msg OK || { _msg WARN; return 1; }
add_bom "${GIT_DIR}/${IMAGEID}.cue"
# Generate tags file # Generate tags file
_msg EXEC "Generating tags file" _msg EXEC "Generating tags file"
gen_mtag $(printf '%s\t' ${metadata_trackList[@]}) > "${GIT_DIR}/${IMAGEID}.tags" gen_mtag $(printf '%s\t' ${metadata_trackList[@]}) > "${GIT_DIR}/${IMAGEID}.tags"
local EXIT=$? local EXIT=$?
[[ $? -eq 0 ]] && _msg OK || { _msg WARN; return 1; } [[ $? -eq 0 ]] && _msg OK || { _msg WARN; return 1; }
add_bom "${GIT_DIR}/${IMAGEID}.tags"
# Move joined.flac to GIT_DIR # Move joined.flac to GIT_DIR