Commit 04c6ab60 authored by Booloki's avatar Booloki

Add shellcheck exceptions

parent 9d488162
Pipeline #77 failed with stage
in 16 seconds
......@@ -1078,7 +1078,7 @@ time for TITLE_NUMBER in ${TITLE_LIST}; do
debug "COVER_HEIGHT ${COVER_HEIGHT}"
debug "COVER_WIDTH ${COVER_WIDTH}"
cover_art_convert
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}"
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
if [[ "${COVER_FORMAT_TEST}" == "PNG" ]]; then
COVER_FORMAT="png"
......@@ -1087,7 +1087,8 @@ time for TITLE_NUMBER in ${TITLE_LIST}; do
debug "COVER_HEIGHT ${COVER_HEIGHT}"
debug "COVER_WIDTH ${COVER_WIDTH}"
cover_art_convert
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}"
# 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"
not_recognized_exit
......@@ -1166,7 +1167,7 @@ time for TITLE_NUMBER in ${TITLE_LIST}; do
check_mkvmerge
if [[ "${WAZZUF_UI}" == "GUI" ]]; then
# shellcheck disable=SC2086
# shellcheck disable=SC2086,SC2090
( echo 10
ionice -c "${IONICENESS}" \
nice -n "${NICENESS}" \
......@@ -1181,7 +1182,7 @@ time for TITLE_NUMBER in ${TITLE_LIST}; do
--auto-close --auto-kill
if [ $? = "1" ]; then wazzuf_quit; fi
else
# shellcheck disable=SC2086
# shellcheck disable=SC2086,SC2090
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