Pictures database and library mode; scan EXIF and IPTC metadata tags into a SQL db - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Feature Suggestions (/forumdisplay.php?fid=9)
+--- Thread: Pictures database and library mode; scan EXIF and IPTC metadata tags into a SQL db (/showthread.php?tid=22407)
- solexalex - 2010-09-09 10:50
First of thanks for all your feedbacks. I feel happy of the interest you give to this addon.
I made a pull request to xbmc team yesterday but the new version is not in the repo yet. I `m going to work now and you will have to wait about 8 hours to expect any new version... Sorry
jpg , JPG
I'll make this better tonight. Don't expect other file extension or other way to detect jpg files yet. It should be harder to handle but it may be for a futur version, why not if needed.
Gif, png, ...
Wont be used as they dont contain any exif nor iptc metadata (correct me if i'm wrong). Maybe they can have xmp metadata but i didn't found any xmp python library to handle them.
Videos are not scanned neither for same reasons. But i may do a trick to add those in the database as many camera can take videos too.
Rescan on each execution.
You have an option in the plugin settings. Dont have in my mind the exact label for it. It is an option i kept for developping purpose to detect potentially scanning errors.
Adding or removing keywords , or widely edit pictures metadata.
It is not the goal of this plugin as many picture manager software do the job really well (And I m pretty sure many of us use one of those)
- solexalex - 2010-09-09 15:15
Official repository update.
My pictures database v0.1.2 is available
- solexalex - 2010-09-09 22:28
fiveisalive Wrote:I got this to work after quite a bit of fiddling (I am using the version just released to the addons repository with Dharma). It seems that the picture detection algorithm is pretty fragile. It simply looks for files with extension ".jpg". This means that it misses pictures with ".JPG" (which matters on Linux/Unix platforms that are case-sensitive). I hacked the code fromWhat do you think of :
Anyway I don't have exif or iptc infos from these file types.
If you have tif, gif, png or whatever pic files with IPTC/EXIF you can send to me a sample I'll add it to my set of testing pictures.
- Basemaster - 2010-09-10 10:46
I am using the Dharma version on Windows 7, first of all thanks for all the effort. Unfortunately the scanner doesnt complete a full scan, but crashes somewhere halfway. The collection is around 15.000 photos and resides on another Windows 7 machine. Please inform what info I could provide to troubleshoot.
- solexalex - 2010-09-10 18:23
I already noticed crash while scanning large pictures collection but did not notice that since dharma release.
You use 2 potentialy source of problem.
First one is the share.
Second one is the large collection.
I'll try to know whats your problem.
First, restart the plugin while full log activated (look on the wiki to know how activate logging from XBMC and get the XBMC.log file.) When you've got this log file, send it to me, contact me by PM if you need my email adress or post your log in this topic.
Send me your picture database you'll find in XBMC\userdata\Database\MyPictures.db. That way I know a bit more about how many pictures were scan before the crash append and maybe which picture was the last scanned.
Then you may try some things to make it working (just if you want to see how it works and if you like the plugin or not)
- After scanning, it crash, then edit the plugin settings and set the choice "Initialize the database before scanning" to false (unmark it). That way you whole database will not be refilled, but only new pictures found will be added. If you see it loads some more pictures it is a good sign, if not, it may be only one picture that crash the plugin. The log will tell me that.
- If it still does not work, it may be because of your share. I think you mount your W7 share as a virtual drive and you scan this drive for pictures. if true, maybe you can try to install XBMC with MyPicsDB plugin and scan the local path for pictures. If it works, the error may be because of the share, if not,... I'll have to ffind something else !!
Hope to hear from you soon
- solexalex - 2010-09-10 21:56
I just seen that this topic was not in python development section. That's why I started a new thread :
Feel free to continue started conversations here and start new question, requests... concerning this plugin on the new thread