[import_dir] Added add_bom function so that foobar2000 is happy
This commit is contained in:
parent
6105898ebc
commit
fcb973fdc9
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue