Currently playing video's name not displayed..
#1
I'm having an issue with all of my custom library views, where if you have a video playing, but paused, the title for that video doesn't display in the various views.

I'm sure someone has run into this before, so i'm hoping someone can tell me what i'm missing.

Here is a screenshot with it happening, and i'm also including the relevant code for the view.

In the first screenshot, the video that is being played is the one selected. So you can see that the title is not being displayed for the selected item. In the second screenshot, i've selected the video below the one playing and now you can see that the title of the one playing is also not displayed in the unselected spot either. It won't display in either spot, yet any video not playing displays fine. You can also see that in the additional stuff that I display, which is not inside of the two LAYOUTS, the title displays fine.

Here is with the playing video selected:
Image

And here is with the one after it selected:
Image

And here is the code for the list view:
Code:
    <include name="VideoLibrary_MovieView2">
        <control type="wraplist" id="59">
            <posx>0</posx>
            <posy>65</posy>
            <width>720</width>
            <height>130</height>
            <onleft>9000</onleft>
            <onright>613</onright>
            <onup>57</onup>
            <ondown>57</ondown>
            <focusposition>1</focusposition>
            <viewtype label="[color=FF5689a2]Movies 2[/color]">list</viewtype>
            <scrolltime>200</scrolltime>
            <pagecontrol>-</pagecontrol>
            <include>contentpanelslide</include>
            <itemlayout height="40" width="576">
                <control type="label">
                    <posx>15</posx>
                    <posy>10</posy>
                    <width>390</width>
                    <height>20</height>
                    <font>synopsis_font</font>
                    <info>ListItem.Title</info>
                </control>
            </itemlayout>
            <focusedlayout height="40" width="576">
                <control type="image">
                    <posx>0</posx>
                    <posy>10</posy>
                    <width>380</width>
                    <height>30</height>
                    <texture>highlight1.png</texture>
                </control>
                <control type="label">
                    <posx>15</posx>
                    <posy>10</posy>
                    <width>390</width>
                    <height>20</height>
                    <font>synopsis_font</font>
                    <info>ListItem.Title</info>
                </control>
            </focusedlayout>
        </control>
        <control type="group">
            <control type="label">
                <posx>15</posx>
                <posy>190</posy>
                <width>390</width>
                <height>65</height>
                <font>home_menu</font>
                <label>$INFO[ListItem.Title] ($INFO[ListItem.Year])</label>
                <textcolor>FF73b7d9</textcolor>
                <visible>Control.IsVisible(59)</visible>
            </control>
            <control type="label">
                <posx>15</posx>
                <posy>290</posy>
                <width>390</width>
                <height>20</height>
                <font>synopsis_font</font>
                <label>Rating: [color=FF73b7d9]$INFO[ListItem.Rating][/color]</label>
                <textcolor>FFFFFFFF</textcolor>
                <visible>Control.IsVisible(59)</visible>
            </control>
            <control type="label">
                <posx>15</posx>
                <posy>315</posy>
                <width>390</width>
                <height>20</height>
                <font>synopsis_font</font>
                <label>Director: [color=FF73b7d9]$INFO[ListItem.Director][/color]</label>
                <textcolor>FFFFFFFF</textcolor>
                <visible>Control.IsVisible(59)</visible>
            </control>

            <control type="textbox">
                <description>Textbox when scrollbar is visible</description>
                <posx>15</posx>
                <posy>350</posy>
                <width>365</width>
                <height>200</height>
                <font>synopsis_font</font>
                <pagecontrol>613</pagecontrol>
                <label>$INFO[ListItem.Plot]</label>
                <visible>Control.IsVisible(59) + Control.IsVisible(613)</visible>
                <include>autoscrollmedium</include>
            </control>
            <control type="textbox">
                <description>Textbox when scrollbar is not visible</description>
                <posx>15</posx>
                <posy>350</posy>
                <width>380</width>
                <height>200</height>
                <font>synopsis_font</font>
                <pagecontrol>613</pagecontrol>
                <label>$INFO[ListItem.Plot]</label>
                <visible>Control.IsVisible(59) + !Control.IsVisible(613)</visible>
                <include>autoscrollmedium</include>
            </control>
            <control type="label">
                <description>Label when both textboxes (Plot) are empty</description>
                <posx>15</posx>
                <posy>350</posy>
                <width>345</width>
                <height>200</height>
                <font>synopsis_font</font>
                <label>$LOCALIZE[207] - $LOCALIZE[416]</label>
                <visible>Control.IsVisible(59) + IsEmpty(ListItem.Plot)</visible>
            </control>
            <control type="button">
                <posx>385</posx>
                <posy>353</posy>
                <include>scrollbar_width</include>
                <height>20</height>
                <onclick>PageUp(613)</onclick>
                <texturefocus border="4">scrollbar_arrow_up_focus.png</texturefocus>
                <texturenofocus border="4">scrollbar_arrow_up.png</texturenofocus>
                <visible>Control.IsVisible(613)</visible>
            </control>
            <control type="button">
                <posx>385</posx>
                <posy>523</posy>
                <include>scrollbar_width</include>
                <height>20</height>
                <onclick>PageDown(613)</onclick>
                <texturefocus border="4">scrollbar_arrow_down_focus.png</texturefocus>
                <texturenofocus border="4">scrollbar_arrow_down.png</texturenofocus>
                <visible>Control.IsVisible(613)</visible>
            </control>
            <control type="scrollbar" id="613">
                <posx>385</posx>
                <posy>373</posy>
                <include>scrollbar_width</include>
                <height>150</height>
                <texturesliderbackground border="4">scrollbar_background.png</texturesliderbackground>
                <texturesliderbar border="4">scrollbar_bar.png</texturesliderbar>
                <texturesliderbarfocus border="4">scrollbar_bar_focus.png</texturesliderbarfocus>
                <textureslidernib>-</textureslidernib>
                <textureslidernibfocus>-</textureslidernibfocus>
                <onleft>59</onleft>
                <onright>59</onright>
                <showonepage>false</showonepage>
                <orientation>vertical</orientation>
                <visible>Control.IsVisible(59)</visible>
            </control>

            <control type="image">
                <posx>420</posx>
                <posy>50</posy>
                <width>320</width>
                <height>470</height>
                <aspectratio align="left" aligny="top">keep</aspectratio>
                <info>ListItem.Icon</info>
                <visible>Control.IsVisible(59)</visible>
            </control>
        </control>
    </include>
Reply
#2
It'll be a default <selectedcolor> or something like that. There's 3 colors read for text - textcolor,focuscolor and selectedcolor.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
jmarshall Wrote:It'll be a default <selectedcolor> or something like that. There's 3 colors read for text - textcolor,focuscolor and selectedcolor.

I'll try explicitly setting those, but why would it only be happening with the one currently being PLAYED?
Reply
#4
That did the trick, thanks JM. Apparently one of those defaults to invisible Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Currently playing video's name not displayed..0