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

budinsky

Design Group
  • Team MediaPortal
  • September 12, 2009
    188
    256
    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
    15,685
    10,647
    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
     

    budinsky

    Design Group
  • Team MediaPortal
  • September 12, 2009
    188
    256
    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
    854
    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
    4K
    I noticed IMDb+ is working, except the popularity is not getting scraped.
    I noticed IMDb+ is working, except the popularity is not getting scraped.
    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
    36
    Views
    6K
    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
    Top Bottom