better way to detect when rhythmbox has started?

David Mohammed <[email protected]> Sat, 23 May 2015 10:56:34 +0100
Newsgroups gmane.comp.gnome.apps.rhythmbox.devel
Message-ID <CAMwPnjdHR47jOvmW_4QScC2q=jCag8ZewtrfAtpcnTAXbopRGw@mail.gmail.com>
--===============0818916026463708624==
Content-Type: multipart/alternative; boundary=f46d043bdedab9c7a50516bccaa2

--f46d043bdedab9c7a50516bccaa2
Content-Type: text/plain; charset=UTF-8

Several of my plugins need to perform some processing after rhythmbox has
fully started up (i.e. the database has been fully loaded).

Currently I'm using the load-complete signal  on RB.RhythmDB.

However - the obvious issue is that when a user first activates a plugin,
the load-complete signal has long ago been fired.

Thus I'm using a hack - wait for 3 seconds and if load-complete has not
been detected, then do the processing anyway.

Thus to my question - is there a better way to detect when rhythmbox has
started?

i.e. some kind of property that maybe I can regulary poll for to see if it
has been set post load-complete?

--f46d043bdedab9c7a50516bccaa2
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div>Several of my plugins need to perform =
some processing after rhythmbox has fully started up (i.e. the database has=
 been fully loaded).<br><br></div>Currently I&#39;m using the load-complete=
 signal=C2=A0 on RB.RhythmDB.<br><br></div>However - the obvious issue is t=
hat when a user first activates a plugin, the load-complete signal has long=
 ago been fired.<br><br></div><div>Thus I&#39;m using a hack - wait for 3 s=
econds and if load-complete has not been detected, then do the processing a=
nyway.<br></div><div><br></div>Thus to my question - is there a better way =
to detect when rhythmbox has started?<br><br></div>i.e. some kind of proper=
ty that maybe I can regulary poll for to see if it has been set post load-c=
omplete?<br></div>

--f46d043bdedab9c7a50516bccaa2--

--===============0818916026463708624==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
rhythmbox-devel mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/rhythmbox-devel

--===============0818916026463708624==--