Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed escaping exception with thumbnail paths and optional property patterns #31

Merged
merged 1 commit into from Apr 26, 2021

Conversation

sualfred
Copy link

@sualfred sualfred commented Apr 26, 2021

@mikesilvo164

If you have set <propertypattern> and a custom thumbnail it will cause an exception of re.sub() because a path like g:\test.jpg has a backslash included.

This backslash needs to be escaped. This small line fixes the issue and will handle the \ as string.

@MikeSiLVO MikeSiLVO merged commit 32e8d80 into MikeSiLVO:master Apr 26, 2021
@MikeSiLVO
Copy link
Owner

Thanks, will send for update in Kodi repo. I don't actively check for PR's since I'm supposed to get emails and notifications but I am currently not getting either 😞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants