
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
maxischmeii
12 years ago
Report
stevenjoseph
12 years ago
Report
stevenjoseph
12 years ago
It was NOT because of week alarm i guess when it tried to write data it must have run out of space completely.
I sincerely apologize.
Report
maxischmeii
12 years ago
* The content of ~/.kde/share/apps/amarok/script-data/weekalarm.log
* The version of PyQt you use
* Version of python
You can send all this by mail if you want.
Thank you.
Report
defenderBG
12 years ago
Not only this, changing from 1.20 to 1.31 brings yet another problem. When I press configure the window is not shown unless I have started amarok from a console.
I know that changing from python 2.4 to 2.5 has opened quite a lot of problems, but can you please support an older version (or actualy all older versions), so that I can try them and find out which one works for me.
Thanks in advance
Report
maxischmeii
12 years ago
Report
maxischmeii
12 years ago
For the save and cancel buttons, it may be caused by an outdated version of python-qt, but i don't really know. Was it working with a precedent version? On what distrib are you?
Report
kdefish
12 years ago
Report
maxischmeii
12 years ago
Report
vrghost
12 years ago
I am using 64Studio
KDE4
Python 2.4.4
Report
maxischmeii
12 years ago
Report
pfmiller
12 years ago
I can't imagine a time when you would want the alarm to go off when something else is already playing so I didn't bother adding an option for it in the preferences.
Report
SugarFree
12 years ago
Another ?bug/suggestion?. When you clik "Configure" in "Script Manager" "WeekAlarm Configuration" window opens under an Amarok window while it should appear above all of windows.
I miss goodnight funkcions. Like "fade out after X minutes and stop plaing" and so.. Hope those will come in future ;)
But overall - great job ;)
// I use Amarok 3.5.9 at KDE 4.0.3 from Kubuntu 8.04 KDE 4 Remix
Report
maxischmeii
12 years ago
Report
ChesterKatz
12 years ago
I have some specific Smart/Dynamic Playlists that I'd like to wake up to, but I can't see any way to do that with the current script.
Report
maxischmeii
12 years ago
Report
ChesterKatz
12 years ago
dcop amarok playlistbrowser loadPlaylist playlistName
The one thing that I can't seem to do is get Amarok to return an actual list of the available playlists. I pored over the list of functions available, and nothing seems to fit. These playlists don't seem to be stored in the database either, so querying is pointless as well.
Could you perhaps add a text field for a playlist name? This would require the user to know the actual name of his desired playlist, so it's not as ideal as selecting from some sort of list would be. Still, it's better than nothing.
Report
ucal
12 years ago
Report
ucal
12 years ago
file "/home/me/.kde/share/apps/amarok/scripts/weekalar/weekalarm.py",line24, in <module>
import amarok
file "home/me/.kde/share/apps/amarok/scripts/weekalarm/amarok.py" line 1, in <module>
from qt import*
ImportError: No module named qt.
Any ideas?
Report
maxischmeii
12 years ago
Report
apfritts
12 years ago
I am running Python 2.5, Amarok 1.4.8 and PyQt 3.17.4 and PyQt4 4.3.3. When I try to configure the weekalarm from Amarok, nothing comes up. When I run weekalarm from the command line, I get this output:
23:03:22 weekalarm beginning [INFO]
Traceback (most recent call last):
File ".kde/share/apps/amarok/scripts/weekalarm/weekalarm.py", line 572, in <module>
main()
File ".kde/share/apps/amarok/scripts/weekalarm/weekalarm.py", line 565, in main
app=WeekAlarm()
File ".kde/share/apps/amarok/scripts/weekalarm/weekalarm.py", line 263, in __init__
self.dcop.send("player","getVolume")
File ".kde/share/apps/amarok/scripts/weekalarm/weekalarm.py", line 60, in send
stdin = subprocess.PIPE ,stdout=subprocess.PIPE
File "/usr/lib/python2.5/subprocess.py", line 593, in __init__
errread, errwrite)
File "/usr/lib/python2.5/subprocess.py", line 1079, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Report
maxischmeii
12 years ago
Report
apfritts
12 years ago
http://forums.gentoo.org/viewtopic-p-5046857.html
Report
staudi009
13 years ago
Tried this new version, but after starting it stops with:
File "/home/user/.kde/share/apps/amarok/scripts/weekalarm/weekalarm.py", line 187
class DcopAmaroK():
^
SyntaxError: invalid syntax
Regards, Werner
Report
maxischmeii
13 years ago
Report