Feature Request: Indicator for new episodes (1 Viewer)

fischy667

Super User
  • Team MediaPortal
  • Super User
  • May 5, 2010
    967
    290
    42
    Rostock
    Home Country
    Germany Germany
    Like I said, you have to add "facadeview.list+Control.IsVisible(1242)" in your visible part to your "New Serie Image" and you don't need the "this is a test" part. This is only for testing.

    Code:
    <!-- Neue Serien Image Anfang -->
    	<control>
    	  <description>New Serie Image</description>
    	  <posX>19</posX>
    	  <posY>495</posY>
    	  <type>image</type>
    	  <id>0</id>
    	  <width>100</width>
    	  <height>100</height>
    	  <texture>new_series.png</texture>
    	  <visible>string.equals(#TVSeries.Series.HasNewEpisodes,1)+facadeview.list+Control.IsVisible(1242)</visible>
    	  <!-- <colordiffuse>99FFFFFF</colordiffuse> -->
    	</control>
    	<control>
    	  <type>label</type>
    	  <description>Dummy Label for Series Posters</description>
    	  <id>1242</id>
    	  <posX>-50</posX>
    	  <posY>-50</posY>
    	  <label></label>
    	  <visible>false</visible>
    	</control>
    	  <!-- Neue Serien Image Ende -->
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,755
    7,200
    Sydney
    Home Country
    Australia Australia
    fyi, ID:1242 is already defined in an import file (TVSeries.Common.Dummy.xml), you don't to define it again just simply reference it in your visibility conditions.
     

    D3ltoroxp

    MP Donator
  • Premium Supporter
  • June 1, 2008
    3,308
    205
    Home Country
    Germany Germany
    Thanks fishy, so ltfearme i need only this one with the at+facadeview.list+Control.IsVisible(1242)</visible>...

    <!-- Neue Serien Image Anfang -->
    <control>
    <description>New Serie Image</description>
    <posX>19</posX>
    <posY>495</posY>
    <type>image</type>
    <id>0</id>
    <width>100</width>
    <height>100</height>
    <texture>new_series.png</texture>
    <visible>string.equals(#TVSeries.Series.HasNewEpisodes,1)+facadeview.list+Control.IsVisible(1242)</visible>
    <!-- <colordiffuse>99FFFFFF</colordiffuse> -->
    </control>
     

    fischy667

    Super User
  • Team MediaPortal
  • Super User
  • May 5, 2010
    967
    290
    42
    Rostock
    Home Country
    Germany Germany
    And you have to import TVSeries.Common.Dummy.xml

    Code:
    <import>TVSeries.Common.Dummy.xml</import>
     

    D3ltoroxp

    MP Donator
  • Premium Supporter
  • June 1, 2008
    3,308
    205
    Home Country
    Germany Germany
    Ah yes, i have forgot to add this, there was no import yet.

    EDIT:: :-( The images is always there


    <?xml version="1.0" encoding="utf-8"?>
    <window>
    <controls>
    <import>TVSeries.Common.Dummy.xml</import>
    <control>
    .
    .
    .
    .
    .
    .
    .
    <!-- Neue Serien Image Anfang -->
    <control>
    <description>New Serie Image</description>
    <posX>19</posX>
    <posY>495</posY>
    <type>image</type>
    <id>0</id>
    <width>100</width>
    <height>100</height>
    <texture>new_series.png</texture>
    <visible>string.equals(#TVSeries.Series.HasNewEpisodes,1)+facadeview.list+Control.IsVisible(1242)</visible>
    <!-- <colordiffuse>99FFFFFF</colordiffuse> -->
    </control>
    <!-- Neue Serien Image Ende -->
     
    Last edited:

    Users who are viewing this thread

    Similar threads

    MP1 MP2 Auto Rating DE
    Sorry i dont use Mov Pic
    Sorry i dont use Mov Pic
    Hi, I have done this previously but have just done a fresh install of MP1 (1.34 X64) and for the life of me can't see how to do it...
    Replies
    3
    Views
    1K
    MP1 MP2 MP2 - V2.5 Thumbnail issue DE
    There seems to be an issue how MP2 is displaying TV recordings depending on whether the media source is on a local hard drive or a network storage. When I move the location of the TV recordings to a NAS, thumbnails will be displayed properly, otherwise they will not appear. Even more strange, when adding the local harddrive manually...
    There seems to be an issue how MP2 is displaying TV recordings depending on whether the media source is on a local hard drive or a...
    There seems to be an issue how MP2 is displaying TV recordings depending on whether the media source is on a local hard drive or a...
    Replies
    0
    Views
    173
    I agree about the dash instead of colon on the LIVE thing. I did a little change to get the current program, just removed the D from the tags. Not that important, so I dont upload any new file. A little sad about the end time, but nothing to do about it.
    I agree about the dash instead of colon on the LIVE thing. I did a little change to get the current program, just removed the D...
    I'm trying to develop a new WebEPG grabber for sweden, but I got a few problem in parsing the html-file to get all programs. In...
    Replies
    9
    Views
    811
    • Sticky
    All good now!!
    All good now!!
    We have just released MediaPortal 1.36 - Polar Express x86 and x64 version. Highlights of this release Bugfixes: [MP1-5229] -...
    Replies
    2
    Views
    950
    • Sticky
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the next release. We allocate about one month for Pre Release testing. In that time we will only fix bugs, after which comes the final release! Highlights of this release Bugfixes: [MP1-5221] - Core: Fix...
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Replies
    0
    Views
    2K
    Top Bottom