Commit a01a9a3f authored by Booloki's avatar Booloki

Fix mkvmerge options

parent e1f0f406
Pipeline #69 failed with stage
in 15 seconds
......@@ -5,6 +5,7 @@
2018-10-25
* Remove unused *_decode functions
* Fix mkvmerge options
2018-10-22
* Debug factorization
......
......@@ -1157,7 +1157,7 @@ time for TITLE_NUMBER in ${TITLE_LIST}; do
debug "TOTAL_TRACKS_SIZE ${TOTAL_TRACKS_SIZE}"
debug "LOCAL_AVAILABLE_DISK_SIZE ${LOCAL_AVAILABLE_DISK_SIZE}"
debug "ionice -c ${IONICENESS} nice -n ${NICENESS} mkvmerge -o ${MERGE_OUTPUT} --title \"${MERGE_TITLE}\" \"${MERGE_VIDEO}\" \"${MERGE_AUDIO_FULL}\" \"${MERGE_SUBTITLES_FULL}\" \"${MERGE_CHAPTERS}\" \"${MERGE_COVER}\" \"${MERGE_XMLTAGS}\""
debug "ionice -c ${IONICENESS} nice -n ${NICENESS} mkvmerge -o ${MERGE_OUTPUT} --title \"${MERGE_TITLE}\" ${MERGE_VERBOSE} ${MERGE_VIDEO} ${MERGE_AUDIO_FULL} ${MERGE_SUBTITLES_FULL} ${MERGE_CHAPTERS} ${MERGE_COVER} ${MERGE_XMLTAGS}"
if [[ "${TOTAL_TRACKS_SIZE}" -gt "${LOCAL_AVAILABLE_DISK_SIZE}" ]]; then
MESSAGE="$(pwd)"
......@@ -1172,12 +1172,8 @@ time for TITLE_NUMBER in ${TITLE_LIST}; do
mkvmerge \
-o "${MERGE_OUTPUT}" \
--title "${MERGE_TITLE}" \
"${MERGE_VIDEO}" \
"${MERGE_AUDIO_FULL}" \
"${MERGE_SUBTITLES_FULL}" \
"${MERGE_CHAPTERS}" \
"${MERGE_COVER}" \
"${MERGE_XMLTAGS}" 1>/dev/null 2>/dev/null ) \
${MERGE_VIDEO} ${MERGE_AUDIO_FULL} ${MERGE_SUBTITLES_FULL} ${MERGE_CHAPTERS} ${MERGE_COVER} ${MERGE_XMLTAGS} \
>/dev/null 2>/dev/null ) \
| zenity --progress --pulsate \
--title="${ZEN_TITLE} - ${MESSAGE_FINALMERGE}" \
--text="Creating ${MERGE_OUTPUT}" \
......@@ -1186,16 +1182,9 @@ time for TITLE_NUMBER in ${TITLE_LIST}; do
else
ionice -c "${IONICENESS}" \
nice -n "${NICENESS}" \
mkvmerge \
"${MERGE_VERBOSE}" \
-o "${MERGE_OUTPUT}" \
mkvmerge -o "${MERGE_OUTPUT}" \
--title "${MERGE_TITLE}" \
"${MERGE_VIDEO}" \
"${MERGE_AUDIO_FULL}" \
"${MERGE_SUBTITLES_FULL}" \
"${MERGE_CHAPTERS}" \
"${MERGE_COVER}" \
"${MERGE_XMLTAGS}"
${MERGE_VERBOSE} ${MERGE_VIDEO} ${MERGE_AUDIO_FULL} ${MERGE_SUBTITLES_FULL} ${MERGE_CHAPTERS} ${MERGE_COVER} ${MERGE_XMLTAGS} || exit 1
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