Can't find the video info bottom right
#1
Question 
Hey guys!

I'm searching and searching but i can't find the info showing on videos/movies on the bottom right. Here is a screen:

Image

I just want to add the release year and title, i found out how and even the right values but i rly can't find the right xml to change it in the right location. Always end up in some left menue called topbox or so, kinda confusing. Can some expert please point me in the right direction?

Thanks for any help in advance.
Reply
#2
https://github.com/xbmc/xbmc/blob/master...#L343-L404

xml:
    <include name="MediaFlags">
        <param name="infolabel_prefix"></param>
        <param name="resolution_var">$VAR[ResolutionFlagVar]</param>
        <definition>
            <control type="grouplist">
                <orientation>horizontal</orientation>
                <right>20</right>
                <top>0</top>
                <height>70</height>
                <align>right</align>
                <itemgap>28</itemgap>
                <width>1900</width>
                <usecontrolcoords>true</usecontrolcoords>
                <control type="group">
                    <width>150</width>
                    <visible>System.HasAddon(resource.images.studios.white) + String.IsEqual($PARAM[infolabel_prefix]ListItem.DBtype,tvshow)</visible>
                    <include content="MediaFlag">
                        <param name="texture" value="$INFO[$PARAM[infolabel_prefix]ListItem.Studio,resource://resource.images.studios.white/,.png]" />
                    </include>
                </control>
                <control type="group">
                    <top>10</top>
                    <width>200</width>
                    <include content="InfoFlag">
                        <param name="visible" value="[String.IsEqual($PARAM[infolabel_prefix]ListItem.DBtype,tvshow) | String.IsEqual($PARAM[infolabel_prefix]ListItem.DBtype,episode)] + !String.IsEmpty($PARAM[infolabel_prefix]ListItem.Premiered)" />
                        <param name="icon" value="lists/year.png" />
                        <param name="label" value="$INFO[$PARAM[infolabel_prefix]ListItem.Premiered]" />
                    </include>
                </control>
                <control type="group">
                    <width>115</width>
                    <visible>!String.IsEmpty($PARAM[infolabel_prefix]ListItem.Duration)</visible>
                    <control type="label">
                        <width>115</width>
                        <height>60</height>
                        <align>center</align>
                        <aligny>center</aligny>
                        <label>$INFO[$PARAM[infolabel_prefix]ListItem.Duration]</label>
                        <font>font_flag</font>
                    </control>
                    <include content="MediaFlag">
                        <param name="texture" value="flags/flag.png" />
                    </include>
                </control>
                <include content="MediaFlag">
                    <param name="texture" value="$INFO[$PARAM[infolabel_prefix]ListItem.AudioChannels,flags/audiochannel/,.png]" />
                    <param name="visible" value="!String.IsEmpty($PARAM[infolabel_prefix]ListItem.AudioChannels)" />
                </include>
                <include content="MediaFlag">
                    <param name="texture" value="$INFO[$PARAM[infolabel_prefix]ListItem.AudioCodec,flags/audiocodec/,.png]" />
                    <param name="visible" value="!String.IsEmpty($PARAM[infolabel_prefix]ListItem.AudioCodec)" />
                </include>
                <!--             <include content="MediaFlag">
                                                                                                                        <param name="texture" value="$INFO[ListItem.VideoAspect,flags/aspectratio/,.png]" />
                                                                                                                    </include> -->
                <include content="MediaFlag">
                    <param name="texture" value="$PARAM[resolution_var]" />
                    <param name="visible" value="!String.IsEmpty($PARAM[infolabel_prefix]ListItem.VideoResolution)" />
                </include>
            </control>
        </definition>
    </include>
Reply
#3
Thank you!
Reply
#4
It was an easy MOD, after your help. I guess it is not recommended for systems less then 4k resolution since the width is now 2500. Let me share the result:

