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
Scanning images stopped on one image which does not have a metadata block (exif, xmp, …) at all with error: kodi.log
I could fix this by changing lines 407 and 428 in scanpath.py from picentry['Image Rating'] to picentry.get('Image Rating'). I am not a Python person at all and have no experience in writing kodi plugind, therefore I am not sure this is the right way to do it:
Line 407: if picentry.get('Image Rating') is None or picentry['Image Rating'] == '' or picentry['Image Rating'] < '1':
Line 428: if picentry.get('Image Rating') is None or len(picentry['Image Rating']) == 0:
Thanks for your work!
Klaus
The text was updated successfully, but these errors were encountered:
Scanning images stopped on one image which does not have a metadata block (exif, xmp, …) at all with error: kodi.log
I could fix this by changing lines 407 and 428 in scanpath.py from picentry['Image Rating'] to picentry.get('Image Rating'). I am not a Python person at all and have no experience in writing kodi plugind, therefore I am not sure this is the right way to do it:
Line 407: if picentry.get('Image Rating') is None or picentry['Image Rating'] == '' or picentry['Image Rating'] < '1':
Line 428: if picentry.get('Image Rating') is None or len(picentry['Image Rating']) == 0:
Thanks for your work!
Klaus
The text was updated successfully, but these errors were encountered: