[import_track] SOURCE variable now defined by argument
This commit is contained in:
parent
abc7179716
commit
ec156534dc
1 changed files with 1 additions and 1 deletions
|
@ -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'))
|
||||
|
|
Loading…
Reference in a new issue