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

Aeon Nox 3.6 : mod Showcase DVD view

$
0
0
Hi.

I'm modding Showcase DVD view to add the possibility to open the case for viewing CDart disc :

[Image: 1346858073-screenshot001.png]

I'm able to open the case by pressing down arrow (by using hidden button id="961")

Now, I want to display the CDart disc (disc.png) if present or Bluray / DVD disc if not but resolution is known or default disc if no disc.png and no resolution.

In Includes_Showcase_Cases.xml, I create new includes :

Code:
<include name="MovieShowcaseBDDisc">
    <posx>109</posx>
    <posy>110</posy>
    <width>195</width>
    <height>195</height>
    <texture background="true" fallback="common/cdart/disc-BD.png">$VAR[ShowcaseDisc0Var]</texture>
</include>
<include name="MovieShowcaseDVDDisc">
    <posx>109</posx>
    <posy>110</posy>
    <width>195</width>
    <height>195</height>
    <texture background="true" fallback="common/cdart/disc-DVD.png">$VAR[ShowcaseDisc0Var]</texture>
</include>
<include name="MovieShowcaseDisc">
    <posx>109</posx>
    <posy>110</posy>
    <width>195</width>
    <height>195</height>
    <texture background="true">common/cdart/default.png</texture>
</include>

And in group 6004, I add :

Code:
<include>MovieShowcaseBDDisc</include>

And I have what I want : disc.png if exist Bluray Disc if not.

Now, I want to have BR or DVD disc depending on resolution.

I have tried those code without success Sad :
Code:
<include condition="stringcompare(Container(504).ListItemNoWrap(0).VideoResolution,720) | stringcompare(Container(504).ListItemNoWrap(0).VideoResolution,1080)">MovieShowcaseBDDisc</include>

Code:
<include condition="stringcompare(Container(504).ListItem(0).VideoResolution,720) | stringcompare(Container(504).ListItem(0).VideoResolution,1080)">MovieShowcaseBDDisc</include>

Code:
<include condition="stringcompare($INFO[Container(504).ListItem(0).VideoResolution],720) | stringcompare($INFO[Container(504).ListItem(0).VideoResolution],1080)">MovieShowcaseBDDisc</include>

Where is my mistake ? Is there a different way to do what I what ?

Thanks.

Viewing all articles
Browse latest Browse all 84004

Trending Articles



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