Is there a way to extract information about currently played song from Amarok? I would like to create a plugin for tmux-powerline [1] that displays currently played song on the status bar. I know there were plugins for Kadu IM that changed users status to show current song, so this is possible. The question is can this be achieved from bash level or does it require a library call?
Jan
I think you can achieve it using DCOP but I don't know the calls On Oct 3, 2012 5:27 AM, "Janek S." fremenzone@poczta.onet.pl wrote:
Is there a way to extract information about currently played song from Amarok? I would like to create a plugin for tmux-powerline [1] that displays currently played song on the status bar. I know there were plugins for Kadu IM that changed users status to show current song, so this is possible. The question is can this be achieved from bash level or does it require a library call?
Jan
[1] https://github.com/erikw/tmux-powerline
To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
Dne st 3. října 2012 Janek S. napsal(a):
I think you can achieve it using DCOP but I don't know the calls
Why didn't I thought of that... The calls are easy:
[killy@GLaDOS : ~] dcop amarok player artist From Autumn To Ashes
Thanks!
You can use kdcop to explore functions offered for dcop from Amarok.
Slavek --
On 3 October 2012 08:30, Janek S. fremenzone@poczta.onet.pl wrote:
You can use kdcop to explore functions offered for dcop from Amarok.
Actually that's what I did to figure out these calls :)
Jan
To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
I'm glad it worked out!