Kodi Community Forum

Full Version: Conditions to make Activate (Filter) work ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, how do you call advanced media filter window from onclick action?
Tried this on Movies, Titles and TvShow, Titles window
Code:
<control type="button" id="7006">
                <posx>1200</posx>
                <posy>20</posy>
                <width>40</width>
                <height>40</height>
                <label>-</label>
                <font>-</font>
                <texturefocus>back-focus.png</texturefocus>
                <texturenofocus>back-nofocus.png</texturenofocus>
                <onclick>ActivateWindow(Filter)</onclick>
                <visible>True</visible>
            </control>

But it doesn't work..

ActivateWindow(mediafilter) just brings up empty window with "Filter Program" and Ok Clear Button..
Strange thing is, i was able to call it with "Filter" last night but now it doesn't work anymore..

Is it only responding to specific ID or is this a bug?

Solved, Action ID doesn't need Activate Big Grin
Got it to work with this :

Code:
<onclick>Filter</onclick>