Command Executor

Amarok 1.x Scripts

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on git.opendesktop.org

0
Score 50%
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).

fungs

13 years ago

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.

Report

C

AndrasGBekes

13 years ago

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

Report

fungs

13 years ago

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

Report

C

AndrasGBekes

13 years ago

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

Report

File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
0.2
updated Mar 06 2006
added Oct 18 2005
downloads today
0
page views today 1
System Tags addon