conditions in Settings.xml
#1
Hi,

Im new to the Kodi code and trying to understand the xml in Settings.xml file.

In the setting regaring AC3Transcoding, I Think this codeexample hides or show this setting or am I wrong?

" <dependency type="visible">
<and>
<condition on="property" name="aesettingvisible" setting="audiooutput.config">audiooutput.ac3transcode</condition>
<condition on="property" name="aesettingvisible" setting="audiooutput.channels">audiooutput.ac3transcode</condition>
</and>
</dependency>
"

when I using the GUI and enable AC3 Passthrough, this setting AC3Transcoding becomes visible.
But I cant understand how this condition work?
could anyone explain how this condition make the setting hidden or visible?
Reply
#2
it's all done by xbmc/settings/lib which explains the how much better than any summary i might try to come up with.
Reply
#3
Thanks !

there is alot of debug log outputs so I will also take a look at the debug log aswell Smile
Reply

Logout Mark Read Team Forum Stats Members Help
conditions in Settings.xml0