[solved] FanartHandler - Skin - Holiday and Spotlight support (1 Viewer)

catavolt

Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,954
    11,854
    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,170
    13,767
    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,170
    13,767
    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
    972
    673
    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
    972
    673
    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

    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For the first example, I highlighted the example text and eventually found the location in the menus where I could select the CODE macro to have the example text formatted as a code example. So far, so good...
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For...
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For...
    Replies
    0
    Views
    891
    MP1 MP2 Skin-engine quirks DE
    wow this is a weird construction,that will heavily depend on execution order of those 2 parameters in the iff And as you found out, in your case the order is probably the other way around than you expected...
    wow this is a weird construction,that will heavily depend on execution order of those 2 parameters in the iff And as you found out...
    onfocus Recently I tried coding this: <onfocus>#(iif(eq(#skin.search.id,0),skin.setstring('#skin.search.id',10)))</onfocus>...
    Replies
    1
    Views
    268
    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
    1K
    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
    7K
    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
    344
    Top Bottom