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

catavolt

Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,621
    10,632
    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,059
    11,141
    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,059
    11,141
    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,017
    592
    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,017
    592
    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

    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
    2K
    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
    801
    If anyone ever experiences the above, I found a fix. Removing and reinstalling MP-TVSeries fixed it. It must have gotten corrupted during the reinstall of MP. I also had to do the same with TRAKT which had some issues too that were not apparent at the time. All is well once again. :cool:
    If anyone ever experiences the above, I found a fix. Removing and reinstalling MP-TVSeries fixed it. It must have gotten corrupted...
    After much trial and error and comparing this computer with another that was working, I finally found out that Fanarthandler...
    Replies
    1
    Views
    1K
    Yes, all compatible with x64 ;)
    Yes, all compatible with x64 ;)
    Hi folks, for all those who would like to enjoy Mediaportal on the Titanskin, I have now adapted the well-known MP games package...
    Replies
    7
    Views
    858
    MP1 MP2 1.36 IPTV Support DE
    I've no idea if this is possible or in the works but I am wondering if the IPTV part of TVServer could be upgraded to support M3U8, HTTPS, HLS or whatever is needed for newer IPTV connections?
    I've no idea if this is possible or in the works but I am wondering if the IPTV part of TVServer could be upgraded to support M3U8...
    I've no idea if this is possible or in the works but I am wondering if the IPTV part of TVServer could be upgraded to support M3U8...
    Replies
    0
    Views
    154
    Top Bottom