Projects...Open Source...Banshee...Plugins...Lirc

Warning:

This code isn't really maintained anymore in favour of lirc-dbus-relayer which I haven't released or even really documented yet. If you know my svn repo, you can find it and try it out.

This is a small plugin for the Banshee Music Player and it works great. This code uses the lirc-sharp bindings that I have written. I use a background thread that calls Lirc.NextCommand() which is a blocking call, and when it returns I pull the command (which is one called from the system/user lircrc) and do as it intends. The plugin itself is incredibly simple using this set of bindings.

In the future I'm toying with the idea of writing a standalone application that keeps a persistent connection with the lirc daemon, and would interface with Banshee using it's D-Bus interface. This would also allow Banshee to be launched remotely, and would isolate any problems that may arise from the two programs. The only con of this approach is that I might have to do some work to extend the Banshee D-Bus interface, but that would be a good thing for Banshee in the long run :)

Ideas to work on:

The source is hosted on my personal svn repository. Check out by issuing:

   cvs co svn://sting.vanstaveren.us/trunk/banshee-lirc-plugin

Or you can view it online.


The compilation of this plugin isn't just plug 'n chug, but almost as easy...

   cp /usr/lib/lirc-sharp/* ~/.gnome2/banshee/plugins

Then, start Banshee :) That should do the trick!

Feel free to report bugs to me via e-mail!

Retrieved from "http://trick.vanstaveren.us/Projects/Open_Source/Banshee/Plugins/Lirc"

This page was last modified 03:40, 4 October 2006.
Content is available under a Creative Commons license.


Home
Contact
Portfolio
Projects
Pictures
Elsewhere
Web Log


Log in