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

catavolt

Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,896
    11,786
    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
    15,960
    13,421
    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
    15,960
    13,421
    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
    547
    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
    6K
    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
    5K
    maybe setting loglevel to debug might pinpoint the difference between normal and stuck? Preferable with as much disabled as possible also try to see if anything is happening during stuck for the mediaportal process(resource monitor, disk activity, cpu usage, anything) maybe other programs competing for resouces?
    maybe setting loglevel to debug might pinpoint the difference between normal and stuck? Preferable with as much disabled as...
    Since over a year my MP sometimes stucks while showing the welcome screen. It started once a week now it happens every second time...
    Replies
    4
    Views
    1K
    Top Bottom