Commit ad20a5d9 authored by Booloki's avatar Booloki

Add another shellcheck exceptions

parent 04c6ab60
Pipeline #79 failed with stages
in 19 minutes and 25 seconds
......@@ -12,12 +12,14 @@ video_dvd_chapters_extract () {
# Save chapters informations (DVD/ISO_DVD only)
if [[ "${WAZZUF_UI}" == "GUI" ]]; then
debug "( dvdxchap -t \"${TITLE_NUMBER}\" ${DVDXCHAP_CHAPTERS} \"${DVDXCHAP_DEVICE}\" > \"${CHAPTERS_FILE_TXT}\" ) | zenity --progress --pulsate --title \"${ZEN_TITLE}\" --text \"Creating ${CHAPTERS_FILE_TXT} from ${SOURCE}\" --auto-close"
# shellcheck disable=SC2086
( dvdxchap -t "${TITLE_NUMBER}" ${DVDXCHAP_CHAPTERS} "${DVDXCHAP_DEVICE}" > "${CHAPTERS_FILE_TXT}" ) \
| zenity --progress --pulsate --title "${ZEN_TITLE}" --text "Creating ${CHAPTERS_FILE_TXT} from ${SOURCE}" --auto-close --auto-kill
else
echo -ne "\n *************************************\n"
echo " Creating ${CHAPTERS_FILE_TXT} from ${SOURCE}..."
debug "dvdxchap -t \"${TITLE_NUMBER}\" ${DVDXCHAP_CHAPTERS} \"${DVDXCHAP_DEVICE}\" > \"${CHAPTERS_FILE_TXT}\""
# shellcheck disable=SC2086
dvdxchap -t "${TITLE_NUMBER}" ${DVDXCHAP_CHAPTERS} "${DVDXCHAP_DEVICE}" > "${CHAPTERS_FILE_TXT}"
fi
}
......@@ -32,12 +34,14 @@ video_dvd_chapters_extract () {
video_vob_dump () {
if [[ "${WAZZUF_UI}" == "GUI" ]]; then
debug "( ionice -c \"${IONICENESS}\" nice -n \"${NICENESS}\" mplayer -nolirc -dvd-device \"${MPLAYER_VOB_DUMP_DEVICE}\" -dumpstream dvd://\"${TITLE_NUMBER}\" ${MPLAYER_VOB_DUMP_CHAPTERS} -dumpfile \"${VOB_FILE}\" 2>/dev/null ) | zenity --progress --pulsate --title \"${ZEN_TITLE}\" --text \"Dumping ${VOB_FILE} from ${SOURCE}\" --auto-close"
# shellcheck disable=SC2086
( echo 10; ionice -c "${IONICENESS}" nice -n "${NICENESS}" mplayer -nolirc -dvd-device "${MPLAYER_VOB_DUMP_DEVICE}" -dumpstream dvd://"${TITLE_NUMBER}" ${MPLAYER_VOB_DUMP_CHAPTERS} -dumpfile "${VOB_FILE}" 1>/dev/null 2>/dev/null ) \
| zenity --progress --pulsate --title "${ZEN_TITLE}" --text "Dumping ${VOB_FILE} from ${SOURCE}" --auto-close --auto-kill
else
echo -ne "\n *************************************\n"
echo " Dumping ${VOB_FILE} from ${SOURCE}..."
debug "ionice -c \"${IONICENESS}\" nice -n \"${NICENESS}\" mplayer -nolirc -dvd-device \"${MPLAYER_VOB_DUMP_DEVICE}\" -dumpstream dvd://\"${TITLE_NUMBER}\" ${MPLAYER_VOB_DUMP_CHAPTERS} -dumpfile \"${VOB_FILE}\""
# shellcheck disable=SC2086
ionice -c "${IONICENESS}" nice -n "${NICENESS}" mplayer -nolirc -dvd-device "${MPLAYER_VOB_DUMP_DEVICE}" -dumpstream dvd://"${TITLE_NUMBER}" ${MPLAYER_VOB_DUMP_CHAPTERS} -dumpfile "${VOB_FILE}"
fi
}
......
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