mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-17 05:36:12 +00:00
normalize paths in videonode building
This commit is contained in:
parent
c3e2d88784
commit
a7310dc634
2 changed files with 27 additions and 24 deletions
|
@ -199,6 +199,8 @@ def normalize_string(text):
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue