Visability in Series and Season views not behaving the same (1 Viewer)

2BitSculptor

Super Moderator
  • Team MediaPortal
  • January 23, 2008
    1,948
    498
    South Central Wisconsin
    Home Country
    United States of America United States of America
    This is with v2.2.3389 stable release.

    I've been trying to polish up some stuff in my new skin. I ran across an incongruity that has me befuddled when in Filmstrip view of both Series and Season. I wanted to have the details hide when Music is playing and I go to the hidden menu. I have the now-playing block slide into view when I access the menu (only while media is playing).

    The detail text disappears as it should in Season but it stays on the screen in Series and overprints my now-playing block. It is especially noticable when I leave the menu to access the topbar (the menu hides but the now-playing block stays... as intended. I'm under the impression that the control is supposed to effect both screens alike. It is strange behavour.

    Here is the control.

    <visible>[Control.IsVisible(1236)+Control.IsVisible(1237)+Control.IsVisible(1242)]|[Control.IsVisible(1236)+Control.IsVisible(1238)]+[Player.HasMedia+Control.HasFocus(50)]</visible>

    It seems any changes to the 'player.hasmedia' section of the control only effects Season, but not Series. other views seem to be working okay, just Filmstrip view is screwy.

    HELP!!

    thanks,

    Chuck
     

    2BitSculptor

    Super Moderator
  • Team MediaPortal
  • January 23, 2008
    1,948
    498
    South Central Wisconsin
    Home Country
    United States of America United States of America
    • Thread starter
    • Moderator
    • #2
    Her's some picks of the issue. TV-Series Series/FilmStrip View is the only screen that refuses to hide the text behind the now-playing block (I'm not using an overlay in this case)

    Chuck
     

    Attachments

    • 18-38-43.png
      18-38-43.png
      560.6 KB
    • 18-39-36.png
      18-39-36.png
      508.5 KB
    • 18-39-58.png
      18-39-58.png
      469.6 KB
    • 18-40-56.png
      18-40-56.png
      447.4 KB

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Without looking at your skin in detail its hard to say what the problem is. You could add another condition to the visibility of the series filmstrip text to be visible when Control.HasFocus(50).

    This way when the Hidden Menu is show that text will disappear.
     

    2BitSculptor

    Super Moderator
  • Team MediaPortal
  • January 23, 2008
    1,948
    498
    South Central Wisconsin
    Home Country
    United States of America United States of America
    • Thread starter
    • Moderator
    • #4
    Without looking at your skin in detail its hard to say what the problem is. You could add another condition to the visibility of the series filmstrip text to be visible when Control.HasFocus(50).

    This way when the Hidden Menu is show that text will disappear.

    This is what I've done already, The same code is used for Series AND Season views. Here is the code for the entire Info Labels sections; List, WideBanners and Filmstrip views, for Series and Season screens. I don't think I missed anything.

    <!--**** SERIES INFO LABELS (WIDEBANNERS LAYOUT)*****
    -->
    <control>
    <description>TVDB Series Rating Stars</description>
    <type>image</type>
    <id>1</id>
    <posX>310</posX>
    <posY>60</posY>
    <width>180</width>
    <height>18</height>
    <texture>#TVSeries.Series.RatingPath</texture>
    <visible>Control.IsVisible(1236)+Control.IsVisible(1237)+!Control.IsVisible(1242)</visible>
    </control>
    <control>
    <type>label</type>
    <id>0</id>
    <posX>20</posX>
    <posY>486</posY>
    <width>135</width>
    <label>#TVSeries.Series.InfoPanelLine1Key</label>
    <align>left</align>
    <font>font12</font>
    <textcolor>ffa9d0f7</textcolor>
    <visible>Control.IsVisible(1236)+Control.IsVisible(1237)+!Control.IsVisible(1242)+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>fadelabel</type>
    <id>0</id>
    <posX>125</posX>
    <posY>486</posY>
    <width>180</width>
    <height>18</height>
    <font>font12</font>
    <label>#TVSeries.Series.InfoPanelLine1Value</label>
    <visible>Control.IsVisible(1236)+Control.IsVisible(1237)+!Control.IsVisible(1242)+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>label</type>
    <id>0</id>
    <posX>20</posX>
    <posY>506</posY>
    <width>135</width>
    <label>#TVSeries.Series.InfoPanelLine2Key</label>
    <align>left</align>
    <font>font12</font>
    <textcolor>ffa9d0f7</textcolor>
    <visible>Control.IsVisible(1236)+Control.IsVisible(1237)+!Control.IsVisible(1242)+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>fadelabel</type>
    <id>0</id>
    <posX>125</posX>
    <posY>506</posY>
    <width>180</width>
    <label>#TVSeries.Series.InfoPanelLine2Value</label>
    <font>font12</font>
    <visible>Control.IsVisible(1236)+Control.IsVisible(1237)+!Control.IsVisible(1242)+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>label</type>
    <id>0</id>
    <posX>20</posX>
    <posY>528</posY>
    <width>135</width>
    <label>#TVSeries.Series.InfoPanelLine3Key</label>
    <align>left</align>
    <font>font12</font>
    <textcolor>ffa9d0f7</textcolor>
    <visible>Control.IsVisible(1236)+Control.IsVisible(1237)+!Control.IsVisible(1242)+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>fadelabel</type>
    <id>0</id>
    <posX>125</posX>
    <posY>528</posY>
    <width>180</width>
    <label>#TVSeries.Series.InfoPanelLine3Value</label>
    <font>font12</font>
    <visible>Control.IsVisible(1236)+Control.IsVisible(1237)+!Control.IsVisible(1242)+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>label</type>
    <id>0</id>
    <posX>20</posX>
    <posY>550</posY>
    <width>135</width>
    <label>#TVSeries.Series.InfoPanelLine4Key</label>
    <align>left</align>
    <font>font12</font>
    <textcolor>ffa9d0f7</textcolor>
    <visible>Control.IsVisible(1236)+Control.IsVisible(1237)+!Control.IsVisible(1242)+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>fadelabel</type>
    <id>0</id>
    <posX>125</posX>
    <posY>550</posY>
    <width>180</width>
    <label>#TVSeries.Series.InfoPanelLine4Value</label>
    <font>font12</font>
    <visible>Control.IsVisible(1236)+Control.IsVisible(1237)+!Control.IsVisible(1242)+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>label</type>
    <id>0</id>
    <posX>20</posX>
    <posY>570</posY>
    <width>135</width>
    <label>#TVSeries.Series.InfoPanelLine5Key</label>
    <align>left</align>
    <font>font12</font>
    <textcolor>ffa9d0f7</textcolor>
    <visible>Control.IsVisible(1236)+Control.IsVisible(1237)+!Control.IsVisible(1242)+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>fadelabel</type>
    <id>0</id>
    <posX>125</posX>
    <posY>570</posY>
    <width>180</width>
    <label>#TVSeries.Series.InfoPanelLine5Value</label>
    <font>font12</font>
    <visible>Control.IsVisible(1236)+Control.IsVisible(1237)+!Control.IsVisible(1242)+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <!--***** SERIES/SEASON INFO LABELS (FILMSTRIP LAYOUT)*****
    -->

    <control>
    <type>label</type>
    <id>0</id>
    <posX>20</posX>
    <posY>486</posY>
    <width>135</width>
    <label>#TVSeries.Series.InfoPanelLine1Key</label>
    <align>left</align>
    <font>font12</font>
    <textcolor>ffa9d0f7</textcolor>
    <visible>[Control.IsVisible(1236)+Control.IsVisible(1237)+Control.IsVisible(1242)]|[Control.IsVisible(1236)+Control.IsVisible(1238)]+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>fadelabel</type>
    <id>0</id>
    <posX>125</posX>
    <posY>486</posY>
    <width>180</width>
    <height>18</height>
    <font>font12</font>
    <label>#TVSeries.Series.InfoPanelLine1Value</label>
    <visible>[Control.IsVisible(1236)+Control.IsVisible(1237)+Control.IsVisible(1242)]|[Control.IsVisible(1236)+Control.IsVisible(1238)]+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>label</type>
    <id>0</id>
    <posX>20</posX>
    <posY>506</posY>
    <width>135</width>
    <label>#TVSeries.Series.InfoPanelLine2Key</label>
    <align>left</align>
    <font>font12</font>
    <textcolor>ffa9d0f7</textcolor>
    <visible>[Control.IsVisible(1236)+Control.IsVisible(1237)+Control.IsVisible(1242)]|[Control.IsVisible(1236)+Control.IsVisible(1238)]+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>fadelabel</type>
    <id>0</id>
    <posX>125</posX>
    <posY>506</posY>
    <width>180</width>
    <label>#TVSeries.Series.InfoPanelLine2Value</label>
    <font>font12</font>
    <visible>[Control.IsVisible(1236)+Control.IsVisible(1237)+Control.IsVisible(1242)]|[Control.IsVisible(1236)+Control.IsVisible(1238)]+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>label</type>
    <id>0</id>
    <posX>20</posX>
    <posY>528</posY>
    <width>135</width>
    <label>#TVSeries.Series.InfoPanelLine3Key</label>
    <align>left</align>
    <font>font12</font>
    <textcolor>ffa9d0f7</textcolor>
    <visible>[Control.IsVisible(1236)+Control.IsVisible(1237)+Control.IsVisible(1242)]|[Control.IsVisible(1236)+Control.IsVisible(1238)]+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>fadelabel</type>
    <id>0</id>
    <posX>125</posX>
    <posY>528</posY>
    <width>180</width>
    <label>#TVSeries.Series.InfoPanelLine3Value</label>
    <font>font12</font>
    <visible>[Control.IsVisible(1236)+Control.IsVisible(1237)+Control.IsVisible(1242)]|[Control.IsVisible(1236)+Control.IsVisible(1238)]+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>label</type>
    <id>0</id>
    <posX>20</posX>
    <posY>550</posY>
    <width>135</width>
    <label>#TVSeries.Series.InfoPanelLine4Key</label>
    <align>left</align>
    <font>font12</font>
    <textcolor>ffa9d0f7</textcolor>
    <visible>[Control.IsVisible(1236)+Control.IsVisible(1237)+Control.IsVisible(1242)]|[Control.IsVisible(1236)+Control.IsVisible(1238)]+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>fadelabel</type>
    <id>0</id>
    <posX>125</posX>
    <posY>550</posY>
    <width>180</width>
    <label>#TVSeries.Series.InfoPanelLine4Value</label>
    <font>font12</font>
    <visible>[Control.IsVisible(1236)+Control.IsVisible(1237)+Control.IsVisible(1242)]|[Control.IsVisible(1236)+Control.IsVisible(1238)]+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>label</type>
    <id>0</id>
    <posX>20</posX>
    <posY>570</posY>
    <width>135</width>
    <label>#TVSeries.Series.InfoPanelLine5Key</label>
    <align>left</align>
    <font>font12</font>
    <textcolor>ffa9d0f7</textcolor>
    <visible>[Control.IsVisible(1236)+Control.IsVisible(1237)+Control.IsVisible(1242)]|[Control.IsVisible(1236)+Control.IsVisible(1238)]+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>fadelabel</type>
    <id>0</id>
    <posX>125</posX>
    <posY>570</posY>
    <width>180</width>
    <label>#TVSeries.Series.InfoPanelLine5Value</label>
    <font>font12</font>
    <visible>[Control.IsVisible(1236)+Control.IsVisible(1237)+Control.IsVisible(1242)]|[Control.IsVisible(1236)+Control.IsVisible(1238)]+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>

    <!--***** SERIES/SEASON INFO LABELS ( LIST LAYOUT) *****
    -->
    <control>
    <id>987</id>
    <type>image</type>
    <posX>345</posX>
    <posY>74</posY>
    <width>416</width>
    <height>327</height>
    <texture>CD_back.png</texture>
    <visible>Control.IsVisible(1235)+[Control.IsVisible(1237)|Control.IsVisible(1238)|Control.IsVisible(1239)]+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>image</type>
    <id>1</id>
    <posX>105</posX>
    <posY>440</posY>
    <width>180</width>
    <height>18</height>
    <texture>#TVSeries.Series.RatingPath</texture>
    <visible>Control.IsVisible(1235)+[Control.IsVisible(1237)|Control.IsVisible(1238)]+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>label</type>
    <id>0</id>
    <posX>20</posX>
    <posY>486</posY>
    <width>135</width>
    <label>#TVSeries.Series.InfoPanelLine1Key</label>
    <align>left</align>
    <font>font12</font>
    <textcolor>ffa9d0f7</textcolor>
    <visible>Control.IsVisible(1235)+[Control.IsVisible(1237)|Control.IsVisible(1238)]+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>fadelabel</type>
    <id>0</id>
    <posX>125</posX>
    <posY>486</posY>
    <width>135</width>
    <label>#TVSeries.Series.InfoPanelLine1Value</label>
    <align>left</align>
    <font>font12</font>
    <visible>Control.IsVisible(1235)+[Control.IsVisible(1237)|Control.IsVisible(1238)]+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>label</type>
    <id>0</id>
    <posX>20</posX>
    <posY>506</posY>
    <width>135</width>
    <align>left</align>
    <label>#TVSeries.Series.InfoPanelLine2Key</label>
    <textcolor>ffa9d0f7</textcolor>
    <font>font12</font>
    <visible>Control.IsVisible(1235)+[Control.IsVisible(1237)|Control.IsVisible(1238)]+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>fadelabel</type>
    <id>0</id>
    <posX>125</posX>
    <posY>506</posY>
    <width>180</width>
    <label>#TVSeries.Series.InfoPanelLine2Value</label>
    <font>font12</font>
    <visible>Control.IsVisible(1235)+[Control.IsVisible(1237)|Control.IsVisible(1238)]+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>label</type>
    <id>0</id>
    <posX>20</posX>
    <posY>528</posY>
    <width>135</width>
    <label>#TVSeries.Series.InfoPanelLine3Key</label>
    <align>left</align>
    <font>font12</font>
    <textcolor>ffa9d0f7</textcolor>
    <visible>Control.IsVisible(1235)+[Control.IsVisible(1237)|Control.IsVisible(1238)]+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>fadelabel</type>
    <id>0</id>
    <posX>125</posX>
    <posY>528</posY>
    <width>180</width>
    <label>#TVSeries.Series.InfoPanelLine3Value</label>
    <font>font12</font>
    <visible>Control.IsVisible(1235)+[Control.IsVisible(1237)|Control.IsVisible(1238)]+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>label</type>
    <id>0</id>
    <posX>20</posX>
    <posY>550</posY>
    <width>135</width>
    <label>#TVSeries.Series.InfoPanelLine4Key</label>
    <align>left</align>
    <font>font12</font>
    <textcolor>ffa9d0f7</textcolor>
    <visible>Control.IsVisible(1235)+[Control.IsVisible(1237)|Control.IsVisible(1238)]+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>fadelabel</type>
    <id>0</id>
    <posX>125</posX>
    <posY>550</posY>
    <width>180</width>
    <label>#TVSeries.Series.InfoPanelLine4Value</label>
    <font>font12</font>
    <visible>Control.IsVisible(1235)+[Control.IsVisible(1237)|Control.IsVisible(1238)]+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>label</type>
    <id>0</id>
    <posX>20</posX>
    <posY>570</posY>
    <width>135</width>
    <label>#TVSeries.Series.InfoPanelLine5Key</label>
    <align>left</align>
    <font>font12</font>
    <textcolor>ffa9d0f7</textcolor>
    <visible>Control.IsVisible(1235)+[Control.IsVisible(1237)|Control.IsVisible(1238)]+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
    <control>
    <type>fadelabel</type>
    <id>0</id>
    <posX>125</posX>
    <posY>570</posY>
    <width>180</width>
    <label>#TVSeries.Series.InfoPanelLine5Value</label>
    <font>font12</font>
    <visible>Control.IsVisible(1235)+[Control.IsVisible(1237)|Control.IsVisible(1238)]+[Player.HasMedia+Control.HasFocus(50)]</visible>
    </control>
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Try this:

    Code:
    [[Control.IsVisible(1236)+Control.IsVisible(1237)+Control.IsVisible(1242)]|[Control.IsVisible(1236)+Control.IsVisible(1238)]]+[Player.HasMedia+Control.HasFocus(50)]
     

    2BitSculptor

    Super Moderator
  • Team MediaPortal
  • January 23, 2008
    1,948
    498
    South Central Wisconsin
    Home Country
    United States of America United States of America
    • Thread starter
    • Moderator
    • #6
    The extra brackets makes the labels disappear altogether in both Series and Season screens.

    In my code only Filmstrip/Season is hidden, but not in Filmstrip/Series. Both are sharing the same lines of code.

    I'm scratching my head. :confused:

    Chuck

    I found a solution. I thought, what if I disregarded all the controls for TV-Series in this section.... I mean, filmstrip view is only filmstrip view... no display special conditions, right?.

    The new code is simply: <visible>facadeview.filmstrip+Player.HasMedia+Control.HasFocus(50),<visible>

    It works!!!! Don't understand why it wasn't working with the original controls.:confused:

    Best regards

    Chuck
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Me either, I got rid of controls (1235,1236) for v2.3 so you might as well update everything now while your at it. These controls were pointless and were just adding unnecessary complexity to the plugin and skin.
     

    2BitSculptor

    Super Moderator
  • Team MediaPortal
  • January 23, 2008
    1,948
    498
    South Central Wisconsin
    Home Country
    United States of America United States of America
    • Thread starter
    • Moderator
    • #8
    Me either, I got rid of controls (1235,1236) for v2.3 so you might as well update everything now while your at it. These controls were pointless and were just adding unnecessary complexity to the plugin and skin.

    Just did..... does make better sense now.... a lot easier to keep sorted.

    :D

    Chuck
     

    Users who are viewing this thread

    Top Bottom