Kodi Community Forum

Full Version: Video flagging question?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've been looking into adding this for Aeon but I'm having a hard time getting anything to show up and could do with some help.

I've tried changing this
Code:
<control type="image" id="92">
    <include>Furniture_MovieInfoFlagSound</include>
    <texture>flags/info/dd51.png</texture>
    <visible>substring(listitem.studio,6ch) + substring(listitem.studio,ac-3)</visible>
</control>
Code:
<control type="image" id="92">
    <include>Furniture_MovieInfoFlagSound</include>
    <texture>flags/info/dd51.png</texture>
    <visible>substring(listitem.codec,ac3) + substring(listitem.channels,6)</visible>
</control>
but get nothing.

Also, how can the resolution be derived from the width?
Hitcher Wrote:I've been looking into adding this for Aeon but I'm having a hard time getting anything to show up and could do with some help.

I've tried changing this
Code:
<control type="image" id="92">
    <include>Furniture_MovieInfoFlagSound</include>
    <texture>flags/info/dd51.png</texture>
    <visible>substring(listitem.studio,6ch) + substring(listitem.studio,ac-3)</visible>
</control>
Code:
<control type="image" id="92">
    <include>Furniture_MovieInfoFlagSound</include>
    <texture>flags/info/dd51.png</texture>
    <visible>substring(listitem.codec,ac3) + substring(listitem.channels,6)</visible>
</control>
but get nothing.

Also, how can the resolution be derived from the width?

i modified listitem.codec,ac3 to listitem.codec,ac-3 and works here