[Feedback] Playing Now

Gleb Litvjak blaster999 at gmail.com
Thu Sep 20 10:43:27 UTC 2007


On Thursday 20 September 2007 13:47:32 kinebogin at gmail.com wrote:
> Kirill Nebogin sent a message using the contact form at
> http://amarok.kde.org/en/contact.
>
> Hello, Amarok team!
> I really enjoy using Amarok, but I have a question to you:
> Does it have a command that displays the now playing track and artist in
> the console?

Yes, there are. Yere's the script I've made:
---->8---------------------------------------------------------
#!/bin/bash

TITLE=`dcop amarok player title`
ARTIST=`dcop amarok player artist`
ALBUM=`dcop amarok player album`

echo /me is listening to \"$TITLE\" by $ARTIST on \"$ALBUM\"
---->8---------------------------------------------------------

You can use kdcop to see other dcop calls Amarok has

-- 
Registered Linux user #439949
http://counter.li.org/



More information about the Amarok mailing list