Mod Video Information Window (DialogVideoInfo) with Rotten Tomatoes
#16
(2016-02-27, 01:49)neurosis13 Wrote:
(2016-02-27, 00:47)Hustler1337 Wrote: It is possible to show the flags in your case, but that would involve adding variables to the code, which requires modification of another file - something that I tried to avoid to ease the process of updating the skin when a skin update is released.

In the meantime, here's one I've edited for you with a text MPAA label, without the flags and trailer autoplay: http://pastebin.com/raw/USChF9Ft

Hope that helps

wow, you are really fast with your fixes, thanks a lot.

the mpaa rating descriptions does show up now but it scrolls over the discard.
I think you need to reposition this info but you don't need to do this just for me alone.
i just hoped that i gave you some hints and tips to make this videodialoginfo even better.

Oops, sorry, I don't use discart and it was late at night. I don't mind doing a custom version for you since I quite enjoy it and it's fairly quick to make the changes since the hard work has already been done. I've repositioned the labels and hopefully it shouldn't overlap the discart Tongue

Also, I've created a custom variable for the flag icon to show since your MPAA ratings are not in the normal format used by most.

You'll need to add the following in Includes_Labels.xml:

PHP Code:
    <variable name="GetShortenedMPAA">
        <
value condition="SubString(ListItem.Mpaa,PG-13)">pg-13</value>
        <
value condition="SubString(ListItem.Mpaa,PG for)">pg</value>
        <
value condition="SubString(ListItem.Mpaa,R for)">r</value>
        <
value condition="SubString(ListItem.Mpaa,G for)">g</value>
        <
value condition="SubString(ListItem.Mpaa,NC-17)">nc-17</value>
        
        <
value condition="SubString(ListItem.Mpaa,TV-Y7)">tv-y7</value>
        <
value condition="SubString(ListItem.Mpaa,TV-Y)">tv-y</value>
        <
value condition="SubString(ListItem.Mpaa,TV-G)">tv-g</value>
        <
value condition="SubString(ListItem.Mpaa,TV-PG)">tv-pg</value>
        <
value condition="SubString(ListItem.Mpaa,TV-14)">tv-14</value>
        <
value condition="SubString(ListItem.Mpaa,TV-MA)">tv-ma</value>
        
        <
value condition="SubString(ListItem.Mpaa,0 )">0</value>
        <
value condition="SubString(ListItem.Mpaa,6 )">6</value>
        <
value condition="SubString(ListItem.Mpaa,12 )">12</value>
        <
value condition="SubString(ListItem.Mpaa,12a )">12a</value>
        <
value condition="SubString(ListItem.Mpaa,15 )">15</value>
        <
value condition="SubString(ListItem.Mpaa,16 )">16</value>
        <
value condition="SubString(ListItem.Mpaa,18 )">18</value>
        
        <
value condition="SubString(ListItem.Mpaa,R18)">r18</value>
        <
value condition="IsEmpty(ListItem.Mpaa)">nr</value>
        <
value>nr</value>
    </
variable

Also, here is the dialoguevideo.xml file: [removed]

I've not tested it, so do let me know how it goes.
Reply


Messages In This Thread
RE: Video Information Window (DialogVideoInfo) with Rotten Tomatoes - by Hustler1337 - 2016-02-27, 14:49
Logout Mark Read Team Forum Stats Members Help
Video Information Window (DialogVideoInfo) with Rotten Tomatoes5