Re: [Rhythmbox-devel] Session Presence Plugin



Hi,

On 3/28/07, Alex Jones <alex weej com> wrote:
Hi all

I've coded a plugin to pay attention to changes in desktop session
presence (i.e. "is the user here or not?"), and pause/resume Rhythmbox
as appropriate.

I was wondering if there was a better way to deal with the logic of
having something automatically pause Rhythmbox than what I've done with
a "paused by us" flag. I could also monitor playing state changes to
decide if someone is overriding it, but I don't know if I'm just barking
up the wrong tree by doing it this way. I'd think it would be nicer to
somehow impose a state of suspension on RB internally, rather than just
automatically hitting play and pause.

A few variations on this theme:
http://live.gnome.org/GnomeScreensaver/FrequentlyAskedQuestions#head-ac43c8f33bc700a5e298e6a82ded0e8bb9b33043
http://bugzilla.gnome.org/show_bug.cgi?id=347426
http://bugzilla.gnome.org/show_bug.cgi?id=423829

Jon


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]