Forum
[PROBLEM] Open a specific directory with a custom button - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Kodi (/forum-18.html)
+---- Forum: Skins (/forum-20.html)
+---- Thread: [PROBLEM] Open a specific directory with a custom button (/thread-2435.html)



Open a specific directory with a custom button - princeps - 20th Aug, 2014 01:34 AM

Hello,

I am customizing my Confluence for XBian Skin and want to add a custom button which opens a specific directory:

On http://wiki.xbmc.org/index.php?title=HOW-TO:Edit_the_home_screen_skin_files I read under number 3 how to do that. But it won't work - the button won't even show up..

I edited the Home.xml and added the following:

Code:
<item id="19">
                          <label>Konzerte</label>
                        <onclick>ActivateWindow(Videos,Konzerte)</onclick>
                        <icon>-</icon>
                        <thumb>-</thumb>
                    </item>

Via the sources.xml I defined the term "Konzerte" (everything according to the link above):

Code:
<video>
        <default pathversion="1"></default>
        <source>
            <name>Konzerte</name>
            <path pathversion="1">/media/Bueckstabue/</path>
            <allowsharing>true</allowsharing>
        </source>
    </video>

But the button won't show up...
Any help would be appreciated.


RE: Open a specific directory with a custom button - mk01 - 9th Oct, 2014 05:19 AM

sources is expanding the other direction. top level is sources. then in sources is video, files, .... then one by one source in cathegory so:


<sources>
<video>
<source>
....
</source>
<source>
....
</source>
</video>
</sources>