Release MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags
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:
Code:
try:
            f=open(picfile,"r+b")
        except:
            f=open(picfile.encode('utf-8'),"r+b")
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:
Code:
try:
            f=open(picfile,"rb")
        except:
            f=open(picfile.encode('utf-8'),"rb")
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.
Reply


Messages In This Thread
Beta Testers needed - by Xycl - 2012-11-06, 12:14
RE: [RELEASE] MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags - by ggubben - 2013-08-14, 20:25
Filter / TAG Question ? - by knutklo - 2015-04-07, 16:38
Logout Mark Read Team Forum Stats Members Help
MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags1