My Alarm V2 (11 Viewers)

devo

Retired Team Member
  • Premium Supporter
  • September 2, 2004
    215
    0
    Canada
    I am glad people are looking at the plugin. I had some time to work on the plugin this morning so I will run down the changes I have made so far.


    1. The ok button is gone, pushing escape or back will save the settings.
    2. "Name" string is now in the strings.xml file.
    3. Deleting alarms has been fixed, there were a few bugs here.
    4. I have added code to set the #currentmodule property on the alarm screen and the details. It will display the My Alarm/AlarmName for the details page.
    5. The file medium is loaded by setting the path in the plugin settings.
    You can also set the snooze time to be used. Snooze can be used by hitting spacebar (PAUSE) when the alarm goes off. It will start a timer and when the timer elapses it will start playback again.

    6. I fixed some layout bugs and the page up / down buttons not working, and itemcount property was not being set.

    I have a question for the users, does the delete button make sense? You can also delete an alarm by simply renaming it to blank and hitting back or escape.

    I have made all of these changes so far but I started to add the "sleep timer" functionality. I will finish this and then submit everything to sourceforge as a patch.

    Thanks for the comments everyone. Keep them coming.
     

    devo

    Retired Team Member
  • Premium Supporter
  • September 2, 2004
    215
    0
    Canada
    A

    Anonymous

    Guest
    Hi devo,

    I know you're interested in getting My Alarm to work with hibernation.
    I' m thinking of implementing a general wake-up functionality in the PowerScheduler plugin. This would enable any plugin to register for wake up.
    I'm thinking in terms of plugins implementing a Wake-up-interface with one method - getNextEvent() returns DateTime.

    How does this sound - any suggestions?

    / Fred
     

    Mr.Mitchell

    Retired Team Member
  • Premium Supporter
  • May 13, 2004
    227
    0
    the Netherlands
    I just updated MetalMedia for the V2.1 version of the plugin and I have 2 minor things.

    #currentmodule tag is not used on the sleeptimer page

    When there is no time set yet (so first time you enter the screen) then the #currentsleeptime tag contains the value #currentsleeptime so it also shows in the skin (see http://home.ict.nl/~mweterin/mp/Image8.png ). You don't see this in MCE because the huge font only contains the numbers 0-9 and no letters. Easiest is to just set the tag to "" or 00:00 by default.

    Other than that it is a great plugin
     

    devo

    Retired Team Member
  • Premium Supporter
  • September 2, 2004
    215
    0
    Canada
    fred said:
    Hi devo,

    I know you're interested in getting My Alarm to work with hibernation.
    I' m thinking of implementing a general wake-up functionality in the PowerScheduler plugin. This would enable any plugin to register for wake up.
    I'm thinking in terms of plugins implementing a Wake-up-interface with one method - getNextEvent() returns DateTime.

    How does this sound - any suggestions?

    / Fred

    I want to discuss with frodo some more. In a way I don't really like the idea of a plugin depending on another plugin. I think the code to wakeup the computer should be in a utility class in the base code so all plugins could use it.(if needed)
     

    devo

    Retired Team Member
  • Premium Supporter
  • September 2, 2004
    215
    0
    Canada
    Mr.Mitchell said:
    I just updated MetalMedia for the V2.1 version of the plugin and I have 2 minor things.

    #currentmodule tag is not used on the sleeptimer page

    When there is no time set yet (so first time you enter the screen) then the #currentsleeptime tag contains the value #currentsleeptime so it also shows in the skin (see http://home.ict.nl/~mweterin/mp/Image8.png ). You don't see this in MCE because the huge font only contains the numbers 0-9 and no letters. Easiest is to just set the tag to "" or 00:00 by default.

    Other than that it is a great plugin

    I will fix these up and submit to sourceforge. Thanks again for the comments.
     
    A

    Anonymous

    Guest
    @ Devo, about wake up.

    I couldn't agree more. The wake up functionality should be part of MP core. Some things of whats in the PowerScheduler today really belongs to TVdatabase and other things may be a utility class available to any plugin.
    But the only (well easiest) way for me of implemanting any sort of wake up functionality, me not being an authorized MPdeveleoper, was to make a plugin.
    So lets hope frodo likes the idea of an all purpose wake up mechanism and refactor it as part of the MP core.
     

    MrMario64

    Retired Team Member
  • Premium Supporter
  • April 22, 2004
    822
    1
    50
    Home Country
    Netherlands Netherlands
    fred, come talk to frodo about your ideas.
    I'm sure we can all get the best we would like....

    I see no reason why you can only make a core change without being on the dev list...
     

    Users who are viewing this thread

    Top Bottom