2019-08-03, 19:48
@sualfred I've found a couple of errors in the blur function, I've raised an issue on your github, but I'll post it here as.
resources/lib/image.py
Line 70
Line 73
These two line will always fail due to the fact that you are checking a special path using an os path function.
Either add the translate function:
Or use the xbmcvfs functions:
I noticed it when trying to blur embedded album artwork
resources/lib/image.py
Line 70
Code:
if os.path.isfile(xbmc_cache_file):
Code:
elif os.path.isfile(xbmc_vid_cache_file):
These two line will always fail due to the fact that you are checking a special path using an os path function.
Either add the translate function:
Code:
if os.path.isfile(xbmc.translatePath(xbmc_cache_file)):
Or use the xbmcvfs functions:
Code:
if xbmcvfs.exists(xbmc_cache_file):
I noticed it when trying to blur embedded album artwork