2017-02-13, 22:19
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?
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?