[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
    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 make sure it works.
    Am I missing a setting?

    Edit: Added logs. Let me know what else you need.
     

    Attachments

    • FanartHandler.log
      7.2 KB
    • MediaPortal-Error.log
      4.5 KB
    • fontEngine.log
      231 KB
    • MediaPortal.log
      84.8 KB
    • LatestMediaHandler.log
      3.9 KB
    • LatestMediaHandler_config.log
      2.1 KB
    • FanartHandler_config.log
      33.6 KB
    • FanartHandler.Holidays.Custom.xml
      278 bytes
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,031
    11,097
    Kyiv
    Home Country
    Ukraine Ukraine
    HolidayShowAllDay yes
    If today is a holiday, then his Fanart will be shown all day, not for a certain period and then stop. In my opinion this is how it works. The display of the holiday depends on the Skin.
     

    KJ-Cox

    Design Group
  • Team MediaPortal
  • September 12, 2009
    221
    335
    Brisbane
    Home Country
    Australia Australia
    If today is a holiday, then his Fanart will be shown all day, not for a certain period and then stop. In my opinion this is how it works. The display of the holiday depends on the Skin.
    I added todays date as a birthday and see no background of icon.
    Using Titan skin and trying both default and with MEPO theme.

    Nothing works. In fact with MEPO theme, I see no images for at all besides the default background.
    mepo.png
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,031
    11,097
    Kyiv
    Home Country
    Ukraine Ukraine
    Added logs. Let me know what else you need.
    You need to enable the log mode - Debugging, there is little information in these logs, and there is not a single error. Everything is working as normal.
    I added todays date as a birthday and see no background of icon.
    Was the file edited while the Media Portal was not running? Changes are not picked up on the fly.
    Nothing works. In fact with MEPO theme, I see no images for at all besides the default background.
    It seems to me that in the Skin settings in the Media Portal you need to select FanartHandler.
     

    KJ-Cox

    Design Group
  • Team MediaPortal
  • September 12, 2009
    221
    335
    Brisbane
    Home Country
    Australia Australia
    You need to enable the log mode - Debugging, there is little information in these logs, and there is not a single error. Everything is working as normal.
    Debug enabled and new logs attached.
    Was the file edited while the Media Portal was not running? Changes are not picked up on the fly.

    Yes, Media Portal was not running. I cannot find the setting in the GUI so I manually edited FanartHandler.xml for HolidayShow, HolidayShowAllDay and HolidayEaster. Also, FanartHandler.Holidays.Custom.xml.

    I have now tried editing those two files with fanart handler open and then with Media Portal open but it still does not work.

    FH Settings.png

    It seems to me that in the Skin settings in the Media Portal you need to select FanartHandler.
    Already had FanartHandler as the selected Background in skin settings.

    Skin settings.png
     

    Attachments

    • MediaPortal.log
      670.3 KB
    • LatestMediaHandler.log
      6.5 KB
    • Configuration.log
      48.2 KB
    • FanartHandler.log
      34.7 KB
    • MediaPortal-Error.log
      798 bytes

    KJ-Cox

    Design Group
  • Team MediaPortal
  • September 12, 2009
    221
    335
    Brisbane
    Home Country
    Australia Australia
    Maybe I am missing a required plugin?
    Not running anything like MePoTools.
    Testing with Titan skin with default as well as ajs.MePo.Theme.for.Titan.mpe1

    plugins.png

    plugins-config.png
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,031
    11,097
    Kyiv
    Home Country
    Ukraine Ukraine
    Debug enabled and new logs attached.
    In log i see:
    Code:
    Fanart Handler Holidays folder: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\UserDef\Holidays\
    Fanart Handler Holidays (Icon) folder: Theme|Skin|Thumb: \Media\Logos\Holidays\
    Holiday: [x][x] Fanart, [x] All Day, Show: 0min Country: EN Language: EN Easter: Pesach
    Active Window: 35 Refresh: [x] -> Window: [x] Overlay: [ ] Allow: [x]
     --- [x] [x] Play, [ ] Player, [ ] [ ] Selected, [x] Random, [x] Random Latests, [x] Weather, [x] Holiday
    RefreshHolidayProperties: The added or subtracted value results in an un-representable DateTime.
    Parameter name: value
    Here's the problem: The added or subtracted value results in an un-representable DateTime.
    The DateTime Structure has a Minimum value of 1/1/0001 and a maximum value of 12/31/9999
    The code in your loop is attempting to add a number of days that is making today go outside of this range.
    I don't think it's a bug in the source code (but I don't rule it out), more like the quality of the source data, you can send me your files:
    FanartHandler.Holidays.xml
    FanartHandler.Holidays.Custom.xml
     

    KJ-Cox

    Design Group
  • Team MediaPortal
  • September 12, 2009
    221
    335
    Brisbane
    Home Country
    Australia Australia
    Here's the problem: The added or subtracted value results in an un-representable DateTime.
    I did see that and had found an issue with the day and month in my Holidays.Custom, but fix it a couple of days ago (I think).
    I don't think it's a bug in the source code (but I don't rule it out), more like the quality of the source data, you can send me your files:
    FanartHandler.Holidays.xml
    FanartHandler.Holidays.Custom.xml
    Attached. Thanks!
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,031
    11,097
    Kyiv
    Home Country
    Ukraine Ukraine
    Gotcha! There is an error in the FanartHandler.Holidays.Custom.xml file!
    Code:
    This file contains the following errors:
    error on line 18 at column 12: Opening and ending tag mismatch: Month line 16 and Holiday
    Missing < in <Month>9/Month> :)
    Try this ... :):coffee::whistle:
     

    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
    546
    • 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
    1K
    Top Bottom