[solved] FanartHandler - Skin - Holiday and Spotlight support (3 Viewers)

catavolt

Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    15,074
    11,363
    Königstein (Taunus)
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #12
    @ajs
    Hi Andrew, have a problem with the holiday fanart ;)
    I use an overlay to cover the fanart:
    XML:
    <control>
            <description>Overlay Holiday Fanart</description>
            <id>1</id>
            <type>image</type>
            <posX>0</posX>
            <posY>0</posY>
            <width>1920</width>
            <height>1080</height>
            <colordiffuse>ffffffff</colordiffuse>
            <texture>Animations\BasicHome\3D-Leer.png</texture>
            <visible>skin.hassetting(#skin.holiday.fanart.basichome)+[[control.isvisible(91919285)+control.isvisible(91919284)]|[control.isvisible(91919286)+control.isvisible(91919284)]]</visible>
          </control>

    I have specified a time of 5 minutes and all day off:
    XML:
    <entry name="HolidayShow">5</entry>
    <entry name="HolidayShowAllDay">no</entry>

    What happens is that the holiday fanart disappears after 5 minutes, but the overlay stays with the visibility shown above breaking the correct display of the other BasicHome backgrounds.
    So: what visibility must I use to let the overlay disappear as well? Is there an extra property to indicate the holiday fanart is no longer shown?
    Thanks in advance ;)
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,852
    12,107
    Kyiv
    Home Country
    Ukraine Ukraine
    @catavolt
    Main control for Holiday fanart - control.isvisible(91919284)
    Or maybe better check this properties for empty string:
    Code:
    #fanarthandler.holiday.backdrop1
    #fanarthandler.holiday.backdrop2
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,852
    12,107
    Kyiv
    Home Country
    Ukraine Ukraine
    XML:
    <visible>skin.hassetting(#skin.holiday.fanart.basichome)+[!string.equals(#fanarthandler.holiday.backdrop1,)|!string.equals(#fanarthandler.holiday.backdrop2,)]</visible>
     

    joEhSuper

    MP Donator
  • Premium Supporter
  • June 2, 2011
    1,028
    608
    Home Country
    Austria Austria
    Hello @ajs
    What does this entry in FanartHandler.xml mean? maybe: Show HolidayFanart for easter? 1=yes 0=no?:unsure:
    Code:
        <entry name="HolidayEaster">1</entry>
    or something competly different?:ROFLMAO:
     

    joEhSuper

    MP Donator
  • Premium Supporter
  • June 2, 2011
    1,028
    608
    Home Country
    Austria Austria
    Hi @ajs ,
    I'm just trying to customize Holiday-Fanart for my needs. What I did was:

    I entered/edited following entries in <FanartHandler.Holidays.Custom.xml>
    Code:
    ...
        <Holiday name="Happy Birthday Karl!" shortname="Birthday">
            <Month>11</Month>
            <Day>16</Day>
        </Holiday>
        <Holiday name="Happy Birthday Rossi!" shortname="Birthday">
            <Month>8</Month>
            <Day>22</Day>
        </Holiday>
        <Holiday name="Our Day!" shortname="Jahrestag">
            <Month>9</Month>
            <Day>29</Day>
    ...

    Happy Birthday Karl! and Happy Birthday Rossi! work as expected (tested it with "today"):)

    Holiday name="Our Day!" shortname="Jahrestag" doesn't work - no Text and no Fanart is shown. :(
    For "Jahrestag" I copied Pictures to <...Skin FanArt\UserDef\Holidays\Jahrestag\Jahrestag-1.jpg...>

    What am I doing wrong?

    general question: Is there a limit of how many pictures (Jahrestag-1.jpg, Jahrestag-2.jpg, Jahrestag-3.jpg....) that can be added to one folder?:unsure:

    Thanks in advance!
     

    Users who are viewing this thread

    Similar threads

    OK, I now understand your post (I have reproduced that behaviour on my test system). If you create a channel group for HD channels (and no others), then when that group is the active group and you select a future programme in the EPG, you were expecting the "Upcoming Episodes" panel to show only episodes broadcast on channels in that...
    OK, I now understand your post (I have reproduced that behaviour on my test system). If you create a channel group for HD channels...
    My channel list shows both HD and SD programs for some channels. However, there are no SD channels listed. For example, ZDF HD and...
    Replies
    6
    Views
    329
    I think therein lies my problem. I am on 1.6.2.0. So thanks both for your help, I will pause this thread for now and come back to it while I work out what to do next. The problem is we have a family member who relies on MiniDisplay and I don't know if upgrading the set up is going to spoil compatibility with that plug in. The set up...
    I think therein lies my problem. I am on 1.6.2.0. So thanks both for your help, I will pause this thread for now and come back to...
    Good afternoon, Does anybody know of an expression or property I can use within a conditional visibility statement, that detects...
    Replies
    28
    Views
    4K
    MP1 MP2 [solved] Cannot get FH Holiday to work DE
    Added a check that if the time zone does not have a DST, then do not try to define it. Thanks, I'll update the release then.
    Added a check that if the time zone does not have a DST, then do not try to define it. Thanks, I'll update the release then.
    MP 1.32 x86 FH 4.0.3.338 Holidays 1.0.0.17 I added a birthday and changed the FanartHandler.xml to HolidayShowAllDay yes so I can...
    Replies
    17
    Views
    4K
    Due to the recent update in FanartHandler and using dynamic paths for the ClearArt, ClearLogo and CDArt this is resolved without the need to update MovingPictures Cornerstone.MP.Extensions as FH no longer uses #selecteditem and instead uses #MovingPictures.SelectedMovie.title. At the moment MePo theme has these values but I plan to...
    Due to the recent update in FanartHandler and using dynamic paths for the ClearArt, ClearLogo and CDArt this is resolved without...
    There is an issue with missing #fanarthandler.movie.clearart.selected path value when MovingPictures loads a list of movies. When...
    Replies
    1
    Views
    1K
    The reason I was thinking I needed more RAM is that TV now seems to be HiDef and so the files have grown. I edit the files before storing them, to reduce some size. It is finding that slower, I think. Or it could just be because I'm expecting more? The Baseboard manufacturer says ASUSTech Computer Inc; Baseboard product P7P55D-E...
    The reason I was thinking I needed more RAM is that TV now seems to be HiDef and so the files have grown. I edit the files before...
    I'm not sure where to post this query - I've been told, during a conversation about costs of upgrading, that W11 may not support my...
    Replies
    4
    Views
    4K
    Top Bottom