Re: [Banshee-List] Plugin method
- From: Aaron Bockover <abockover novell com>
- To: banshee-list gnome org
- Subject: Re: [Banshee-List] Plugin method
- Date: Tue, 13 Dec 2005 17:26:00 -0500
Okay, you pushed me to finally write a D-Bus example client program.
Committed are two new files:
src/BansheeDbusClient.cs
src/BansheeDbusClient.Makefile
And src/Makefile.am has been updated so you can run "make
dbus-client-sample" or just:
make -f BansheeDbusClient.Makefile
inside src/
You can also just fetch the two files here, and build where you please:
http://cvs.gnome.org/viewcvs/*checkout*/banshee/src/BansheeDbusClient.cs
http://cvs.gnome.org/viewcvs/*checkout*/banshee/src/BansheeDbusClient.Makefile
Read the messages in the source header.
For kicks, I wrote a display client in Bash last night, but I do not
recommend using it as it will start a banshee process about 5 times a
second to do some stuff over D-Bus... it is slow and eats your CPU, but
interesting nonetheless:
http://abock.org/~aaron/banshee/banshee-display.sh
Looking forward to those photos!
Best,
Aaron
On Tue, 2005-12-13 at 22:08 +0100, Thijs Vermeir wrote:
> On 13-dec-05, at 01:14, Aaron Bockover wrote:
>
> > Banshee exposes a D-Bus service for remote control and simple queries
> > against the current playing song. There is not an external example of
> > how to use this service, but the command line options basically do
> > that... use D-Bus to communicate with itself.
>
> I can't figure out how D-Bus works in Mono. Is there any good
> documentation or example?
> Or can you make a little program to demonstrate D-Bus in banshee. ( I
> think there are not much lines required)
>
>
> >
> > As for your custom hardware extension, that sound excellent. I'd
> > love to
> > see photos!
>
> I will put photos online in a few day's ( need new batteries for camera)
>
> Gr,
> Thijs Vermeir
>
>
>
> > Best of luck, and let me know if you need any more help.
> >
> > --Aaron
> >
> >
> > On Mon, 2005-12-12 at 21:17 +0100, Thijs Vermeir wrote:
> >> Hello,
> >>
> >> I'm making a hardware extension for Banshee. ( an LCD , IR , buttons
> >> and LED's connected to USB)
> >> This works, but I messed with PlayerInterface.cs ( make things
> >> public, add call in predefined functions,...)
> >> I think this is not the best way to implement extensions, can someone
> >> give me a hint to a better way for interacting with banshee?
> >>
> >> Thanks,
> >> _______________________________________________
> >> Banshee-list mailing list
> >> Banshee-list gnome org
> >> http://mail.gnome.org/mailman/listinfo/banshee-list
> >
> > _______________________________________________
> > Banshee-list mailing list
> > Banshee-list gnome org
> > http://mail.gnome.org/mailman/listinfo/banshee-list
> >
>
> _______________________________________________
> Banshee-list mailing list
> Banshee-list gnome org
> http://mail.gnome.org/mailman/listinfo/banshee-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]