Kodi Community Forum
Release MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Picture Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=150)
+---- Thread: Release MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags (/showthread.php?tid=133905)



RE: [RELEASE] MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags - Xycl - 2014-01-31

I've the problem that MyPicsDB uses xbmcvfs (virtual file system) to access pictures stored on network shares.
Xbmcvfs doesn't supply a file modification time function.

Beginning with Gotham there is a xbmcvfs.Stat class. But not for Frodo or Eden.


RE: [RELEASE] MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags - Xycl - 2014-01-31

What you can do if you want to see videos with "Browse by date" menu.
Code:
update Files
set ImageDateTime = DateAdded
where ftype = 'video';
commit;
Of course, then you'll see the videos with the date when they were added.


RE: [RELEASE] MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags - fiveisalive - 2014-02-02

(2014-01-31, 11:07)Xycl Wrote: I've the problem that MyPicsDB uses xbmcvfs (virtual file system) to access pictures stored on network shares.
Xbmcvfs doesn't supply a file modification time function.

Beginning with Gotham there is a xbmcvfs.Stat class. But not for Frodo or Eden.

I see, so this is the reason that it worked when I was on Dharma? Because there MyPicsDB wasn't (yet) using xbmcvfs?

OK, so I'm using this on Gotham, so in principle this could now be made to work, but there would need to be code support added in MyPicsDB? Could this be added on a conditional basis? I'd be willing to fork your MyPicsDB github repo, trying modifying the code to implement this if you can give me some pointers on where to start looking in the MyPicsDB code.


RE: [RELEASE] MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags - Xycl - 2014-02-03

The following might be incomplete because I had only a short time to look on the code

scanpath.py at row 305-307 (insert of videos)

You must set the value
Code:
dictionnary["EXIF DateTimeOriginal"]
to the file modification or creation date of the video file.


RE: [RELEASE] MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags - Xycl - 2014-02-03

(2014-02-03, 09:37)Xycl Wrote: The following might be incomplete because I had only a short time to look on the code

scanpath.py at row 305-307 (insert of videos)

You must set the value
Code:
EDIT: picentry["EXIF DateTimeOriginal"]
to the file modification or creation date of the video file.



RE: [RELEASE] MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags - Xycl - 2014-02-03

Use version 13.3.6 from my repo.
Seems to work with Frodo 12.3, too.


RE: [RELEASE] MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags - fiveisalive - 2014-02-06

(2014-02-03, 11:55)Xycl Wrote: Use version 13.3.6 from my repo.
Seems to work with Frodo 12.3, too.

Rescanned my photo library, video dates now supported. Seems to work well. Thanks!


RE: [RELEASE] MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags - Xycl - 2014-02-13

(2014-01-24, 23:47)mhdebokx Wrote: - improving the selection window for 'period' . I'm using Aeon Nox as skin, and it works terrible now
Something new from Aeon Nox developer?

(2014-01-24, 23:47)mhdebokx Wrote: - introducing a hierarchy browser on landcode, provence, city and sub-location
I'll look on it, but as already told, for me it has a low priority.

(2014-01-24, 23:47)mhdebokx Wrote: - introducing a smartplaylist, where pictures can be selected (folder-wise or using the MPD database) including AND music can be selected (folder-wise or using the XBMC music DB). Eg pictures from an concert where you have been can be shown with the latest CD music
A smartplaylist using the folders is already possible with the filter wizard. You must translate the "StrPath" tag to use paths within filter wizard.
As far as I know there is a JSON method to get (music) playlists. Perhaps it's possible to display all playlists, store it with the filter condition and of course play the selected on.
I'll look on it.


RE: [RELEASE] MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags - mhdebokx - 2014-02-14

I'm running v12.3.6

First I make a new selection of pictures using the 'Filter wizard'. Within the wizard I use the option "Equal to all tags", then I save this wizard.

When pushing the OK button, I see the correct set of pictures.

Then I'm leaving the wizard and return to the main menu. From here I select 'Saved filter wizard settings' and choose the filter just saved. The number of pics are not equal when I had a look after OK button in the Wizard itself. It looks like that not the "equal to all tags" is being used, but more likely the OR-option is used.

I tested this on 2 several machines, one running XBMC 12.3 Frodo and the other one is running Gotham night builds. Both environments experience the same errors.

Can you have a look to this ?


RE: [RELEASE] MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags - Xycl - 2014-02-14

Confirmed and fixed in v12.3.7


RE: [RELEASE] MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags - mhdebokx - 2014-02-14

(2014-02-14, 17:16)Xycl Wrote: Confirmed and fixed in v12.3.7

I retested the new version. It works OK now. Now I can make new collections joining several filtered-wizards Wink


RE: [RELEASE] MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags - dawson77 - 2014-02-21

I got a problem with my dng-files. (the raw-files of adobe photoshop and lightroom)
Inside the dng-files I got some keywords like in jpg.
The jpg-keywords are fine in the addon, but not the dng.
I can see the pictures, but no tags.
DNG is enabled in the addon settings.
What is missing?

(XBMC Frodo, v12.3.7 of addon, Win7 32 Bit)

++++++++++++++++++
[edit]
OK. Deleted the DB and searched again - and here it goes. All tags found.
But why is this?
Maybe because I have many xbmc clients sharing the same addon and db?
Could this be the problem?


RE: [RELEASE] MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags - Xycl - 2014-02-24

Most of the MyPicsDB releases are bugfixes.
Perhaps there was a bug in the file scanner? I don't know.

What you must not do: Don't backup a running database.
E.g. Synology has a directory sync tool which copies modified files. If you use this for the database directory then for sure you'll run into trouble.


RE: [RELEASE] MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags - mhdebokx - 2014-02-25

After setting the general startup parm 'Init database on startup' all tables in the database are cleaned. But also the tables FilterWizard and FilterWizardItems are cleaned. That is not handy if you want to do a complete rescan of the database.

RFC: Is it possible to skip both tables in the database cleaning process ?


RE: [RELEASE] MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags - Xycl - 2014-02-28

(2014-02-25, 21:06)mhdebokx Wrote: RFC: Is it possible to skip both tables in the database cleaning process ?

That's a good idea.
I'll change it.


This forum uses Lukasz Tkacz MyBB addons.