diff --git a/postprocess.sh b/postprocess.sh index 4087472..7d1d236 100644 --- a/postprocess.sh +++ b/postprocess.sh @@ -82,7 +82,7 @@ sanitize_name() { # Si le nom est entièrement en minuscules # OU ne contient aucun des mots-clés SUBFRENCH|TRUEFRENCH|FRENCH|MULTI|VOSTFR - if [[ "$name" == "${name,,}" ]] || ! [[ "$upper_name" =~ SUBFRENCH|TRUEFRENCH|FRENCH|MULTI|VOSTFR ]]; then + if [[ "$name" == "${name,,}" ]] || ! [[ "$upper_name" =~ THEATRICAL|DIRECTOR|EXTENDED|REMASTERED|UNRATED|UNCENSORED|REPACK|PROPER|INTERNAL|FINAL|SUBFRENCH|TRUEFRENCH|FRENCH|MULTI|VFQ|VOSTFR ]]; then local parent="$(basename "$(dirname "$filepath")")" name="$(remove_accents "$parent")" fi