Re: [Rhythmbox-devel] [new plugin] alarm clock

Andrew Conkling wrote:
On Wed, Apr 2, 2008 at 7:25 AM, Mika Wahlroos <mpw iki fi <mailto:mpw iki fi>> wrote:

    mathias nedrebo org <mailto:mathias nedrebo org> wrote:
    > I have written an alarm clock plugin. It is located at

    There's at least some information at Note also the "Third party
    plugins" page.

Be sure to note that there's already an alarm clock plugin posted there: links to Don't know if it works well, or how it compares, but it might be nice to pool your resources.


Hi Mathias,

I've tried to use a bit your plugin, and I like how you've implemented it.

However I had some problems:

1. yesterday I was able to set the plugin according to my needs, but when I clicked "ok" the windows didn't accept input (so that I had to close the window with "x" - altF4 - without saving my choices)

2. today, just in order to give you a better feedback on it, I've started rhythmbox from command line "rhythmbox -n -d" but I receive the following error when I tried to set up your plugin:

(21:29:17) [0x80dc408] [window_focus_cb] rb-mmkeys-plugin.c:118: window got focus, re-grabbing media keys (21:29:17) [0x80dc408] [window_focus_cb] rb-mmkeys-plugin.c:118: window got focus, re-grabbing media keys (21:29:19) [0x80dc408] [rb_plugin_find_file] rb-plugin.c:255: found '/home/giopas/.gnome2/rhythmbox/plugins/alarm-clock/' when searching for file '' for plugin 'alarm-clock'
Traceback (most recent call last):
File "/home/giopas/.gnome2/rhythmbox/plugins/alarm-clock/", line 273, in show_conf_dialog
File "/home/giopas/.gnome2/rhythmbox/plugins/alarm-clock/", line 221, in load_dialog_values * dt = datetime.datetime.strptime(date, locale.nl_langinfo(locale.D_FMT)) AttributeError: type object 'datetime.datetime' has no attribute 'strptime'*

Anyway, as Andrew already told you, someone already implemented a similar plugin:

1. alarmclock-1.2.tar.bz2 (
2. rb-alarmclock-0.4 (

However, the second does not work anymore (at least for me), and the second has some minor problems (like it does not play the playlist you have selected, or other).

For this reason, I encourage you - if it's possible, 'cause I'm not a code literate at all - to merge your plugin with Fabien's one, so that it could became stable and 100% complete (I'm a rhythmbox plugin fun, because it's probably the most used application).

Keep fine,


"The paradigm of competition is a race: by
rewarding the winner, we encourage everyone
to run faster. When capitalism really works
this way, it does a good job; but its defenders
are wrong in assuming it always works this way.
If the runners forget why the reward is offered
and become intent on winning, no matter how, they
may find other strategies--such as, attacking
other runners. If the runners get into a fist
fight, they will all finish late."
(GNU manifesto/R. Stallman)

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]