21 Dec 14:22
21 Dec 14:48
Re: About getting what's playing
Ed Schouten <ed <at> 80386.nl>
2008-12-21 13:48:16 GMT
2008-12-21 13:48:16 GMT
Hello, * Schneider <dudektria <at> gmail.com> wrote: > I wonder if it's possible to get information about what I'm playing, to put > on a conkyrc or something. Herrie stores this kind of info, puts on a file > or something? The latest Herrie snapshot has DBus-support, so if we would add this, we should do this through DBus. Unfortunately I'm *very* busy lately (work, school, etc). Any volunteers? -- -- Ed Schouten <ed <at> 80386.nl> WWW: http://80386.nl/
21 Dec 23:40
Re: About getting what's playing
Steve Jothen <sjothen <at> gmail.com>
2008-12-21 22:40:57 GMT
2008-12-21 22:40:57 GMT
On Sun, Dec 21, 2008 at 5:48 AM, Ed Schouten <ed <at> 80386.nl> wrote:
Hello,The latest Herrie snapshot has DBus-support, so if we would add this, we
* Schneider <dudektria <at> gmail.com> wrote:
> I wonder if it's possible to get information about what I'm playing, to put
> on a conkyrc or something. Herrie stores this kind of info, puts on a file
> or something?
should do this through DBus. Unfortunately I'm *very* busy lately (work,
school, etc). Any volunteers?
--
Ed Schouten <ed <at> 80386.nl>
WWW: http://80386.nl/
I've attached a patch that adds support for this using DBus. I think just locking the GUI mutex should be enough, but I'm not sure if the song information is updated in other places? Here are some examples of using it:
Nothing playing:
% dbus-send --dest=info.herrie.Herrie --print-reply /info/herrie/Herrie info.herrie.Herrie.getSong
method return sender=:1.38 -> dest=:1.40 reply_serial=2
string ""
Something playing:
% dbus-send --dest=info.herrie.Herrie --print-reply /info/herrie/Herrie info.herrie.Herrie.getSong
method return sender=:1.38 -> dest=:1.41 reply_serial=2
string "J. S. Bach - Menuett G-Dur, BWV Anh. 116"
Feel free to change it if you like,
Steve
22 Dec 06:03
Re: About getting what's playing
Schneider <dudektria <at> gmail.com>
2008-12-22 05:03:01 GMT
2008-12-22 05:03:01 GMT
Hey, that's better than I expected :D
I will build it with the patch, thanks!
Schneider
2008/12/21 Steve Jothen <sjothen <at> gmail.com>
On Sun, Dec 21, 2008 at 5:48 AM, Ed Schouten <ed <at> 80386.nl> wrote:
Hello,The latest Herrie snapshot has DBus-support, so if we would add this, we
* Schneider <dudektria <at> gmail.com> wrote:
> I wonder if it's possible to get information about what I'm playing, to put
> on a conkyrc or something. Herrie stores this kind of info, puts on a file
> or something?
should do this through DBus. Unfortunately I'm *very* busy lately (work,
school, etc). Any volunteers?
--
Ed Schouten <ed <at> 80386.nl>
WWW: http://80386.nl/
I've attached a patch that adds support for this using DBus. I think just locking the GUI mutex should be enough, but I'm not sure if the song information is updated in other places? Here are some examples of using it:
Nothing playing:
% dbus-send --dest=info.herrie.Herrie --print-reply /info/herrie/Herrie info.herrie.Herrie.getSong
method return sender=:1.38 -> dest=:1.40 reply_serial=2
string ""
Something playing:
% dbus-send --dest=info.herrie.Herrie --print-reply /info/herrie/Herrie info.herrie.Herrie.getSong
method return sender=:1.38 -> dest=:1.41 reply_serial=2
string "J. S. Bach - Menuett G-Dur, BWV Anh. 116"
Feel free to change it if you like,
Steve
RSS Feed