nightingale.amarokscript

Amarok 1.x Scripts

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

0
Become a Fan
5.0

Description:
Version 0.1.3

The amaroK nightingale script


This script is supposed to shutdown your pc after the last song.

I am a great fan of the "xmms goodnight plugin" and i wanted a comparable function in amaroK, too.
As you can see script is a very simple shell script and i really would love to see anyone do something more professional here. (maybe integrate this functionality in kshutdown ?)

You can easily edit the script and let it do something else at the end of the playlist.
What it basically does, is to check whether amaroK is changing into "stop" mode.
(which will happen when you click at the stop button or when the last song of your playlist is over)


---------------------------------------------------------------------------
so keep in mind:

-it will shutdown your pc when the last song of the playlist is over
-it will shutdown your penguin when you press stop!

----------------------------------------------------------------------------

good night folks!

these few lines have been brought to you by Vasco a.k.a Bollo

Druid (at) gmx (dot) net
Last changelog:

v 0.1.3 04-21-2005
Script will shutdown pc no matter what your default logout settings are.

v 0.1.2 03-30-2005

sudo is not required anymore


v 0.1.1 03-29-2005

script switches off repeat mode by itself now.
this requires amarok > 1.2.3 (until now only cvs sources) because they included a new dcop call in amaroK which is used by this script.


Ratings & Comments

5 Comments

sebbe

Hi guys! Great script, I used it many times! But, I added a dcop-call which would be important, if you've activated "Restart running scripts on application startup":
dcop amarok script stopScript nightingale
You know why ... ;-)

AndrasGBekes

The CommandExecutor script does the same job, but is more flexible. For example, it won't shutdown your computer if you press stop. Check it! http://kde-apps.org/content/show.php?content=30371

markey

I think the ScriptManager will not be able to handle the package correctly. You should put the contents into a directory "nightinggale", and then tar it up. Cheers for the script :)

bollo

Jupp -- you are right! I uploaded a new tarball. Should be fine now. Thanks for the information. bye Bollo

bollo

what i forgot to mention: you need sudo set up properly, so that your user is allowed to shut down the system using the sudo comand. sorry about that.

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

Other Amarok 1.x Scripts:

Gnome Play Video in Totem
mwheatland
last update date: 19 years ago

Score 5.0

editLyrics-gnome
ZeeD
last update date: 19 years ago

Score 5.0

amarok Alarm
aroth
last update date: 16 years ago

Score 5.0

amaroK Web Collection V xmms
pti-jean
last update date: 16 years ago

Score 5.0

SongLogger
lucatnt
last update date: 17 years ago

Score 5.0

amaroK Web Collection
pti-jean
last update date: 16 years ago

Score 5.0



System Tags