You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've had an issue with the ASSET_NAME match within Kometa I've got folder's setup that matches the exact name within Plex however the sanatization function in util.py is causing characters such as colin's and hyphens to to be removed from my Folder name so it can't find the assets folder.
I added in debug to verify this was the issue the debug printing is shown below.
I'm happy to make a pull request however unsure how this should be rectified.
I
Relevant Collection/Overlay/Playlist Definition
Logs
No response
The text was updated successfully, but these errors were encountered:
dextrous0z
changed the title
ASSET_NAME Folder Name sanatising removing Colins and Hypens
ASSET_NAME Folder Name validation function removing Colins and Hypens
Jan 24, 2025
I'm not trying to get filename validation removed just fixing valid paths within different operating systems.
I've taken a look at the documentation for the function is_valid_filepath we can pass in a parameter of platform: "auto" to resolve the issue ?
I've tested it and it works on my end and it fixes the issue. You should be able to see on patch-1 or something on my fork.
Version Number
2.1.0 (Docker: master)
What branch are you on?
master
Describe the Bug
I've had an issue with the ASSET_NAME match within Kometa I've got folder's setup that matches the exact name within Plex however the sanatization function in util.py is causing characters such as colin's and hyphens to to be removed from my Folder name so it can't find the assets folder.
I added in debug to verify this was the issue the debug printing is shown below.
I'm happy to make a pull request however unsure how this should be rectified.
I
Relevant Collection/Overlay/Playlist Definition
Logs
No response
The text was updated successfully, but these errors were encountered: