
Amarok now playing (konversation Script)
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
This script displays the song you are currently playing with Amarok.
Add it to, /usr/share/apps/konversation/scripts
Then add it to command aliases
Konversation > settings > command aliases
for example: alias: np ;replacement: /exec np
have fun ;-)
nande
10 years ago
still you can use dbus
change the line with the echo
[code]
| while read line; do dcop $PORT default say $SERVER "$TARGET" "$line"; done
[/code]
to use something like this
[code]
qdbus org.kde.konversation /irc say $SERVER "$TARGET" "$line"
[/code]
and change your variables at top to this
[code]
TARGET=$2;
SERVER=$1;
[/code]
Report
zekecoma
10 years ago
Report
Spider-k
13 years ago
Thanks again (:
Report
leinir
13 years ago
"[2007-06-14 11:55:48] <insanity> amaroK has been Amarok since June 2006. Wake up! :)"
;)
Report
thomax
13 years ago
Anyway, it's been edited, specially for you ! ;-)
<3
Report
Yaccin
13 years ago
Report
thomax
13 years ago
Report