Rating Media Flag Help
#1
Currently my Flags are handled as such:

Code:
<control type="image">
      <width>109</width>
      <height>25</height>
    <posx>725</posx>
    <posy>85</posy>
      <aspectratio>keep</aspectratio>
      <texture>audio_codecs/mono.png</texture>
      <visible>substring(listitem.filename,mono)</visible>
<animation type="WindowOpen">
            <effect type="fade" start="0" end="100" time="300"/>
        </animation>
        <animation type="WindowClose">
            <effect type="fade" start="100" end="0" time="300"/>
        </animation>
    </control>

How would this work if I want it to read from the info provided from TMDB?
Reply
#2
do you mean through the NFO files?

ListItem.ratingandvotes for the rating

not sure about custom entries in the NFO file though.

if not the sorry lol

also this would be a better way of doing your media flags as you will have crap loads of these if keep adding them to each entry.

Code:
Add this to the top or bottom of your media Flag xml

<include name="MediaFlagAnimation">
    <animation type="WindowOpen">
      <effect type="fade" start="0" end="100" time="300"/>
      </animation>
      <animation type="WindowClose">
      <effect type="fade" start="100" end="0" time="300"/>
      </animation>
</include>

New Code

    <control type="image">
      <width>109</width>
      <height>25</height>
      <posx>725</posx>
      <posy>85</posy>
      <aspectratio>keep</aspectratio>
      <texture>audio_codecs/mono.png</texture>
      <visible>substring(listitem.filename,mono)</visible>
      <include>MediaFlagAnimation</include>
    </control>

This way you only need to edit the two fields and it will effect all.
Reply
#3
I'm thinking of NC17, PG, PG13 and so on
Reply

Logout Mark Read Team Forum Stats Members Help
Rating Media Flag Help0