MarSOnEarth wrote: 
> So, I assume it's the "controler" API to which plugins are written,
> right? Where can I read up on them?

LMS has evolved over time and there are multiple APIs - some are old and
legacy. 

- Special LMS web pages by registering pages with LMS and providing Perl
template html files which access variable/data via Perl plugin.
- there is an UI interface for older SB players which nobody uses now
unless you want to do something special on the displays of the older SB
players.
- external program can use telnet CLI interface 
- external program can also make request in HTTP JSON  Cometd 
- plugin can do multiple things from within LMS - implement new URL
protocol,  handle new audio formats, manipulate database inerface with
news device, add menus etc.

Usually external application not plugins interface with LMS using
HTTP/JSON.  Plugins don't use the JSON interface as they are part of
LMS, written in Perl and have a number of hooks/API into LMS. Plugin
development is outlined in the Wiki but it is out of date.

With the exception of the CLI interface (and by implication the JSON)
which is documented in the main WebUI under Help - none of the other
APIs are documented. Developers look at other Plugins and LMS source
code to develop new plugins. 

If you are more specific about what you want to achieve - I'm sure
somebody will be able to point you to an existing plugin which is close 
to your needs and after that it is asking questions which are not vague.


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=112430

_______________________________________________
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to