From: Vahis on
On 2008-04-05, houghi <houghi(a)houghi.org.invalid> wrote:
> OK. There are several ways of steering Amarok via a website and can even
> be used to play music over the intertubes.
>
> Now for the realy importand and fun stuff. CLI and signatures.
> Imagine I would like the world to know what I am listening to. Something
> like:
> This was written under the influence of the following:
>| Artist : Frank Zappa
>| Song : Tracy Is A Snob
>| Album : You Can't Do That On Stage Anymore Vol. 6
>
> This can be reached easily by running the following script:
> #!/bin/bash
> echo "This was written under the influence of the following:
>| Artist : `dcop amarok player artist`
>| Song : `dcop amarok player title`
>| Album : `dcop amarok player album`"

Works fine :)


Vahis
--
This was written under the influence of the following:
| Artist : Frank Zappa
| Song : Village of the Sun
| Album : # 19 Roxy & Elsewhere 1974
From: Vahis on
On 2008-04-05, Vahis <waxborg(a)gmail.com.invalid> wrote:
> On 2008-04-05, houghi <houghi(a)houghi.org.invalid> wrote:
>> OK. There are several ways of steering Amarok via a website and can even
>> be used to play music over the intertubes.
>>
>> Now for the realy importand and fun stuff. CLI and signatures.
>> Imagine I would like the world to know what I am listening to. Something
>> like:
>> This was written under the influence of the following:
>>| Artist : Frank Zappa
>>| Song : Tracy Is A Snob
>>| Album : You Can't Do That On Stage Anymore Vol. 6
>>
>> This can be reached easily by running the following script:
>> #!/bin/bash
>> echo "This was written under the influence of the following:
>>| Artist : `dcop amarok player artist`
>>| Song : `dcop amarok player title`
>>| Album : `dcop amarok player album`"
>
> Works fine :)
>
>
> Vahis


Forgot to mention:

I'm running KDE and I have a script in /home/username/.kde/shutdown
that backs up the Amarok database at each logout and sends it to
a safe place that I'm leasing from my ISP.

Obviously this can be done in other desktops, too.

Vahis
--
Training new things here:
http://waxborg.servepics.com
"The only thing more expensive than training is the lack of it"
Henry Ford
 | 
Pages: 1
Prev: Amarok filling of the database
Next: Lenovo x300