diff --git a/addon.xml b/addon.xml index 7c9aeb6e..c2153b58 100644 --- a/addon.xml +++ b/addon.xml @@ -1,7 +1,7 @@ diff --git a/resources/lib/Utils.py b/resources/lib/Utils.py index 404109e7..5ea5bcfa 100644 --- a/resources/lib/Utils.py +++ b/resources/lib/Utils.py @@ -167,6 +167,11 @@ def normalize_string(text): text = text.replace(":", "") text = text.replace("/", "-") text = text.replace("\\", "-") + text = text.replace("<", "") + text = text.replace(">", "") + text = text.replace("*", "") + text = text.replace("?", "") + text = text.replace('|', "") text = text.strip() # Remove dots from the last character as windows can not have directories # with dots at the end