v1.0.15 - new option: RequireLanguage

master
RandomNinjaAtk 3 years ago committed by GitHub
parent 42d9eb23b2
commit d4621db2de
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.14" log "##### SCRIPT VERSION: 1.0.15"
log "##### DOCKER VERSION: $VERSION" log "##### DOCKER VERSION: $VERSION"
log "##### CONFIGURATION VERIFICATION" log "##### CONFIGURATION VERIFICATION"
@ -167,7 +167,7 @@ function Main {
log "INFO: deleted: $filename" log "INFO: deleted: $filename"
continue continue
fi fi
else elif [ "${RequireLanguage}" = "true" ]; then
log "ERROR: No \"${VIDEO_LANG}\" audio or subtitle tracks found..." log "ERROR: No \"${VIDEO_LANG}\" audio or subtitle tracks found..."
rm "$video" rm "$video"
log "INFO: deleted: $filename" log "INFO: deleted: $filename"

Loading…
Cancel
Save