From fcb973fdc9e7ce6dc20b2787c418a610edc021ff Mon Sep 17 00:00:00 2001 From: ayakael Date: Fri, 18 May 2018 20:27:20 -0700 Subject: [PATCH] [import_dir] Added add_bom function so that foobar2000 is happy --- src/import_dir | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/import_dir b/src/import_dir index a9b13b4..7aaf372 100644 --- a/src/import_dir +++ b/src/import_dir @@ -49,12 +49,14 @@ import_dir() { gen_cue "${TRACK_DIR}" $(printf '%s\t' ${metadata_trackList[@]}) > "${GIT_DIR}/${IMAGEID}.cue" local EXIT=$? [[ $? -eq 0 ]] && _msg OK || { _msg WARN; return 1; } + add_bom "${GIT_DIR}/${IMAGEID}.cue" # Generate tags file _msg EXEC "Generating tags file" gen_mtag $(printf '%s\t' ${metadata_trackList[@]}) > "${GIT_DIR}/${IMAGEID}.tags" local EXIT=$? [[ $? -eq 0 ]] && _msg OK || { _msg WARN; return 1; } + add_bom "${GIT_DIR}/${IMAGEID}.tags" # Move joined.flac to GIT_DIR