Re: [Banshee-List] Wikipedia plugin



Looking good.

I'm getting an error when using this plugin on Banshee 0.10.9
The exception is thrown by Gecko.WebControl -> gtkembedmoz.so not found.
I linked the mozillas libgtkembedmoz.so to /usr/lib/ and still no luck

Any suggestions ?

On 4/28/06, Trick van Staveren <trick vanstaveren us> wrote:
Howdy folks,

Everyone likes screenshots, so I'll start with the screenie:
http://www.trick.vanstaveren.us/banshee/banshee-wikipedia-plugin-0.0.1.png

I was reading the feature requests page, and I've noticed that as far back as I can
remember, someone requested that banshee show artist information from wikipedia.  At
first I thought it was silly.  Banshee is a music player, not a web browser!  Well,
needless to say, I've found myself such an addict to wikipedia for artist information,
that earlier today I thought it'd be a neat idea to implement.

Thus, the banshee-wikipedia-plugin was born.
It's simple right now (and I plan to keep it as simple as possible).
It's a Gecko widget dropped right below the library view. (Gecko == firefoz/mozilla
rendering engine).
It has a fixed size (for now).
It can be hidden/shown from the View menu (CTRL+I as well - is this an logical shortcut
mapping?).
It automatically queries wikipedia (english) for a page with the same title as the
artist that you're playing.  Changes with the track you're playing.
I'm very tired.
This is accurate probably about 80% of the time...you'll usually find a disambiguation
page wherever it's lacking.
I'm also telling it to use the mediawiki "simple" skin to make it load faster.
In the future I'll figure out how to remove the nav bar on the left as it's pretty much
useless (if you want to browse, use a web browser).
Note the debug output in the console - it shows the actual URL you're looking at.

A few hours of hacking, and here you have it:
http://www.trick.vanstaveren.us/banshee/banshee-wikipedia-plugin-0.0.1.tar.bz2

Feedback is welcome, appreciated, and encouraged!  I'll drop it in Banshee SVN at some
point so you can track progress (abock - do you mind me adding this?)

MAJOR credit goes out to Fredrik Hedberg - more than half the code was based on the
banshee-recommendation-plugin.  I'll rewrite some of it in the future to fit my
situation, but it provided a GREAT starting point for me as I barely had to think
twice about how to create the frame, enable/disable it with a toggle menu item, etc.
Thanks Fredrik!

Enjoy!  Reply to the list or snag me on IRC (nick: trick)

Patrick

--
Patrick "Trick" van Staveren
Western Michigan University
http://www.trick.vanstaveren.us/




_______________________________________________
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]