On 06/30/2010 06:18 PM, Max Kellermann wrote: > You mean, like the "idle" command which was added nearly two years > ago? (MPD 0.14) > > I did not know this command. I'm looking for something like this, but I need more information. For example, I would like to know if a "player event" comes from a command playId or next.
> It doesn't tell you the "origin" of an event, though. Why do you > think this is important, anyway? > > I need these informations because I log all events of the player and I would like to be able to differantiate a event coming from the keyboard (shortcut) and from a graphical client. I haven't seen again the code, but I think it's trivial to add the "origin" of an event. "Origin" could mean "from which client" and "from which command". The problem is that the command parser and the player don't use the same thread. Do you think it could be possible to add this in the official source code ? (After some discussions, I can make a patch) kg. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Musicpd-dev-team mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team
