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
    975
    301
    43
    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
    975
    301
    43
    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
    975
    301
    43
    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

    I have recently installed MediaPortal 1.37 (x64) and MP-TVSeries v4.5.1.697 and unfortunately the TV episode runtime duration is missing in my Titan skin. This only applies to my .TS files, my .MKV files are OK. I believe the difference is likely to be because .MKV files embed the runtime in the file unlike .TS files. I have done...
    I have recently installed MediaPortal 1.37 (x64) and MP-TVSeries v4.5.1.697 and unfortunately the TV episode runtime duration is...
    I have recently installed MediaPortal 1.37 (x64) and MP-TVSeries v4.5.1.697 and unfortunately the TV episode runtime duration is...
    Replies
    0
    Views
    665
    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
    3K
    I noticed there's an updated Visual C++ Runtime (14.50.35710), maybe try to reinstall the runtimes? That's what fixed the issue when I tried 1.38.1
    I noticed there's an updated Visual C++ Runtime (14.50.35710), maybe try to reinstall the runtimes? That's what fixed the issue...
    I just updated from 1.37 to 1.38. MediaPortal 1.38 exits abruptly when stopping video playback. I did three tests; Debug with...
    Replies
    38
    Views
    6K
    I do not know why this xml was in my theme folders, it must have sneaked in some time ago (years?). I simply removed the file. The Latest Media Handler plugin seems to be working as expected. I've had no lock-ups.
    I do not know why this xml was in my theme folders, it must have sneaked in some time ago (years?). I simply removed the file. The...
    Before you create this bug report: Make sure that your system (windows, codecs and drivers) is up to date, matching the...
    Replies
    13
    Views
    2K
    Sadly, it seems that development of MP2 has come to a stop. Perhaps it will restart in the future. Meanwhile... MP1 has a "Tuning Details" panel that displays signal strength, signal quality, and picture resolution. It is updated in real time when viewing a channel: However, perhaps you are already aware of this, but prefer MP2...
    Sadly, it seems that development of MP2 has come to a stop. Perhaps it will restart in the future. Meanwhile... MP1 has a "Tuning...
    For those of us watching broadcast (over-the-air) television, it would be very handy to have a signal strength meter readily...
    Replies
    1
    Views
    3K
    Top Bottom