
Command Executor
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
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
15 years ago
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
AndrasGBekes
15 years ago
Report
fungs
15 years ago
Report
AndrasGBekes
15 years ago
Report