[Feedback] Playing Now

Rich rich at hq.vsaa.lv
Mon Sep 24 09:44:34 UTC 2007


On 2007.09.20. 13:43, Gleb Litvjak wrote:
> 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

for easier to read list maybe wiki page is helpful :
http://amarok.kde.org/wiki/DCOP_Functions
-- 
  Rich



More information about the Amarok mailing list