WorldClock plugin v1.10.0 for MediaPortal 1.3.0 and higher (3 Viewers)

Micropolis

Portal Pro
July 22, 2009
1,588
1,796
Bavaria
Home Country
Germany Germany
WorldClock plugin for MediaPortal v0.3.5

Dear community,
the updated version v0.3.5 of this plugin is ready for downloading.

Informations for users:
  • Enhancements for profile selection dialog and configuration option for menu title added.
  • More clocks added.
  • Improvements to daylight savings detection.
  • Due to internal changes, please reconfigure your clock profiles again.

Informations for skinners:
  • If you want to display additional clocks, skin changes are required.

Cheers, Micropolis ;-)
 

ysmp

Design Group
  • Team MediaPortal
  • May 17, 2008
    1,863
    744
    Seoul.
    Home Country
    South Korea South Korea
    Re: WorldClock plugin for MediaPortal v0.3.5

    hi Micropolis !
    thank you for updating this cool plugin , will test tonight ... :)


    :D :D :D
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    Re: WorldClock plugin for MediaPortal v0.3.5

    Hi Micropolis.. Blue3 skin is not updated? I'm using it as reference to fix my skin and all controls are defined but i still get this error when opening GUI window:

    Code:
    2010-05-24 19:03:11.295729 [ERROR][MPMain(1)]: OnMessage exception:System.NullReferenceException: Object reference not set to an instance of an object.
       at WorldClockPlugin.WorldClock.SetControlState()
       at WorldClockPlugin.WorldClock.InitPluginPage()
       at WorldClockPlugin.WorldClock.OnPageLoad()
       at MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message)

    When you click on the select profile button from the skin, menu dialog is shown but all profiles are shown (even undefined ones).. If you click on one, there is exception:

    Code:
    2010-05-24 19:03:51.936354 [ERROR][MPMain(1)]: OnMessage exception:System.NullReferenceException: Object reference not set to an instance of an object.
       at WorldClockPlugin.WorldClock.SetControlState()
       at WorldClockPlugin.WorldClock.SelectProfile(Int32 clockIndex, Int32 actualProfile)
       at WorldClockPlugin.WorldClock.OnClicked(Int32 controlId, GUIControl control, ActionType actionType)
       at MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message)

    It would be nice if you hide not defined profiles..

    Edit: Latter error is actually raised even when i click on defined profile, so you might wanna check it out :)

    Thanks! :)
     

    Micropolis

    Portal Pro
    July 22, 2009
    1,588
    1,796
    Bavaria
    Home Country
    Germany Germany
    Re: WorldClock plugin for MediaPortal v0.3.5

    Hi SlientExcept,
    you are right, there is a plugin bug. I want update this today or in the few days.
    Currently it is not possible to hide not defined profiles, because I don't have a flag (a enable/disable checkbox in the profile editor) for this.

    Cheers, Micropolis ;-)
     

    stdly

    MP Donator
  • Premium Supporter
  • April 19, 2008
    238
    41
    Home Country
    Canada Canada
    Re: WorldClock plugin for MediaPortal v0.3.5

    Hi Micropolis,
    Thanks for the plugin!:D

    I added a forth clock to my skin file but I can't seem to get a clock image to show.
    I used the id 54 for the image but it doesn't show. The date/description shows though.
    When I scroll through the profile buttons it will not go to the 5th one (London).

    I used these ID's that are sequential from the supplied skin

    54 = Additional Clock 4
    59 = Additional Clock 4 indicator
    64 = Additional Clock 4 button
    69 = Additional Clock 4 DateTime
    74 = Additional Clock 4 Description

    What am I doing wrong?

    Steve
     

    Micropolis

    Portal Pro
    July 22, 2009
    1,588
    1,796
    Bavaria
    Home Country
    Germany Germany
    WorldClock plugin for MediaPortal v0.3.6

    Dear community,
    the updated version v0.3.6 of this plugin is ready for downloading.

    Informations for users:
    • Bugfixing for skin related issues. (thx to SilentExcept for reporting this).
    • Display of many clocks can result in a high CPU load.

    Informations for skinners:
    • IDs 55-58 changed to 60-63, IDs 60-63 changed to 70-73, IDs 65-68 changed to 80-83, IDs 70-73 changed to 90-93,
    • IDs 54-56 added, IDs 64-66 added, IDs 74-76 added, IDs 84-86 added, IDs 94-96 added.
    • please use the updated skin file as a reference.

    stdly: please try this version, your problem is related to this bugfix.

    Sorry for any circumstances and cheers, Micropolis ;-)
     

    stdly

    MP Donator
  • Premium Supporter
  • April 19, 2008
    238
    41
    Home Country
    Canada Canada
    Re: WorldClock plugin for MediaPortal v0.3.6

    Hi Micropolis,

    Thanks!
    Work great on MP102 and MP110RC3!

    Steve

    EDIT : Still I cannot scroll to the 5th button in the GUI (London). I can click the button with a mouse just no keyboard/remote navigation.
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    Re: WorldClock plugin for MediaPortal v0.3.6

    Hi Micropolis!

    Sad to say that those two errors persist in the error.log in the version 0.3.6..

    On plugin GUI load:

    Code:
    2010-05-25 10:48:02.067904 [ERROR][MPMain(1)]: OnMessage exception:System.NullReferenceException: Object reference not set to an instance of an object.
       at WorldClockPlugin.WorldClock.SetControlState()
       at WorldClockPlugin.WorldClock.InitPluginPage()
       at WorldClockPlugin.WorldClock.OnPageLoad()
       at MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message)

    When selecting profile (full or empty)
    Code:
    2010-05-25 10:53:02.146029 [ERROR][MPMain(1)]: OnMessage exception:System.NullReferenceException: Object reference not set to an instance of an object.
       at WorldClockPlugin.WorldClock.SetControlState()
       at WorldClockPlugin.WorldClock.SelectProfile(Int32 clockIndex, Int32 actualProfile)
       at WorldClockPlugin.WorldClock.OnClicked(Int32 controlId, GUIControl control, ActionType actionType)
       at MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message)

    Thanks!
     

    Micropolis

    Portal Pro
    July 22, 2009
    1,588
    1,796
    Bavaria
    Home Country
    Germany Germany
    Re: WorldClock plugin for MediaPortal v0.3.6

    Hi SlientExcept,
    I cannot reproduce this error, if I use the included generic skin file.
    I you don't use this, please be aware, that IDs are changed between v0.3.5 and v0.3.6, for a list see here.

    Cheers, Micropolis
     

    Users who are viewing this thread

    Top Bottom