Commit 8de6a3e8 authored by Booloki's avatar Booloki

Add shellcheck exceptions

parent e883f67a
Pipeline #75 failed with stage
in 15 seconds
......@@ -14,6 +14,7 @@ GLOBAL_CONF_FILE="/etc/wazzuf-ripper/wazzuf-ripper-global.conf"
source "${GLOBAL_CONF_FILE}"
# check wazzuf files
# shellcheck disable=SC1090
source "${FUNCTIONS_COMMON}"
# shellcheck source=functions/wazzuf-check
source "${FUNCTIONS_CHECK}"
......
......@@ -1087,6 +1087,7 @@ time for TITLE_NUMBER in ${TITLE_LIST}; do
debug "COVER_HEIGHT ${COVER_HEIGHT}"
debug "COVER_WIDTH ${COVER_WIDTH}"
cover_art_convert
# shellcheck disable=SC2089
MERGE_COVER="--attachment-description \"cover-art\" --attachment-mime-type image/${COVER_FORMAT} --attach-file ${COVER_OUTPUT_SIMPLE} --attachment-description \"cover-thumbnail\" --attachment-mime-type image/jpeg --attach-file ${COVER_OUTPUT_THUMB}"
else
MESSAGE="${COVER} image file format"
......@@ -1166,6 +1167,7 @@ time for TITLE_NUMBER in ${TITLE_LIST}; do
check_mkvmerge
if [[ "${WAZZUF_UI}" == "GUI" ]]; then
# shellcheck disable=SC2086
( echo 10
ionice -c "${IONICENESS}" \
nice -n "${NICENESS}" \
......@@ -1180,6 +1182,7 @@ time for TITLE_NUMBER in ${TITLE_LIST}; do
--auto-close --auto-kill
if [ $? = "1" ]; then wazzuf_quit; fi
else
# shellcheck disable=SC2086
ionice -c "${IONICENESS}" \
nice -n "${NICENESS}" \
mkvmerge -o "${MERGE_OUTPUT}" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment