
Alarm
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
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!
11 years ago
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
11 years ago
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
lengau
10 years ago
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.
Report
sukharevd
10 years ago
Report
per
10 years ago
Report
fandingo
11 years ago
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.
Report
fcool
11 years ago
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
Report
tog000
11 years ago
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!
Report
wizzi
11 years ago
*** 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)
Report
plaristote
11 years ago
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.
Report
tog000
11 years ago
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 ;)
Report
plaristote
11 years ago
Thanks a lot ! I began searching that feature something like one month ago, never suspected there was a Amarok script doing that !
Report
rangerGR
11 years ago
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"
Report
krohlas
11 years ago
Report
tog000
11 years ago
Report
tog000
11 years ago
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)
Report
rangerGR
11 years ago
I just disabled the script, no need to unistall it.
Report
tog000
11 years ago
Thanks!
Report
infectedsoundsystem
11 years ago
Works really well otherwise - thanks for this, it's been the only thing I've been missing from Amarok 2. :)
Report
tog000
11 years ago
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
Report