[cmd_import_tracks] Now finds importable material from .import/FLAC

This commit is contained in:
ayakael 2018-07-23 05:41:04 -08:00
parent 21c5219cb3
commit 2965b86bef
No known key found for this signature in database
GPG key ID: 575626A4AE5F4026

View file

@ -39,7 +39,7 @@ cmd_import_tracks() {
[[ "${ZIP}" == "true" ]] && rm -Rvf "${src}" >/dev/null 2>&1
done
local importList=($(find ${GIT_DIR}/.import/ -mindepth 1 -maxdepth 1 -type d -printf '%p\t'))
local importList=($(find ${GIT_DIR}/.import/FLAC -mindepth 1 -maxdepth 1 -type d -printf '%p\t'))
for import in ${importList[@]}; do
_msg EXEC "Importing ${import}"
import_src "${GIT_DIR}" "${import}" ${FLAC} >${STDERR} 2>&1