
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
Versatile alarm script for Amarok. Includes the ability to set different alarm times for each day, control volume fading, use wakeup playlists, enable snoozing, and take a nap.
12 years ago
1.4.0:
- nl translation (thanks to garo)
1.3.3:
- fix crash when amarok stop playing
1.3.2:
- fix configuration not being shown
1.3.1:
- Fixed problems with accents in the playlist box.
1.3.0:
- French translation
- Italian translation (thanks to Guybrush88)
- some minor bugfixes
1.2.0:
- Added dynamic playlists support
- Repeat option
1.1.1
- Retro-compatibility with python 2.4
- bugfixe (handling volume option)
1.1
- Adding some options: volume update when fading; stop fading when amarok is stoped or paused, etc.
- some bugfixes
- reorganisation of gui
1.0.1
-updated README. we need python 2.5.
1.0.0 Rewrittal of much code
- fading stop when amarok pause, stop or has it's volume changed. To work with replaygain, an option is added to decrease sensibility
- stop more cleanly when killed by amarok
- somme bugfixes to avoid problems with accents
0.9.1 Bugfixes
- disable launch by KDE session manager
- fix custom playlist startup
0.9
GUI and code overhaul. Added option for random track on startup. There are many changes in this version, please let me know if you encounter any bugs.
0.6.1
*Hotfix* fix custom playlist startup
0.6
- changes to volume fading (bug fixes and feature add)
0.5.1
- use kdialog so snooze pops into foreground
0.5
- added snooze feature
12 years ago
1.4.0:
- nl translation (thanks to garo)
1.3.3:
- fix crash when amarok stop playing
1.3.2:
- fix configuration not being shown
1.3.1:
- Fixed problems with accents in the playlist box.
1.3.0:
- French translation
- Italian translation (thanks to Guybrush88)
- some minor bugfixes
1.2.0:
- Added dynamic playlists support
- Repeat option
1.1.1
- Retro-compatibility with python 2.4
- bugfixe (handling volume option)
1.1
- Adding some options: volume update when fading; stop fading when amarok is stoped or paused, etc.
- some bugfixes
- reorganisation of gui
1.0.1
-updated README. we need python 2.5.
1.0.0 Rewrittal of much code
- fading stop when amarok pause, stop or has it's volume changed. To work with replaygain, an option is added to decrease sensibility
- stop more cleanly when killed by amarok
- somme bugfixes to avoid problems with accents
0.9.1 Bugfixes
- disable launch by KDE session manager
- fix custom playlist startup
0.9
GUI and code overhaul. Added option for random track on startup. There are many changes in this version, please let me know if you encounter any bugs.
0.6.1
*Hotfix* fix custom playlist startup
0.6
- changes to volume fading (bug fixes and feature add)
0.5.1
- use kdialog so snooze pops into foreground
0.5
- added snooze feature
dasbooter
14 years ago
Using amarok 1.4 beta 3
and Python 2.4.1
Report
bfl
14 years ago
Report
dasbooter
14 years ago
Now crumpling my own bad hack alarm bash script and tossing in garbage and implementing your wonderful alarm script. I am still going to have to figure out this problem with replay gain perhaps a simple script to disable it for the duration of this alarm script or maybe this problem is fixed as I havent even tested it out anyways thanks again for the new option :) (Bows low and hits the good vote button)
Report
dasbooter
14 years ago
dcop amarok script stopScript amarok_replaygain.py
then
dcop amarok script runScript amarok_replaygain.py
Also a feature request would be to add an option to change the amount of time it takes for the volume to increase or decrease.Thanks ever so much sorry if this is repeated the server is slow or I am not doing something right ;)
Report
dasbooter
14 years ago
dcop amarok script stopScript amarok_replaygain.py
then
dcop amarok script runScript amarok_replaygain.py
Also would it be possible to set the time it takes for the volume to increase or decrease as the case may be. Pretty please and thanks
Report
bfl
14 years ago
I'd rather not start disabling other scripts from within the script. If you would like to add it in yourself, the function you are looking for is
def fadeVol(self,start,step,stop)
Just add the line
system('dcop amarok script stopScript amarok_replaygain.py')
before the "for i in range" line, and add
system('dcop amarok script runScript amarok_replaygain.py')
after the "time.sleep" line.
> would it be possible to set the time it takes for the volume to increase or decrease
I added this to the 0.6 release, enjoy!
Report
exclude
15 years ago
I often go to bed with some nice bedtime music. It would be great not to have to wake up at 03.00 only to find the music is still playing :)
Report
bfl
15 years ago
Cheers.
Report
charliecompany
15 years ago
Report
bfl
15 years ago
Report
McQuaid
15 years ago
Report
bfl
15 years ago
Report
bfl
15 years ago
Report
McQuaid
15 years ago
What I'd love to have is a snooze feature.
For example, I have a rf remote hooked up to my computer that works in linux. I'd love to be able to push a key on the remote and have the alarm 'snooze' only to be started again in X amount of minutes.
So say a check box to enable snooze.
A key to activate snooze. Something like space or even user configurable would be great.
And then a box to set the amount of minutes when the alarm would come out of snooze mode and start to play again.
Maybe this is out of the scope of what you want to provide but I think it would be a great feature that's missing in all the other alarm plugins. I really need to learn to code to be able to do this myself :)
Report
bfl
15 years ago
Report
bfl
15 years ago
It works for me, so test it out if you get a chance and let me know if you have any problems.
Report
jimmybfan
15 years ago
File "/home/matt/.kde3.4/share/apps/amarok/scripts/weekalarm/weekalarm.py", line 428, in timerEvent
self.configure()
File "/home/matt/.kde3.4/share/apps/amarok/scripts/weekalarm/weekalarm.py", line 433, in configure
self.dia = ConfigDialog()
File "/home/matt/.kde3.4/share/apps/amarok/scripts/weekalarm/weekalarm.py", line 178, in __init__
self.listPick.setSizePolicy(0,0,True)
TypeError: argument 1 of QWidget.setSizePolicy() has an invalid type
Any ideas as to what is going on?
Report
bfl
15 years ago
Report
jimmybfan
15 years ago
File "/home/matt/.kde3.4/share/apps/amarok/scripts/weekalarm/weekalarm.py", line 280, in saveConfig
self.config.set("Playlist","playlist",self.pl)
AttributeError: pl
Report
Superstoned
15 years ago
Report
stormking
15 years ago
Report
bfl
15 years ago
Report
bfl
15 years ago
Report
stormking
15 years ago
Report
bfl
15 years ago
Report