2019-10-02, 11:05
(2019-10-01, 11:44)warrencalvert Wrote: Hi DaLanikI'll have a look. what are those files named ?
Thanks for the add-on, really looking forward to populating my thumbnails if I can get this error fixed. My photo folders contain some files that are not photos, I think they're put there by some 3rd party apps I use to sync my photo library to a backup device. As soon as it sees one it crashes out.
Is there any way to skip files that are not jpg?
2019-10-01 10:18:31.243 T:2496 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IOError'>
Error Contents: cannot identify image file <open file u'\\\\kryten\\photo albums\\Adam's Photos and Videos\\.sync\\IgnoreList', mode 'rb' at 0x0000015057163270>
Traceback (most recent call last):
File "C:\Users\winmedia\AppData\Roaming\Kodi\addons\script.visual_thumbs\addon.py", line 519, in <module>
intCancel = scanPaths(path, g, pathsNr, 3)
File "C:\Users\winmedia\AppData\Roaming\Kodi\addons\script.visual_thumbs\addon.py", line 286, in scanPaths
MakeTumbs(filesInTree2, absolutePath)
File "C:\Users\winmedia\AppData\Roaming\Kodi\addons\script.visual_thumbs\addon.py", line 149, in MakeTumbs
thumb = get_image(randomList[0], size=120)
File "C:\Users\winmedia\AppData\Roaming\Kodi\addons\script.visual_thumbs\addon.py", line 82, in get_image
image = Image.open(open(imageFileName, 'rb'))
File "C:\Program Files\Kodi\system\python\lib\site-packages\PIL\Image.py", line 2519, in open
% (filename if filename else fp))
IOError: cannot identify image file <open file u'\\\\kryten\\photo albums\\Adam's Photos and Videos\\.sync\\IgnoreList', mode 'rb' at 0x0000015057163270>
-->End of Python script error report<--