Image
Code:
<include name="MediaFlags">
        <param name="infolabel_prefix"></param>
        <param name="resolution_var">$VAR[ResolutionFlagVar]</param>
        <definition>
            <control type="grouplist">
                <orientation>horizontal</orientation>
                <right>20</right>
                <top>0</top>
                <height>70</height>
                <align>right</align>
                <itemgap>28</itemgap>
                <!-- <width>1900</width> -->
                <width>2500</width>
                <usecontrolcoords>true</usecontrolcoords>
                <control type="group">
                    <width>150</width>
                    <visible>System.HasAddon(resource.images.studios.white) + String.IsEqual($PARAM[infolabel_prefix]ListItem.DBtype,tvshow)</visible>
                    <include content="MediaFlag">
                        <param name="texture" value="$INFO[$PARAM[infolabel_prefix]ListItem.Studio,resource://resource.images.studios.white/,.png]" />
                    </include>
                </control>
                <control type="group">
                    <top>10</top>
                    <width>200</width>
                    <include content="InfoFlag">
                        <param name="visible" value="[String.IsEqual($PARAM[infolabel_prefix]ListItem.DBtype,tvshow) | String.IsEqual($PARAM[infolabel_prefix]ListItem.DBtype,episode)] + !String.IsEmpty($PARAM[infolabel_prefix]ListItem.Premiered)" />
                        <param name="icon" value="lists/year.png" />
                        <param name="label" value="$INFO[$PARAM[infolabel_prefix]ListItem.Premiered]" />
                    </include>
                </control>
                <control type="group">
                    <width>600</width>
                    <visible>!String.IsEmpty($PARAM[infolabel_prefix]ListItem.Label)</visible>
                    <control type="label">
                        <width>600</width>
                        <height>60</height>
                        <align>right</align>
                        <aligny>center</aligny>
                        <label>$INFO[$PARAM[infolabel_prefix]ListItem.Label]</label>
                        <font>font_flag</font>
                    </control>
                    <include content="MediaFlag">
                        <!-- <param name="texture" value="flags/flag.png" /> -->
                    </include>
                </control>
                <control type="group">
                    <width>115</width>
                    <visible>!String.IsEmpty($PARAM[infolabel_prefix]ListItem.Year)</visible>
                    <control type="label">
                        <width>115</width>
                        <height>60</height>
                        <align>center</align>
                        <aligny>center</aligny>
                        <label>$INFO[$PARAM[infolabel_prefix]ListItem.Year]</label>
                        <font>font_flag</font>
                    </control>
                    <include content="MediaFlag">
                        <param name="texture" value="flags/flag.png" />
                    </include>
                </control>
                <control type="group">
                    <width>115</width>
                    <visible>!String.IsEmpty($PARAM[infolabel_prefix]ListItem.Duration)</visible>
                    <control type="label">
                        <width>115</width>
                        <height>60</height>
                        <align>center</align>
                        <aligny>center</aligny>
                        <label>$INFO[$PARAM[infolabel_prefix]ListItem.Duration]</label>
                        <font>font_flag</font>
                    </control>
                    <include content="MediaFlag">
                        <param name="texture" value="flags/flag.png" />
                    </include>
                </control>
                <include content="MediaFlag">
                    <param name="texture" value="$INFO[$PARAM[infolabel_prefix]ListItem.AudioChannels,flags/audiochannel/,.png]" />
                    <param name="visible" value="!String.IsEmpty($PARAM[infolabel_prefix]ListItem.AudioChannels)" />
                </include>
                <include content="MediaFlag">
                    <param name="texture" value="$INFO[$PARAM[infolabel_prefix]ListItem.AudioCodec,flags/audiocodec/,.png]" />
                    <param name="visible" value="!String.IsEmpty($PARAM[infolabel_prefix]ListItem.AudioCodec)" />
                </include>
                <!--             <include content="MediaFlag">
                                                                                                                        <param name="texture" value="$INFO[ListItem.VideoAspect,flags/aspectratio/,.png]" />
                                                                                                                    </include> -->
                <include content="MediaFlag">
                    <param name="texture" value="$PARAM[resolution_var]" />
                    <param name="visible" value="!String.IsEmpty($PARAM[infolabel_prefix]ListItem.VideoResolution)" />
                </include>
            </control>
        </definition>
    </include>
Reply

Logout Mark Read Team Forum Stats Members Help
Can't find the video info bottom right0