|
|
|
@ -11,7 +11,7 @@ function Configuration {
|
|
|
|
|
log "##### SABnzbd Category: $category"
|
|
|
|
|
log "##### DOCKER: $TITLE"
|
|
|
|
|
log "##### SCRIPT: Video Post Processor ($TITLESHORT)"
|
|
|
|
|
log "##### SCRIPT VERSION: 1.0.10"
|
|
|
|
|
log "##### SCRIPT VERSION: 1.0.11"
|
|
|
|
|
log "##### DOCKER VERSION: $VERSION"
|
|
|
|
|
log "##### CONFIGURATION VERIFICATION"
|
|
|
|
|
|
|
|
|
@ -168,15 +168,6 @@ function Main {
|
|
|
|
|
continue
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if [ -f "${basefilename}.mkv" ]; then
|
|
|
|
|
statistics="true"
|
|
|
|
|
log "===START MKVPROPEDIT"
|
|
|
|
|
mkvpropedit "${basefilename}.mkv" --add-track-statistics-tags
|
|
|
|
|
log "===STOP MKVPROPEDIT"
|
|
|
|
|
else
|
|
|
|
|
statistics="false"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if [ ${VIDEO_MKVCLEANER} = TRUE ]; then
|
|
|
|
|
log "Begin processing with MKV Cleaner..."
|
|
|
|
@ -353,14 +344,6 @@ function Main {
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if [ "$statistics" == "false" ]; then
|
|
|
|
|
if [ -f "${basefilename}.mkv" ]; then
|
|
|
|
|
log "===START MKVPROPEDIT"
|
|
|
|
|
mkvpropedit "${basefilename}.mkv" --add-track-statistics-tags
|
|
|
|
|
log "===STOP MKVPROPEDIT"
|
|
|
|
|
fi
|
|
|
|
|
statistics="false"
|
|
|
|
|
fi
|
|
|
|
|
log "Processing complete for: ${filename}!"
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|