[import_track] SOURCE variable now defined by argument

This commit is contained in:
ayakael 2018-07-11 07:34:38 -08:00
parent abc7179716
commit ec156534dc
No known key found for this signature in database
GPG key ID: 575626A4AE5F4026

View file

@ -19,7 +19,7 @@ import_track() {
local GIT_DIR="${1}"
local TRACK="${2}"
local DIR_NAME="$(dirname "${TRACK}")"
local SOURCE="FLAC"
local SOURCE="${3}"
# Cover image finder
local coverList=($(find "${DIR_NAME}"/ -maxdepth 1 \( -name '*.jpg' -o -name '*.png' \) -printf '%p\t'))