MUSICDIR env not required anymore

This commit is contained in:
2025-08-26 20:42:54 +02:00
parent 30765b7347
commit 210cfd01f7
3 changed files with 8 additions and 9 deletions

View File

@@ -1,7 +1,4 @@
if [ "${CONFIGFILE:-}" ]; then
[ ! -f "$CONFIGFILE" ] && err "Configuration $CONFIGFILE not found." && exit 1
. "$CONFIGFLIE"
[ ! "${MUSICDIR:-}" ] && err "MUSICDIR configuration not set." && exit 1
fi
[ "${MUSICDIR:-}" ] && [ ! -d "${MUSICDIR:-}" ] && err "The specified path ${MUSICDIR:-} is not a directory." && exit 1
DECORATION_FILENAME=${DECORATION_FILENAME:-"mbid.json"}