Quantcast
Channel: Kodi Community Forum - All Forums
Viewing all articles
Browse latest Browse all 84004

How to get path as input value and use it? Confluence mod

$
0
0
here is the problem:
I have created a small mod over confluence theme so I can have a new menu item RADIO. It includes hardcoded path to my radio m3u.
Code:
                    <item id="123333">
                        <label>RADIO</label>
                        <onclick>ActivateWindow(10501,&quot;smb://MYBOOKLIVE/Public/Shared Music/RADIO/&quot;)</onclick>
                        <icon>special://skin/backgrounds/radio.jpg</icon>
                        <thumb>$INFO[Skin.String(Home_Custom_Back_Radio_Folder)]</thumb>
                    </item>

I want to mod the skin yo be able to pop-up dialog with the file- system and select the location. I modded custom_SkinSetting_1111.xml, the fifth music add-on option to actually open DialogMediaSource.xml

Code:
                        <control type="button" id="425">
                            <width>750</width>
                            <height>40</height>
                            <font>font13</font>
                            <label>Click to add Radio folder path</label>
                            <label2>[COLOR=selected]$INFO[system.addontitle(Skin.String(HomeMusicButton5))][/COLOR]</label2>
                            <textcolor>grey2</textcolor>
                            <focusedcolor>white</focusedcolor>
                            <texturefocus>MenuItemFO.png</texturefocus>
                            <texturenofocus>MenuItemNF.png</texturenofocus>
                            <onclick>ActiveWindow(129)</onclick>
                        </control>

I am looking for the method that will allow me a path to be stored as a string in some of the userdata files so i can later use it in my Home.xml entry. I suppose it is something like Skin.SetSOMETHING() but cant find what it isSad

Viewing all articles
Browse latest Browse all 84004

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>