PDA

View Full Version : Is there a "real" documentation?



56KSurfer
2008-02-13, 08:08
Hello...
A few days ago I downloaded SlimServer to play around because I plan to buy a SqueezeBox3. Everything looks very good, Opensource, Plugins, etc...
Now I want to test a plugin (Weblogger) but it can not submit all of the file attributes by HTTP-POST (I want the filename of the currently playing song).
So: "Its open, I can customize it by myself". Never done Perl beford but I think I can handle it with some docs.
Looking into the code, seeing a lot of "Slim::..."!

So, is there any (complete) documentation of the object hierarchy?
Or the other way:
On what basis do you (plugin developers) start coding your plugin? Where are your references?

Ramage
2008-02-13, 08:40
Hello...
A few days ago I downloaded SlimServer to play around because I plan to buy a SqueezeBox3. Everything looks very good, Opensource, Plugins, etc...
Now I want to test a plugin (Weblogger) but it can not submit all of the file attributes by HTTP-POST (I want the filename of the currently playing song).
So: "Its open, I can customize it by myself". Never done Perl beford but I think I can handle it with some docs.
Looking into the code, seeing a lot of "Slim::..."!

So, is there any (complete) documentation of the object hierarchy?
Or the other way:
On what basis do you (plugin developers) start coding your plugin? Where are your references?

There is some basic plugin information available on the squeezecenter/slimserver web UI. Use the classic skin, (http://localhost(or your server ip):9000/classic/). At the bottom of the home page under "Help" click on "Technical Information" and then "Squeezecenter Plugins"

There's loads of other good info under other "technical Information" headings also

56KSurfer
2008-02-13, 08:54
Hi Ramage
I already found that "basic" information. Therefore the question for a "real" documentation/reference.
Nevertheless, Thank your very much for your response.
Greets

Mark Lanctot
2008-02-13, 11:23
I'm not a developer, but does this help?

http://wiki.slimdevices.com/index.cgi?DeveloperGuide

kdf
2008-02-13, 11:43
you will also find documentation in the Slim/* modules themselves, either in the comments or using perldoc. If it's only a plugin that you want to build, you can use any of the Slim/Plugin/ modules as a template. From there, it's just a few differences to make it work in the third party Plugins folder.

-kdf

mflint
2008-02-14, 01:47
For writing plugins, you could do worst than looking at other people's plugin code. They are pretty varied, and add/change functionality in most of SqueezeCenter.

I often use the code of other people's plugins for 'inspiration'. (Gosh, did I really say that out loud?!) In fact, my plugins are only commented as well as they are because I expect people to occasionally borrow from me too :)

List of 3rd-party plugins here:
http://wiki.slimdevices.com/index.cgi?SlimServerPlugins

Matthew