Re: [Rhythmbox-devel] Session Presence Plugin


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:


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