Feature Request: Indicator for new episodes (1 Viewer)

D3ltoroxp

MP Donator
  • Premium Supporter
  • June 1, 2008
    3,272
    212
    Home Country
    Germany Germany
    If skinners want to know if the selected series has new episodes based on TVSeries configuration then you can use the following series property:
    Code:
    #TVSeries.Series.HasNewEpisodes
    The property will either be 1 or 0, basically the same as whats stored in the database.

    Than i can see a thumb "New" on the Series Cover ? When not can you give me a code that i can do this overlay for listview ?
     

    D3ltoroxp

    MP Donator
  • Premium Supporter
  • June 1, 2008
    3,272
    212
    Home Country
    Germany Germany
    So i have found my xml where i will show the new series Logo. Now i need the right code, that he show me only the image when its a new series ( Settings from TV Series)

    <!-- 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> Here i need the line and where must i put this #TVSeries.Series.HasNewEpisodes ?</visible>
    </control>
     
    Last edited:

    fischy667

    Super User
  • Team MediaPortal
  • Super User
  • May 5, 2010
    978
    305
    44
    Rostock
    Home Country
    Germany Germany
    When #TVSeries.Series.HasNewEpisodes is 1 or 0, I would say 1 stands for "this is a new edisode" than you have to add:

    Code:
    <visible>string.equals(#TVSeries.Series.HasNewEpisodes,1)</visible>
     

    D3ltoroxp

    MP Donator
  • Premium Supporter
  • June 1, 2008
    3,272
    212
    Home Country
    Germany Germany
    When #TVSeries.Series.HasNewEpisodes is 1 or 0, I would say 1 stands for "this is a new edisode" than you have to add:

    Code:
    <visible>string.equals(#TVSeries.Series.HasNewEpisodes,1)</visible>
    Thanks i will try it and give feedback...

    It works, so why i need 0 then i can delet my image code and its the same or not ?
     
    Last edited:

    D3ltoroxp

    MP Donator
  • Premium Supporter
  • June 1, 2008
    3,272
    212
    Home Country
    Germany Germany
    Hm it works fine but now i have a problem, i see the new logo here to. Can i do something that i dont see this there ?
     

    Attachments

    • 20-21-17.png
      20-21-17.png
      1.7 MB

    fischy667

    Super User
  • Team MediaPortal
  • Super User
  • May 5, 2010
    978
    305
    44
    Rostock
    Home Country
    Germany Germany
    Last edited:

    D3ltoroxp

    MP Donator
  • Premium Supporter
  • June 1, 2008
    3,272
    212
    Home Country
    Germany Germany
    Oh i think this is a little bit to much for me, what did you mean with poster ? The big background Image or the Cover from the Series ? Maybe you can make a dummy label for me ?
     

    fischy667

    Super User
  • Team MediaPortal
  • Super User
  • May 5, 2010
    978
    305
    44
    Rostock
    Home Country
    Germany Germany
    Use the dummy label on the website I posted.
     

    D3ltoroxp

    MP Donator
  • Premium Supporter
  • June 1, 2008
    3,272
    212
    Home Country
    Germany Germany
    So i only had to at this 2 blocks in my TVSeries.Fanart.SeriesAndSeasonListPosters.xml

    Code:
    <control>
      <type>label</type>
      <id>0</id>
      <posX>10</posX>
      <posY>10</posY>
      <label>this is a test</label>
      <visible>facadeview.list+Control.IsVisible(1242)</visible>
    </control>

    Code:
    <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>

    And that's it ?

    EDIT ::

    Now i looks like this but the image is always there...

    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)</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>
    	<control>
    	  <type>label</type>
    	  <id>0</id>
    	  <posX>10</posX>
    	  <posY>10</posY>
    	  <label>this is a test</label>
    	  <visible>facadeview.list+Control.IsVisible(1242)</visible>
    	</control>
    	  <!-- Neue Serien Image Ende -->
     
    Last edited:

    Users who are viewing this thread

    Similar threads

    Thanks for the update on this. I should have searched before posting, always assume it is something I have done wrong.
    Thanks for the update on this. I should have searched before posting, always assume it is something I have done wrong.
    Hi All, I have a strange one. I recently added 2 new TV series to my setup and they are not being correctly identified in the...
    Replies
    2
    Views
    739
    Hi all, Version 4.7 of my community version of MP-TVSeries is now out. Link to the original post: MP-TVSeries v4.3.6 Release [2020-01-24] The big change: you no longer need a TheTVDB subscription. If you don't enter a TheTVDB PIN, show details, episodes, cast and pictures now come free from TMDB (The Movie Database). There's...
    Hi all, Version 4.7 of my community version of MP-TVSeries is now out. Link to the original post: MP-TVSeries v4.3.6 Release...
    Hi all, Version 4.7 of my community version of MP-TVSeries is now out. Link to the original post: MP-TVSeries v4.3.6 Release...
    Replies
    0
    Views
    692
    Yeah, I'm not seeing anything useful to help with the overscroll issue. Thanks! :cool:
    Yeah, I'm not seeing anything useful to help with the overscroll issue. Thanks! :cool:
    I'm looking at messing with the Old Eyes theme for DefaultWideHD. I'd like to create a new Layout in the skin editor, maybe called...
    Replies
    23
    Views
    2K
    TV Server plugins are listed on this page, and "EPG Cleaner" can be downloaded from this page. Note: I don't know what bitness the plugin has. It might be 32-bit, or it might be "any cpu". The plugin is not listed by the "MP Extensions" tool, so I don't know whether it has been tested with the most-recent MP releases. -- from...
    TV Server plugins are listed on this page, and "EPG Cleaner" can be downloaded from this page. Note: I don't know what bitness the...
    I'm looking for a better recording scheduler. Many recording titles (at least in the UK) change between episodes, sometimes being...
    Replies
    4
    Views
    2K
    Sorted, it is a Rating flag that I have never seen before, silly me !! Cheers Tony
    Sorted, it is a Rating flag that I have never seen before, silly me !! Cheers Tony
    I have just done a clean install of v1.36. Current setup Media Portal 1.36 Titan skin (only classic home) TV Series 4.5.1.737...
    Replies
    1
    Views
    679
    Top Bottom