Release MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags
(2022-02-14, 17:18)Xycl Wrote:
(2022-01-28, 21:37)vladimir_genov Wrote: Hello Xycl, and thank you for the great plugin! 
It makes Kodi (and any TV-attached device that can run it) the best option for a universal home photo collection player that follows the metadata standards! 

Although the filtering capabilities are amazing, personally I'd also like to have the metadata exposed during photo display, e.g. OSD.
I do understand that your focus is the DB and filtering aspect, and the display part is left to skinners, but at the end there isn't any skin I'm aware of that uses the metadata collected by your plugin.
That is why I'm trying to adjust the slideshow.xml by playing with labels, e.g.:
<label>$INFO[slideshow.caption]</label>

Since Kodi is only indexing the EXIF/IPTC metadata, the Window properties available to $INFO cannot make use of the XMP tags indexed by MypicsDB.

Can you suggest a way to call the MypicsDB.py/MyPictureDB object and "ask" it to provide a list of specific tags for a given photo? (Photo file details are available as $INFO properties in slideshow.xml and can be used as arguments, I suppose).
I'm specifically interested in the list of xmp people tags, i.e. I would like to expose in OSD the names of the people that are present on the photo.
Or any other way to have the metadata exposed to the Window object?

Thanks in advance for your recommendations!

Can you post here an example slideshow.xml which e.g. outputs "here is the person name"?
Then I can use this to test the possibilities.
Hi, pliease find a sample AppData\Roaming\Kodi\addons\skin.confluence\720p\SlideShow.xml:
xml:

<?xml version="1.0" encoding="UTF-8"?>
<window>
<defaultcontrol>2</defaultcontrol>
<controls>
<control type="label">
<description>Picture comment</description>
<posx>0</posx>
<posy>567</posy>
<width>1280</width>
<height>55</height>
<align>center</align>
<aligny>center</aligny>
<font>!font10</font>
<font>font20</font>
<textcolor>white</textcolor>
<label>$INFO[slideshow.caption][CR]$INFO[slideshow.exifdate] - $INFO[slideshow.city] $INFO[slideshow.sublocation][CR]$INFO[Slideshow.keywords]</label>
</control>
</controls>
</window>

A possible implementation may be an improvement of the existing "setproperties" action (as per Mike's post in the 1st page of this thread 10 years ago), that could add the paths as keys and tag values to the Window object upon starting a slideshow.
Then the Slideshow could use them by something like $INFO[Window.Property(Slideshow.path)] in the <label> element above.

If face tags coordinates are also added, skinners may use it to draw rectangular frames around each tagged person's face... Smile
Reply


Messages In This Thread
Beta Testers needed - by Xycl - 2012-11-06, 12:14
Filter / TAG Question ? - by knutklo - 2015-04-07, 16:38
RE: MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags - by vladimir_genov - 2022-02-15, 17:23
Logout Mark Read Team Forum Stats Members Help
MyPicsDB: Pictures DB with EXIF, IPTC & XMP tags1