v1.0.11 - remove statistics process

master
RandomNinjaAtk 4 years ago committed by GitHub
parent 6136677e67
commit e9f2791e07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,7 +11,7 @@ function Configuration {
log "##### SABnzbd Category: $category" log "##### SABnzbd Category: $category"
log "##### DOCKER: $TITLE" log "##### DOCKER: $TITLE"
log "##### SCRIPT: Video Post Processor ($TITLESHORT)" log "##### SCRIPT: Video Post Processor ($TITLESHORT)"
log "##### SCRIPT VERSION: 1.0.10" log "##### SCRIPT VERSION: 1.0.11"
log "##### DOCKER VERSION: $VERSION" log "##### DOCKER VERSION: $VERSION"
log "##### CONFIGURATION VERIFICATION" log "##### CONFIGURATION VERIFICATION"
@ -169,15 +169,6 @@ function Main {
fi fi
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 if [ ${VIDEO_MKVCLEANER} = TRUE ]; then
log "Begin processing with MKV Cleaner..." log "Begin processing with MKV Cleaner..."
log "Checking for \"${VIDEO_LANG}\" video/audio/subtitle tracks" log "Checking for \"${VIDEO_LANG}\" video/audio/subtitle tracks"
@ -353,14 +344,6 @@ function Main {
fi fi
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}!" log "Processing complete for: ${filename}!"
done done

Loading…
Cancel
Save