Kodi Community Forum

Full Version: Display EXIF comment during slideshow
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
By editing EXIF comment and modifing a little Picture Thumb View in ViewPictures.xml :

Code:
<label>$INFO[ListItem.PictureComment,[COLOR=blue]Commentaire :[/COLOR] - ]</label>

I can display picture comment stored in EXIF field :

Image

And pressing i display a lot of information about the picture :

Image

But after playing a slideshow by pressing p and then pressing o to display the same informations, everything is OK except that picture is not displayed as background :

Image

Image

How can I access PictureComment information to display it during slideshow ?

I have modified SlideShow.xml :

Code:
<?xml version="1.0" encoding="utf-8"?>
<window>
    <defaultcontrol>2</defaultcontrol>
    <controls>
        <control type="label">
            <description>Picture comment</description>
            <posx>0</posx>
            <posy>1000</posy>
            <width>1920</width>
            <height>35</height>
            <align>center</align>
            <aligny>center</aligny>
            <font>font10</font>
            <textcolor>white</textcolor>
            <label>Picture EXIF comment</label>
        </control>
    </controls>
</window>

So I can display hard coded information :

Image

But $INFO[LastItem.PictureComment] is empty.

Any way to get EXIF comment ?
Thanks to sfontes : http://forum.xbmc.org/showthread.php?tid=113290&page=5

It's possible to display informations during slideshow :

Image

SlideShow.xml :

Code:
<?xml version="1.0" encoding="utf-8"?>
<window>
    <defaultcontrol>2</defaultcontrol>
    <controls>
        <control type="label">
            <description>Picture comment</description>
            <posx>0</posx>
            <posy>1000</posy>
            <width>1920</width>
            <height>35</height>
            <align>center</align>
            <aligny>center</aligny>
            <font>font10</font>
            <textcolor>white</textcolor>
            <label>$INFO[slideshow.cameramake] - $INFO[slideshow.cameramodel] - $INFO[slideshow.exiftime] - $INFO[slideshow.exifcomment]</label>
        </control>
    </controls>
</window>

Complete list of informations is available here :

http://forum.xbmc.org/showthread.php?tid...#pid211246

Phil & Big_Noid, can you include this kind of information in SlideShow.xml ? Maybe with an option to hide / show comment. And why not set up to 4 fields in SlideShow.xml and a powerful GUI to let the user choose with information should be display in each field Big Grin
Displaying this kind of informations is not possible everywhere for the moment :

http://forum.xbmc.org/showthread.php?tid...pid1351667
Hello,

On an W8 PC, I tested the new syntax for the SlideShow.xml file
in C:\users\jean-Max\AppData\Roaming\XBMC\addons\skin.modded.confluence2\720p\SlideShow.xml

Result :
No display of EXIF info on pictures Sad
I used single photo play and slideshow after reading this note :
" The $INFO[slideshow.*] labels only work if you start them from the context menu with "Start slideshow here".

Questions :
-> The SlideShow.xml file you talked about is the right one I modified, or is-it another one ?

-> Must we use only the default skin (Confluence) to have this Exif display fonction ?
(I use Modded confluence 2 skin)

Thanks for all Smile
Hello

I apologize : I just remarked I am in Aeon Nox skin zone

-> Could the SlideShow.xml syntax work with all the skins ?

Thanks Smile
Hi Jean-Max.

I'm running XBMC 12.2 / Aeon Nox 4.1.9 on Windows 7 and my modded SlideShow.xml work as intended :

Image

By pressing Enter from picture list or P to launch diaporama.

So, yes, it's the good file :

C:\Users\<user>\AppData\Roaming\XBMC\addons\skin.aeon.nox\1080i\SlideShow.xml

Don't know if this synthax work on other skins but it should as I don't think is skin related. However, this modded SlideShow.xml file doesn't work with Confluence.

Maybe ask in this thread : http://forum.xbmc.org/showthread.php?tid=158723
(2013-09-18, 14:01)mikebzh44 Wrote: [ -> ]Don't know if this synthax work on other skins but it should as I don't think is skin related. However, this modded SlideShow.xml file doesn't work with Confluence.

Thanks for the reply Smile

You write that Confluence is not OK : I am afraid that my Modded Confluence Vol. 2 skin will not be OK, because it's based on Confluence.. ;(

