On 2008/11/04 14:40, Marc Pavot <[EMAIL PROTECTED]> wrote:
> I have seen the inclusion in MPD 0.14 of an 'idle' command that could solve
> this issue but I don't really know how to use it as a client developer.
> Is there any plan to include a support of 'idle' command in libmpdclient? If
> yes, how do you plan to implement it?

Hi Marc,

it will be part of libmpdclient, but not very soon.  libmpdclient
needs a major redesign, I want to make it asynchronous.
Unfortunately, at this time, I cannot tell you much about that,
because I'm currently too busy with the MPD 0.14 preparations.

> As far as I understand, when you are in 'idle' mode, you are
> blocking until an event occurs (song change, volume change
> etc...). It doesn't look really usable in a graphical client.

Why not? The client can let the connection block until something
happens, or it can abort idle as soon as he wishes to use the
connection for something else.  That is simple, but powerful.

> Anyway if you need help to implement this feature, I could work on
> it.

I could really need a helping hand on libmpdclient.  Are you familiar
with asynchronous I/O?

Max

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to