OSMC/Kodi Slideshow.xml
#1
Does anybody know where I find file Slideshow.xml on Raspberry - Kodi - OSMC skin? 
All I found was in osmc\.kodi\userdata\addon_data\skin.osmc file settings.xml.
Where is slideshow.xml?

Thx
Reply
#2
Probably
xml:
/usr/share/kodi/addons/skin.osmc/xml

Or something very similar.   As it's a system installed skin, it won't be in userdata/addons
Learning Linux the hard way !!
Reply
#3
thank you...yes found the file!!!!!

But faced more problems, when I add into this file a label control like
    <controls>
        <control type="label">
                       <posx>xx</posx>
                       <posy>yy</posy>
                       <width>ww</width>
                       <height>hh</height>
                       <align>center</align>
                       <aligny>center</aligny>
                       <font>font20</font>
                       <textcolor>white</textcolor>
                        <label>$INFO[slideshow.cameramodel] - $INFO[slideshow.exiftime] - $INFO[Slideshow.EXIFDescription] - $INFO[Slideshow.SlideComment] - $INFO[Slideshow.Altitude]</label>                      
         </control>
    </controls>

the slideshow works only with <textcolor> and <label>, when I kept any other, slideshow isn't running: can't start, no reaction at all.

Also doesn't matter if type absolute numbers for xx, yy, ww, hh, or relative numbers like xx% aso.

And: There is a tag like <textcolor>, is there one for the background too? If the picture background is bright, the text isn't visible.
And, where can I find all acceptable label attributes, looked in the wiki and this forum, but couldn't find them?
(Don't mean the slideshow info label tags, but attribute tags for labels.)

Thanks guys for your help!
Reply
#4
(2023-01-22, 04:16)Sarahoops Wrote: And, where can I find all acceptable label attributes, looked in the wiki and this forum, but couldn't find them?

Have you looked here ?
Learning Linux the hard way !!
Reply
#5
thanks black_eagle...found that too.
Unfortunately no tag to set the background color.

But scrolled through many xml files to get some ideas. Found ot, can modify the background with an image label (same position and size as the slideshow info label) like this:

     <controls>
        <control type="image">
               <posx>0</posx>
                       <posy>1000</posy>
                       <width>1920</width>
                       <height>50</height>            
                   <texture colordiffuse="grey" border="5">listselect_fo.png</texture>
        </control>
        <control type="label">
                       <!-- Comment: Below label shows some pictures properties -->
                       <description>Control for skin.aeon.nox.silvo</description>
                       <posx>0</posx>
                       <posy>1000</posy>
                       <width>1920</width>
                       <height>50</height>
                       <align>center</align>
                       <aligny>center</aligny>
                       <font>font20</font>
                       <textcolor>white</textcolor>
               <shadowcolor>FF000000</shadowcolor>
                       <label>$INFO[slideshow.exiftime] - $INFO[Slideshow.EXIFDescription] - $INFO[Slideshow.SlideComment] - $INFO[Slideshow.Altitude] * $INFO[slideshow.cameramodel] *</label>                      
         </control>
    </controls>

Works great, but don't know where to find texture listselect_fo.png.
Doesn't seems to be an image png file. Is it just somewhere a definition?
Can you help me with that too?

Thx
Reply
#6
ok...found out...is compiled in media/textures.xbt!!!!
Unfortunately, tried to decompile, but TextureTools doesn't create an output....but anyway...
thx guys...
Reply
#7
For what its worth, you can get the decompiled textures from https://github.com/xbmc/xbmc/tree/master...uary/media
Learning Linux the hard way !!
Reply

Logout Mark Read Team Forum Stats Members Help
OSMC/Kodi Slideshow.xml0