Description: This is a "Now Playing" signature script for amarok. I made it only for myself, so don't expect too much, but nice as I am here I share it with you.
It writes the current playing track to "~/.signature" which you can then configure your news- or email-reader to use.
Some of the code was shamelessly stolen from the script amarokNowPlaying (which did not exactly what I wanted).
Hi!
I just install this !!! script, but now I want to add my own signature to "Now playing"...
How can I do it? Any changing of the script - and not any results :(
Mine too. I stopped the script and user CPU usage dropped from 83% to 11%. You'd be better off writing a script invoked from your mail client for a signature. Both KMail/Kontact and Evolution support this IIRC. amaroK is CPU-cycle hungry enough as it is.
Yeah i have a script too but for a different reason.
I use gaim with a plugin called bangexec that allows me to execute scripts and the output goes to the room.
I often like to show people what Im listening to so I made this script.
]$ cat playlist
#!/bin/bash
#shows what amarok is playing
Player="dcop amarok player"
echo `$Player nowPlaying`
just put it in a file called playlist then type chmod a+x playlist && mv /usr/local/bin
Ratings & Comments
9 Comments
Hi! I just install this !!! script, but now I want to add my own signature to "Now playing"... How can I do it? Any changing of the script - and not any results :(
Unload script, close amarok, restart amarok, restart script.
I was just asked the same question. Therefore: if anybody else stumbles upon this... :)
The author forgot a sleep in the loop. That is why cpu usage is so high. Just add a sleep 5 or whatever you see fit after the echos. hth, michael
nice recomendation, I just tried - it's ok :))
This script is pegging my processor! KDE 3.4.1 amaroK 1.2.4 2.6.14-gentoo-r3 Athlon XP +3000
Mine too. I stopped the script and user CPU usage dropped from 83% to 11%. You'd be better off writing a script invoked from your mail client for a signature. Both KMail/Kontact and Evolution support this IIRC. amaroK is CPU-cycle hungry enough as it is.
Yeah i have a script too but for a different reason. I use gaim with a plugin called bangexec that allows me to execute scripts and the output goes to the room. I often like to show people what Im listening to so I made this script. ]$ cat playlist #!/bin/bash #shows what amarok is playing Player="dcop amarok player" echo `$Player nowPlaying` just put it in a file called playlist then type chmod a+x playlist && mv /usr/local/bin
Hey! I could use this for my Tremulous stuff!