Thank you for your donation


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem: Open a specific directory with a custom button
20th Aug, 2014, 01:34 AM
Post: #1
Open a specific directory with a custom button
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.
Find all posts by this user
Quote this message in a reply
9th Oct, 2014, 05:19 AM
Post: #2
RE: Open a specific directory with a custom button
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>

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: