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

catavolt

Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,428
    10,455
    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,669
    10,626
    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,669
    10,626
    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,012
    589
    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,012
    589
    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
    1K
    There is an issue with missing #fanarthandler.movie.clearart.selected path value when MovingPictures loads a list of movies. When the movie is changed from the first item in the list, the value populates. I have a working solution to this issue and it requires an update to the Cornerstone.MP.Extensions project class...
    There is an issue with missing #fanarthandler.movie.clearart.selected path value when MovingPictures loads a list of movies. When...
    There is an issue with missing #fanarthandler.movie.clearart.selected path value when MovingPictures loads a list of movies. When...
    Replies
    0
    Views
    175
    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
    847
    Hi Ge2301 Thanks for the help I tried the suggestion but it didnt help - however the issue is sorted now. - it seems that it was just that the server needed a restart (even though there was no indication in Windows) - as soon as I started both clients (one reparied as above, one not) both started working right away. (I would have...
    Hi Ge2301 Thanks for the help I tried the suggestion but it didnt help - however the issue is sorted now. - it seems that it was...
    Hi, I have a server/client PC (MP2.4) that seems still to be still working fine, but 2 other clients have suddenly stopped playing...
    Replies
    2
    Views
    1K
    Sums up the problem I am having. Sorry if I wasn't clear. No, #selectedthumb is not preserved on going to the next window. That's exactly what I am trying to solve. An example is moving from mytvrecordedtv.xml to mytvRecordedInfo. The variable changes from a screen grab thumbnail from the video file to a channel logo during...
    Sums up the problem I am having. Sorry if I wasn't clear. No, #selectedthumb is not preserved on going to the next window. That's...
    Good evening, I have a basic understanding of using skin.setstring and am able to set a skin property when a control gets focus...
    Replies
    2
    Views
    866
    Top Bottom