Bug 788 - Plugins documentation should include Folder/Plugin.pm stuff
: Plugins documentation should include Folder/Plugin.pm stuff
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Documentation
: 6.0.0
: All All
: P2 normal (vote)
: ---
Assigned To: KDF
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-01-17 15:18 UTC by Blackketter Dean
Modified: 2008-08-18 10:53 UTC (History)
0 users

See Also:
Category: ---


Attachments
a few updates (10.97 KB, patch)
2005-03-22 11:46 UTC, KDF
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Blackketter Dean 2005-01-17 15:18:21 UTC
You can build standalone plugins that have more than one file by creating a folder with a file called 
Plugin.pm in the plugins directory.  Details on this trick should be added to the plugins documentation.
Comment 1 KDF 2005-01-18 10:36:32 UTC
other bits missing from plugin docs:

- how you can add a plugin to the Internet Radio, or Games submenu via     
  addMenus().
- player plugins (isClient param).
- shutdownPlugin() usage

I can add docs for the first two, but I am out of the loop on teh intended use
of shutdownPlugin.
Comment 2 Vidur Apparao 2005-01-18 11:58:39 UTC
shutdownPlugin() is a complement to initPlugin(). It is meant for any final
cleanup necessary at SlimServer shutdown. This is particularly useful in cases
where external processes need to be informed or resources need to be freed when
the plugin is shut down.
Comment 3 KDF 2005-03-22 11:46:44 UTC
Created attachment 360 [details]
a few updates

this updates a few changes to the plugin API, including adding menus, the new
getDisplayName(), initPlugin(), shutdownPlugin(), defaultMap() and enabled()
Comment 4 Blackketter Dean 2005-03-23 14:59:39 UTC
Please commit this patch!  Thanks!
Comment 5 KDF 2005-03-23 18:24:45 UTC
committed r2696