[solved] Cannot get FH Holiday to work (1 Viewer)

KJ-Cox

Design Group
  • Team MediaPortal
  • September 12, 2009
    263
    387
    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,285
    13,975
    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
    263
    387
    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

    that really sounds like an authorization issue. do you already have an OpenSubtitlesConfiguration.xml in the programfiles\tean mediaportal\subtitledownloaders folder? there you can fill in your credentials. I'm sure it is documented somewhere...
    that really sounds like an authorization issue. do you already have an OpenSubtitlesConfiguration.xml in the programfiles\tean...
    I'm having a strange issue with Subcentral & Subtitle Downloader. Everytime I try to download subtitles the list come out empty...
    Replies
    3
    Views
    677
    • Sticky
    Many many years ago, I opened a bug report after I got that same message but I never got a reply. The reason was I had unchecked the Windows Media Player item in Windows 10 Control Panel > Program and Features > Turn Windows features on or off as I didn't need it, without thinking that it was needed by MediaPortal. I kept the "Media...
    Many many years ago, I opened a bug report after I got that same message but I never got a reply. The reason was I had unchecked...
    We have just released MediaPortal 1.39 - Endurance x86 and x64 version. Highlights of this release Bugfixes: [MP1-5257] - Skin...
    Replies
    13
    Views
    1K
    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
    2K
    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
    3K
    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
    13K
    Top Bottom