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

KJ-Cox

Design Group
  • Team MediaPortal
  • September 12, 2009
    221
    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,008
    11,065
    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
    221
    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 had the same issue and found the executable under C:\ProgramData\Team MediaPortal\MediaPortal\skin\Titan\BasicHome.Editor\TitanEditor.exe Only the shortcut was missing.
    I had the same issue and found the executable under C:\ProgramData\Team...
    Hi all, Not a rant, more a sharing of experience (maybe hoping to get some clarification on which wrong turn I took) It has been...
    Replies
    9
    Views
    2K
    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
    You are right, the one on the repository is correct, not sure how I ended up with a different version. See attached the incorrect version I ended up with.
    You are right, the one on the repository is correct, not sure how I ended up with a different version. See attached the incorrect...
    We have just released MediaPortal 1.32 Halloween Thanks to the great work of our new developer Pablik we are now able to present...
    Replies
    33
    Views
    6K
    When attempting to play live TV from a Client Only install of Media Portal back to my Media Portal Server I get an error of "There is no player registered to play media item stream X.Y". I've tried version 2.4.1 and 2.5. I've also tried setting a static IP on both the client and the server. In 2.5 I get this error in the logs...
    When attempting to play live TV from a Client Only install of Media Portal back to my Media Portal Server I get an error of "There...
    When attempting to play live TV from a Client Only install of Media Portal back to my Media Portal Server I get an error of "There...
    Replies
    0
    Views
    534
    • Sticky
    We have just released MediaPortal 1.35 - Horizon x86 and x64 version. Highlights of this release Bugfixes: [MP1-5221] - Core: Fix FrameGrabbing for EVR [MP1-5222] - TV Server: Fix ISO-8859-10/14 DVB text encodings [MP1-5224] - Fix Card "CancelTune" request Since Pre-Release : New: Since Pre-Release : Improvement / Rework...
    We have just released MediaPortal 1.35 - Horizon x86 and x64 version. Highlights of this release Bugfixes: [MP1-5221] - Core...
    We have just released MediaPortal 1.35 - Horizon x86 and x64 version. Highlights of this release Bugfixes: [MP1-5221] - Core...
    Replies
    0
    Views
    742
    Top Bottom