Ajout de mot clés
This commit is contained in:
parent
953cdbe728
commit
7dff16f460
@ -82,7 +82,7 @@ sanitize_name() {
|
|||||||
|
|
||||||
# Si le nom est entièrement en minuscules
|
# Si le nom est entièrement en minuscules
|
||||||
# OU ne contient aucun des mots-clés SUBFRENCH|TRUEFRENCH|FRENCH|MULTI|VOSTFR
|
# 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")")"
|
local parent="$(basename "$(dirname "$filepath")")"
|
||||||
name="$(remove_accents "$parent")"
|
name="$(remove_accents "$parent")"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user