Amarok now playing (konversation Script)
Chat
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 ;-)
openDesktop.org :
nande
7 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
7 years ago
Report
Spider-k
10 years ago
Thanks again (:
Report
leinir
10 years ago
"[2007-06-14 11:55:48] <insanity> amaroK has been Amarok since June 2006. Wake up! :)"
;)
Report
thomax
10 years ago
Anyway, it's been edited, specially for you ! ;-)
<3
Report
Yaccin
10 years ago
Report
thomax
10 years ago
Report