2013-08-14, 20:25
Hi Xycl and thanks for a great plugin!
This might be a stupid question, but is there a good reason for the exif-parser to open the file with "modify" permissions? Specifically, I'm referring to lines 395 and 397 in scanpath.py:
Since I run xbmc as a separate user on my computer I thought read permission would be enough to scan my pictures. If I change these lines to:
I no longer get a permission error and the EXIF-data is imported correctly. And again, a big THANK YOU for all the effort you have put into this plugin.
This might be a stupid question, but is there a good reason for the exif-parser to open the file with "modify" permissions? Specifically, I'm referring to lines 395 and 397 in scanpath.py:
Code:
try:
f=open(picfile,"r+b")
except:
f=open(picfile.encode('utf-8'),"r+b")
Code:
try:
f=open(picfile,"rb")
except:
f=open(picfile.encode('utf-8'),"rb")