[import_dir] Fixed sha256sum parsing bug
This commit is contained in:
parent
9bb2fbc631
commit
20953325c9
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ import_dir() {
|
||||||
local TRACK_EXT="$(cut -d '.' -f2 <<< ${track})"
|
local TRACK_EXT="$(cut -d '.' -f2 <<< ${track})"
|
||||||
[[ "${TRACK_EXT}" != "FLAC" ]] && SOURCE="${TRACK_EXT}"
|
[[ "${TRACK_EXT}" != "FLAC" ]] && SOURCE="${TRACK_EXT}"
|
||||||
done
|
done
|
||||||
local IMAGEID="SHA256-${SOURCE}--$(sha256sum "${TRACK_DIR}/joined.flac")"
|
local IMAGEID="SHA256-${SOURCE}--$(sha256sum "${TRACK_DIR}/joined.flac" | cue -d' ' -f1)"
|
||||||
_msg OK
|
_msg OK
|
||||||
|
|
||||||
# Generate metadata_trackList
|
# Generate metadata_trackList
|
||||||
|
|
Loading…
Reference in a new issue