Re: [Banshee-List] Banshee Plugin creation
- From: Patrick van Staveren <trick vanstaveren us>
- To: banshee-list gnome org
- Subject: Re: [Banshee-List] Banshee Plugin creation
- Date: Fri, 06 Oct 2006 10:32:41 -0500
I agree, this plugin would be very useful. The banshee-sample-plugin
on svn.banshee-project.org should be up to date and provide a good
starting template (I've based every plugin I've written on that).
Also, as a FYI, make sure that you're developing against banshee from
CVS - the D-Bus stuff has changed up quite a bit in the last few weeks
and probably isn't backwards compatible. While it might be nice to
develop against banshee 0.11.0, it'd suck to have to rewrite your
D-Bus code in a month or two for it to work with banshee 0.11.1.
I'm no pro at D-Bus, but I've written a few apps that connect to
Banshee and other software over D-Bus and it'd be just as easy to
connect to gnome-screensaver. You'd probably have to consult with
Abock or Alp on exactly how to do this as I haven't worked at all with
the new managed D-Bus. I wrote an app that connects to banshee over
D-Bus; you can see the classes I've used [1]. You can also peek at
the banshee remote player in the CVS tree that uses the managed D-Bus
[2].
Good luck, and poke me on IRC (trick) if you need any pointers (or
alpha testers!)
Cheers,
Patrick
[1]:
http://sting.vanstaveren.us/trunk/lirc-dbus-relayer/src/Interfaces/BansheeConnection.cs?view=co
[2]:
http://cvs.gnome.org/viewcvs/*checkout*/banshee/tools/BansheeDBusClient.cs
--
Patrick "Trick" van Staveren
http://trick.vanstaveren.us
----- Message from luke hoersten gmail com ---------
Date: Fri, 6 Oct 2006 10:35:28 -0400
From: Luke Hoersten <luke hoersten gmail com>
Reply-To: banshee-list gnome org
Subject: Re: [Banshee-List] Banshee Plugin creation
To: banshee-list gnome org
That sounds like an awesome idea though! I'd like that plugin a lot! I
could leave Banshee playing all the time! I would definately like to
work on this plugin as well if you want to get svn set up or
something. (I have svn you can use if you need as well).
On 10/3/06, Michael Monreal <infernux web de> wrote:
> What I am working on is a plugin that listens for you locking your desktop
> and automatically pausing your player and when you unlock it automatically
> resume play.
Cool!
> I am fairly new to C# and especially DBUS-sharp so I am hoping
someone will
> point me in the right direction on how to use dbus-sharp to watch
for signals
> and possibly some pointers for writing plugins.
Well first you have to realize that banshee uses the new managed
dbus. If you
have a look at the examples shipping with managed dbus, you will
quickly find
how to do the signal handling. Provided gnome-screensaver or
whatever supports
this, it's quite easy to do.
Cheers,
-Michi
______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!
Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130
_______________________________________________
Banshee-list mailing list
Banshee-list gnome org
http://mail.gnome.org/mailman/listinfo/banshee-list
--
Luke Hoersten
http://www.openradix.org/
http://www.cs.purdue.edu/~lhoerste/
_______________________________________________
Banshee-list mailing list
Banshee-list gnome org
http://mail.gnome.org/mailman/listinfo/banshee-list
----- End message from luke hoersten gmail com -----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]