[solved] Cannot get FH Holiday to work (2 Viewers)

KJ-Cox

Design Group
  • Team MediaPortal
  • September 12, 2009
    222
    335
    Brisbane
    Home Country
    Australia Australia
    I just tried deleting the contents of FanartHandler.Holidays.xml and it works!

    custom date.png

    Last error is with Daylight Savings time. When I have them in it errors.
    RefreshHolidayProperties: Year, Month, and Day parameters describe an un-representable DateTime.

    This is caused because my timezone does not have DST. I wanted to know when the other states had it though.

    XML:
        <Holiday name="Daylight Savings Time Begins" shortname="DaylightSavings|DaylightSavingsBegin">
            <DSTStart />
            <NameDE>Beginn der Sommerzeit</NameDE>
        </Holiday>
        <Holiday name="Daylight Savings Time Ends" shortname="DaylightSavings|DaylightSavingsEnd">
            <DSTEnd />
            <NameDE>Ende der Sommerzeit</NameDE>
        </Holiday>
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,852
    12,107
    Kyiv
    Home Country
    Ukraine Ukraine
    I have seen issues like this when the local clock is in an unexpected format. Mine is dd/mm/yyyy.
    There is no date string work in the code, it uses C# intrinsic functions, it shouldn't be a problem.
    I just tried deleting the contents of FanartHandler.Holidays.xml and it works!
    Strange ... Strange ... Try this file out of the box, without your edits. mediaportal-fanart-handler/Installer/config/FanartHandler.Holidays.xml at master · yoavain/mediaportal-fanart-handler
     

    KJ-Cox

    Design Group
  • Team MediaPortal
  • September 12, 2009
    222
    335
    Brisbane
    Home Country
    Australia Australia
    There is no date string work in the code, it uses C# intrinsic functions, it shouldn't be a problem.

    Strange ... Strange ... Try this file out of the box, without your edits. mediaportal-fanart-handler/Installer/config/FanartHandler.Holidays.xml at master · yoavain/mediaportal-fanart-handler
    I edited my answer as you responded. I can confirm the issue is because my timezone has no DST.
    When I changed my timezone to Melbourne I got no errors.

    But it's handy to know when the other states in Australia start and finish DST.
    Maybe a feature enhancement?

    I looked it up and DST starts first Sunday in October, and ends first Sunday in April.
    How would I edit the xml to do this?

    Father's day is first Sunday of September. I don't know if the code handles these.
     
    Last edited:

    Users who are viewing this thread

    Similar threads

    I compliment you on the thoroughness of your investigations. (y) Unfortunately, I don't have any ideas what the problem might be. :( Perhaps someone else will post with some suggestions. :unsure: -- from CyberSimian in the UK
    I compliment you on the thoroughness of your investigations. (y) Unfortunately, I don't have any ideas what the problem might be...
    Would appreciate it if someone could solve (or point me in the right direction to resolve) this issue. I have “MultiSeat”...
    Replies
    4
    Views
    735
    MP 1.37 Final (Willow) Bugfix II released, download links updated...
    MP 1.37 Final (Willow) Bugfix II released, download links updated...
    We have just released MediaPortal 1.37 - Willow x86 and x64 version. Highlights of this release Bugfixes: [MP1-5232] - GPU...
    Replies
    4
    Views
    2K
    • Sticky
    yes that is indeed what I did in that ticket. It may already be working without updating those plugins because most of it was not relevant to the plugin itself (test, some leftover unused parts etc).
    yes that is indeed what I did in that ticket. It may already be working without updating those plugins because most of it was not...
    We have just released MediaPortal 1.38 - Tatiana & Leo x86 and x64 version. Highlights of this release Bugfixes: New...
    Replies
    37
    Views
    4K
    MP1 MP2 MP2 - V2.3 EPG has stopped DE
    The only configuration that is certain to work is when the MP client and MP server are from the same release. It is sometimes possible to use MP clients from a release that is different to the MP server, but whether it works depends on the specific changes that were made between the two releases. -- from CyberSimian in the UK
    The only configuration that is certain to work is when the MP client and MP server are from the same release. It is sometimes...
    Before you create this bug report: Make sure that your system (Windows, codecs and drivers) is up to date, matching the...
    Replies
    10
    Views
    4K
    Upgrade install on MP 1.36 x64 proceeded without issue, everything I have tried so far is working and looking very good. Many Thanks(y):)
    Upgrade install on MP 1.36 x64 proceeded without issue, everything I have tried so far is working and looking very good. Many...
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Replies
    1
    Views
    4K
    Top Bottom