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 opencode.net

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

fungs

14 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

14 years ago

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

Report

fungs

14 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

14 years ago

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

Report

12345678910
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.2
updated Mar 06 2006
added Oct 18 2005
downloads 24h
0
mediaviews 24h 0
pageviews 24h 2
System Tags addon