PDA

View Full Version : Re: Plugin config interface



Rob Funk
2003-12-04, 00:41
Robert Moser wrote:
> Actually, we already have one, just not a particularly well-documented
> one.

So, is there any documentation on writing plugins? Or is everyone just
learning from each other's plugins?

I have something in the works to use Amazon's "similar items" feature as a
sort of poor-man's Moodlogic, and at this point I have the innards (as a
command-line program that reads an MP3 file and lists artist/album names)
and just need to figure out how to interface it with the Slim server.

--
==============================| "A slice of life isn't the whole cake
Rob Funk <rfunk (AT) funknet (DOT) net> | One tooth will never make a full grin"
http://www.funknet.net/rfunk | -- Chris Mars, "Stuck in Rewind"

Kevin Deane-Freeman
2003-12-04, 02:50
Quoting Rob Funk <rfunk (AT) funknet (DOT) net>:

> Robert Moser wrote:
> > Actually, we already have one, just not a particularly well-documented
> > one.
>
> So, is there any documentation on writing plugins? Or is everyone just
> learning from each other's plugins?
there is a document in the server help/technical information section that outlines
the basic hooks that a plugin needs to be found by the server. The config
section isn't in there yet, but the rest is. As for myself, I learned from
other plugins. It was much easier to build upon a similar framework already
built than to try to make a plugin from scratch the first time. I'll try to do
an update to the docs to include the config hooks

-kdf