PDA

View Full Version : What functions can be called from Plugin



LegaxyTRX
2008-10-24, 11:14
Hi,

maybe I have not read the forum carefully, but is there a description, which
functionas can be called from a plugin and how does the API look like?

Background is that I would like to do something in a plugin and then start
playing of a stream a la "http://xxx:36500/audio.mp3

Any help is appreciated.

Frank

Secret Squirrel
2008-10-24, 11:33
Hi,

maybe I have not read the forum carefully, but is there a description, which
functionas can be called from a plugin and how does the API look like?

Background is that I would like to do something in a plugin and then start
playing of a stream a la "http://xxx:36500/audio.mp3

Any help is appreciated.

Frank

Check out the wiki here: http://wiki.slimdevices.com/index.php/Category:Development

a great place to start!

HTH,

SS

LegaxyTRX
2008-10-24, 14:25
Hi,

thnkas for the info, but I maybe should be more concrete. As an example,
how do I find out which syntax the function Slim::Control::Command::execute
requires?

Frank

peterw
2008-10-24, 16:50
thnkas for the info, but I maybe should be more concrete. As an example,
how do I find out which syntax the function Slim::Control::Command::execute
requires?


Look at existing code. Best place to start is the code in Slim/Plugins, as these are "sanctioned" and likely to be written cleanly. I know my code tends to snowball and get messier over time -- since this is a hobby for me and I have very limited time, making it work is a thousand times more important than keeping my code clean.

Oh, and try asking these questions in the "Developers" forum. :-)

-Peter

Siduhe
2008-10-24, 17:36
Try http://yourSqueezcenterIPhere:9000/html/docs/help.html - there is a section on Plugins and the API.