Command Executor

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:
Sometimes it is useful to place a special playlist item, which causes amaroK to execute an internal command (e.g. stop playing) when reaches that entry. Sometimes it is useful to execute some external commands (e.g. shutdown) when playing reached a certain place (e.g. end of album).

Command Executor plugin wakes up when amaroK starts playing an .ogg file from a pre-defined directory (the "Command directory"), and executes the file with the same name ( without the .ogg suffix) in an another pre-defined directory (the "Script directory"). There are three .ogg files and scripts attached for stop playing, shutdown and hibernate the computer.

Note that configuring needs kdialog (available in a standard KDE).

Ratings & Comments

4 Comments

fungs

Wouldn't it be neat to not tag files but have a (expandable) list of commands in a list that could just be dragged into the playlist and be executed like a song would be played? could be: pause(secs) shutdown(over kdm) jump(no. of tracks) shell command(command line) changevolume(new volume or steps to increase) exitamarok restartplaylist (would replace toggle button) ... This would be a really powerful approach to make amarok the most extensible and usable player in the world.

AndrasGBekes

I've asked the developers to do that, but they refused to implement special playlist entries, so I made this.

AndrasGBekes

All the commands you've mentioned can be done with this script, you just have to write the appropriate comments.

fungs

yes, but first all commands are external ones and second, i dont want to create dummy music files for this.

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

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