Describe the bug
When Plex Autoscan tries to map Section ID to path, if path is containing an accentuation (such as "é"), it generates an exception.
To Reproduce
Have a library mapped to a path with "é" character.
Start a scan.
Expected behavior
Section mapping should be done properly.
Logs
2019-12-15 19:41:44,281 - ERROR - UTILS [139817094105888]: Exception while trying to map 'REDACTED' to a Section ID in the Plex DB:
Traceback (most recent call last):
File "/opt/plex_autoscan/utils.py", line 33, in get_plex_section
if path.startswith(root_path + os.sep):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128)
Describe the bug When Plex Autoscan tries to map Section ID to path, if path is containing an accentuation (such as "é"), it generates an exception.
To Reproduce Have a library mapped to a path with "é" character. Start a scan.
Expected behavior Section mapping should be done properly.
Logs
System Information