[import_track] Adjusted find command to actually detect image files
This commit is contained in:
parent
117b0adc9a
commit
f7bf75f6ec
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ import_track() {
|
||||||
local SOURCE="FLAC"
|
local SOURCE="FLAC"
|
||||||
|
|
||||||
# Cover image finder
|
# Cover image finder
|
||||||
local coverList=($(find "${DIR_NAME}" -maxdepth 1 -name '*.jpg' -o -name '*.png' -print '%p\t'))
|
local coverList=($(find "${DIR_NAME}" -maxdepth 1 \( -name '*.jpg' -o -name '*.png' \) -printf '%p\t'))
|
||||||
|
|
||||||
# Metadata parsing
|
# Metadata parsing
|
||||||
local metadataList=($(print_meta_flac ${TRACK} | sed 's|;| |g' ))
|
local metadataList=($(print_meta_flac ${TRACK} | sed 's|;| |g' ))
|
||||||
|
|
Loading…
Reference in a new issue