Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

4
Become a Fan
4.8

Description:
Let your favorite music wake you up or put you to sleep.

This is the [strike]first[/strike] second public version of this script, which gives you the much-requested functionality to play music at preset times.

[indent]Features:[/indent]
- Two alarms to configure
- You can determine initial and final volumes for your alarm
- Ability to control the speed of the volume changes
NEW as for 0.9
- Option to keep volume as it is for the initial value
- Now you can start an alarm in the same minute
- Ability to stop running alarms

[indent]Known Bugs/Issues[/indent]
- Overlapping times for the alarms = chaos
- The alarm will play the current playlist, there is no option to choose a different playlist for each alarm.
- The transition times are a little off (~20 sec)

Please leave your feedback (and votes) along with suggestions, feature requests and anything else. Thanks!
Last changelog:

0.9

-Added stop button
-Added status line
-Checkbox to keep volume as-is
-Alarm settings now get saved (!!!!)
-Fixed many other small things
-New screenshot


0.8
-Initial release


Ratings & Comments

18 Comments

lengau

Thanks for the awesome script! One thing I really would like to see is the ability to set a playlist to play when the alarm goes off. Ideally, I could choose a playlist from the automatic playlist generator. I made a playlist that wakes me in the morning, but I don't like that I still have to set it manually.

sukharevd

Why alarm doesn't work after rebooting my computer? I've just settled turning my computer on by timer and... after Ubuntu finished loading (it was before alarm time), Amarok wasn't started.

per

Thanks for this script. It wakes me up in the mornings :). A tip to make it even better is to be able to tell which weekdays I want the alarm. As it is now I turn it off Fridays and turn it back on Sundays to not be woken early in the weekends. It could even be configured to start different times for different weekdays. Something similar to this script for Amarok 1: http://kde-apps.org/content/show.php/weekalarm?content=23160

fandingo

Great script, I really like it. There's a couple things that I think are confusing to new users. 1) When configuring the alarms, there is a save button (good) and a "cancel" button. Since the dialog does not close when "save" is clicked, it is unintuitive to click "cancel" after saving. Perhaps changing it to "close" would be more clear. 2) I like the info box that appears, but it is also a little unclear. Do I need to leave amarok running for the alarm to activate? I think clarifying the text would be fairly easy. Hate to have someone miss work because they misunderstood "alarm's" abilities. Thanks for the script; previously I had to use kalarm+vlc, which was a pain.

fcool

Hi Gabriel! Gratulation for this great script! Wouldn't it be even better, if it could wake up the computer (if he supports ACPI-RTC wake up)? HINT: use echo UTCTIMESTAMP > /sys/class/rtc/rtc0/wakealarm to store an alarm. If the boards accepts alarms you can read the stored alarm in /proc/driver/rtc

tog000

Hi there Ferd! Thats actually a super cool idea! I had no clue that acpi had that feature... I'm currently testing the auto resume on my computer, hopefully i'll get it working reliably and then add the functionality to the script. Thanks a lot for your suggestion!

wizzi

you can add ticks by patching with the following *** main.js Tue May 5 01:52:02 2009 --- main.js.new Tue Jul 7 23:17:52 2009 *************** *** 179,184 **** --- 179,186 ---- g.objectName="init_vol"; g.orientation = Qt.Horizontal; g.maximum=100; + g.tickInterval = 10; + g.tickPosition = QSlider.TicksAbove; g.setSizePolicy(QSizePolicy.MinimumExpanding, QSizePolicy.Fixed); l.setWidget(1,QFormLayout.FieldRole, g) *************** *** 202,207 **** --- 204,211 ---- h.objectName="final_vol"; h.orientation = Qt.Horizontal; h.maximum=100; + h.tickInterval = 10; + h.tickPosition = QSlider.TicksAbove; h.setSizePolicy(QSizePolicy.MinimumExpanding, QSizePolicy.Fixed); l.setWidget(3,QFormLayout.FieldRole, h)

plaristote

I have a bug with the Mandriva 2009.1 version of Amarok 2. At first, I had no menu entry in order to open the configuration panel... So I looked in the Alarm sources and tried to execute some of this : I managed to make the menu entry appear, but not to make the connexion with the function onConfigure (it tells me that onConfigure isn't defined). No way to understand what's wrong with it. Anyway, glad to see this add-on ! The world need this feature.

tog000

Thanks! :D Try the new version, hopefully it will fix the problems you're experiencing. If they continue, contact me, we need to get that script running on your computer ;)

plaristote

It works hahaha ! IT'S ALIVE ! Thanks a lot ! I began searching that feature something like one month ago, never suspected there was a Amarok script doing that !

rangerGR

Great script. Very useful. But it doesn't work after updating amarok to svn (amarok 2.1 betas). Debug shows: amarok: [ScriptManager] [ERROR!] Script Error: "01:46:50 Error: Function.prototype.connect: ambiguous connect to KAction::triggered(); candidates are triggered() triggered(bool) triggered(Qt::MouseButtons,Qt::KeyboardModifiers) Use e.g. object['triggered(Qt::MouseButtons,Qt::KeyboardModifiers)'].connect() to connect to a particular overload on Line: 177"

tog000

Thanks for pointing it out. I'm aware of this and its fixed in my 'local' version. I will be uploading the new version that fixes this along with a few new features shortly. Thanks for your patience! (to make amarok work, you can delete $HOME/.kde/share/apps/amarok/scripts but you have to be aware that it will delete all other scripts also)

rangerGR

Thanks for the answer. I just disabled the script, no need to unistall it.

tog000

Please try the new version. These problems should be fixed. Thanks!

krohlas

The problem is not Amarok 2.1 but Qt 4.5. So please update soon, as for users of Amarok 2.0.1 this leads to a crash on startup...

tog000

New version is out, please try it out on your system. Its working on mine with Qt4.5

infectedsoundsystem

Thought it wasn't working at first when I tested it with a time 1 minute in the future, until I realised that it won't start for alarms less than 2 minutes from the current time. Works really well otherwise - thanks for this, it's been the only thing I've been missing from Amarok 2. :)

tog000

Thanks for your message! The new version is out, it carries a few improvements, one of them being that now you don't have to wait the minute for it to start, the alarms start just in time. I recommend you to try it

Pling
0 Affiliates
Details
license
version 0.9
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 3

Other Amarok 2.x Scripts:

raya
raya1234
last update date: 15 years ago

Score 5.0

Partition Assistant
shiny521
last update date: 15 years ago

Score 5.0

google-clone
jenifferhomes
last update date: 15 years ago

Score 5.6

Quran Audio Library
boubakr92
last update date: 12 years ago

Score 4.4

Remove Current Track
alexoleshkevich
last update date: 14 years ago

Score 4.7

indoLyrics
cyrus007
last update date: 14 years ago

Score 4.7



System Tags