[Pre-merge] Cant see default.py in filebrowser
#1
AS title says in my skin I can't see OSDsubtitles's default.py but in Confluence I can. My pre-merge version is 28032:

Here are the two to compare, I don't notice anything?

Night:
PHP Code:
<itemlayout width="750" height="40">
                <
control type="label">
                    <
posx>0</posx>
                    <
posy>5</posy>
                    <
width>750</width>
                    <
height>25</height>
                    <
aligny>center</aligny>
                    <
font>Font_Bartowski_Movies_Duration</font>
                    <
textcolor>white</textcolor>
                    <
info>ListItem.Label</info>
                </
control>
                
            </
itemlayout>
            <
focusedlayout width="750" height="100">
                <
control type="label">
                    <
posx>0</posx>
                    <
posy>30</posy>
                    <
width>750</width>
                    <
height>25</height>
                    <
aligny>center</aligny>
                    <
font>Font_Bartowski_Filebrowser</font>
                    <
textcolor>mainblue</textcolor>
                    <
label>[UPPERCASE][b]$INFO[ListItem.Label][/b][/UPPERCASE]</label>
                </
control

Confluence:
PHP Code:
<itemlayout height="40" width="640">
                        <
control type="image">
                            <
posx>0</posx>
                            <
posy>0</posy>
                            <
width>640</width>
                            <
height>41</height>
                            <
texture border="5">MenuItemNF.png</texture>
                        </
control>
                        <
control type="image">
                            <
posx>10</posx>
                            <
posy>2</posy>
                            <
width>38</width>
                            <
height>38</height>
                            <
texture>$INFO[ListItem.Icon]</texture>
                        </
control>
                        <
control type="label">
                            <
posx>55</posx>
                            <
posy>0</posy>
                            <
width>580</width>
                            <
height>40</height>
                            <
font>font13</font>
                            <
align>left</align>
                            <
aligny>center</aligny>
                            <
selectedcolor>green</selectedcolor>
                            <
info>ListItem.Label</info>
                        </
control>
                    </
itemlayout>
                    <
focusedlayout height="40" width="640">
                        <
control type="image">
                            <
posx>0</posx>
                            <
posy>0</posy>
                            <
width>640</width>
                            <
height>41</height>
                            <
visible>!Control.HasFocus(451)</visible>
                            <
texture border="5">MenuItemNF.png</texture>
                        </
control>
                        <
control type="image">
                            <
posx>0</posx>
                            <
posy>0</posy>
                            <
width>640</width>
                            <
height>41</height>
                            <
visible>Control.HasFocus(451)</visible>
                            <
texture border="5">MenuItemFO.png</texture>
                        </
control>
                        <
control type="image">
                            <
posx>10</posx>
                            <
posy>2</posy>
                            <
width>38</width>
                            <
height>38</height>
                            <
texture>$INFO[ListItem.Icon]</texture>
                        </
control>
                        <
control type="label">
                            <
posx>55</posx>
                            <
posy>0</posy>
                            <
width>580</width>
                            <
height>40</height>
                            <
font>font13</font>
                            <
align>left</align>
                            <
aligny>center</aligny>
                            <
selectedcolor>green</selectedcolor>
                            <
info>ListItem.Label</info>
                        </
control>
                    </
focusedlayout

Thx for any replies...
Image

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
Reply
#2
Noticed that too in 28276.
Reply
#3
what's the code you use to launch the filebrowser?


edit:
nevermind, found it. you're using 'post-addon' code:
<onclick>Skin.SetFile(SubsScript_Path,Script)</onclick>

change it to:
<onclick>Skin.SetFile(SubsScript_Path,.py)</onclick>
and you should be fine. ;-)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#4
Actually I used T!'s post merge code:

<onclick>Skin.SetFile(SubsScript_Path,Script)</onclick>

Looking at a pre-merge confluence, it uses:

<onclick>Skin.SetFile(SubtitleScript_Path,.py)</onclick>

Yep, just tried the switch that was it, thx Ronie...Newer post-merge way is way nicer, it automatically takes you to the correct section and only takes 2 clicks.
Image

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
Reply

Logout Mark Read Team Forum Stats Members Help
[Pre-merge] Cant see default.py in filebrowser0