Quantcast
Channel: Kodi Community Forum - Skinning
Viewing all articles
Browse latest Browse all 1818

Q Skin.SetFile( ?

$
0
0
on kodi you can display a node on a widget but the node will only show from library:// not from any other file path so you can not have a node in another folder
and when you use Skin.SetFile(  the link you get is special://userdata/library/movies/actors.xml 
and to show in a widget it needs to be library://video/movies/actors.xml


tip
this cam be used to have a custom play list folder on any drive
<control type="button" id="1021">
                    <include>DefaultSettingButton</include>
                    <onclick>Skin.SetFile(widget1, .xsp, )</onclick>
                    
                    <label>widget1 file</label>
                    <label2>$INFO[Skin.String(widget1)]</label2>
                </control>


widget
<param name="content_path" value="$INFO[Skin.String(widget1)]"/>

Viewing all articles
Browse latest Browse all 1818

Trending Articles