Here is the .... \skin.modded.confluence2\720p\SlideShow.xml I have :
Code:
<window id="2007">
    <defaultcontrol>2</defaultcontrol>
    <controls>
        <control type="group" id="13">
            <posx>130r</posx>
            <posy>10</posy>
            <visible>!Skin.HasSetting(Show_SlideShow_Paused)</visible>
            <control type="image">
                <posx>0</posx>
                <posy>0</posy>
                <width>120</width>
                <height>35</height>
                <texture>black-back.png</texture>
                <bordertexture border="3">NoCover_1.png</bordertexture>
                <bordersize>5</bordersize>
            </control>
            <control type="label">
                <description>paused label</description>
                <posx>10</posx>
                <posy>0</posy>
                <width>100</width>
                <height>35</height>
                <align>center</align>
                <aligny>center</aligny>
                <font>font10</font>
                <textcolor>white</textcolor>
                <label>31043</label>
            </control>
        </control>
        <!-- media infos -->
        <control type="group">
            <posx>20</posx>
            <posy>180r</posy>
            <visible>Player.ShowInfo + Player.HasMedia</visible>
            <include>VisibleFadeEffect</include>
            <include>SmallMusicInfo</include>
        </control>
    </controls>
</window>

In your slideshow.xml file, I suppose that the OSD position for EXIF info is written here:
<posx>0</posx>
<posy>1000</posy>
<width>1920</width>
<height>35</height>
<align>center</align>
<aligny>center</aligny>
<font>font10</font>

On my W8 Test PC, the screen is 1680x1050 :
So, what are the data I have to modify in the OSD position inside the SlideShow.xml file ?

Thanks for all Smile

Salutations cordiales Wink
Oui, c'est vrai que le skin Confluence est en 720. A tout les coups, le label doit être affiché hors écran, il faut toucher au width et au posy. Regarde en faisant un ratio entre 1920 et 1280, qui doit être la largeur du 720p.

Sorry for this French answer but I don't have time to make an English one Wink
That it, as Confluence is a 720p skin, posy and width have to be adjusted.

So use this SlideShow.xml :

Code:
<?xml version="1.0" encoding="utf-8"?>
<window>
    <defaultcontrol>2</defaultcontrol>
    <controls>
        <control type="label">
            <description>Picture comment</description>
            <posx>0</posx>
            <posy>667</posy>
            <width>1280</width>
            <height>35</height>
            <align>center</align>
            <aligny>center</aligny>
            <font>font10</font>
            <textcolor>white</textcolor>
            <label>$INFO[slideshow.cameramake] - $INFO[slideshow.cameramodel] - $INFO[slideshow.exiftime] - $INFO[slideshow.exifcomment]</label>
        </control>
    </controls>
</window>

Image
Thanks for all Smile
I will try this syntax
... but I am afarid my skin Confluence (Mod) will not display Exif infos
I will let you know the result here
.. to follow...
Hello

I just tested the syntax on one PC (W8 64, XBMC Windows 12.2, skin Confluence Mod 2 :
C:\Users\Jean-Max\AppData\Roaming\XBMC\addons\skin.moddedconfluence2\720p\SlideShow.xml

Its OK by replacing the whole previous SlideShow.xml file by the new one SmileSmile
Thanks for all !

Code:
<window>
    <defaultcontrol>2</defaultcontrol>
    <controls>
        <control type="label">
            <description>Picture comment</description>
            <posx>0</posx>
            <posy>667</posy>
            <width>1280</width>
            <height>35</height>
            <align>center</align>
            <aligny>center</aligny>
            <font>font10</font>
            <textcolor>white</textcolor>
            <label>$INFO[slideshow.cameramake] - $INFO[slideshow.cameramodel] - $INFO[slideshow.exiftime] - $INFO[slideshow.exifcomment]</label>
        </control>
    </controls>
</window>

Image
I don't know but you are not using my SlideShow.xml :

http://forum.xbmc.org/showthread.php?tid...pid1517230

You should submit your issue on Confluence thread.
(2013-10-01, 18:03)mikebzh44 Wrote: [ -> ]I don't know but you are not using my SlideShow.xml :

http://forum.xbmc.org/showthread.php?tid...pid1517230

You should submit your issue on Confluence thread.

Have a look on my post : It's OK now !
Thanks for all Smile
Hello,

From Picasa , I added a legend on each of my photos
During Picasa sideshow, this legend is displayed at the bottom of each photo

"Exifcomment" tag in Slideshow.xml displays nothing in XBMC for these photos previously tagged by Picasa (see my screen capture, 2 posts before)

Question:
-> Do you know the name of the Exif tag used by Picasa to store the legend of each Photo ?

With this Exif tag name, I would be able to display each Photo legend in XBMC sideshow !

Thanks for all Smile
Don't know, maybe Picassa store this information in a dedicated place.

BTW, can't see your screenshot, use imgur.com Wink
Pages: 1 2 3