2010-06-09, 14:51
Cool, that's working now. Thanks.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.program.SABnzbd"
name="SABnzbd"
version="2.0.0"
provider-name="">
<requires>
<import addon="xbmc.python" version="1.0"/>
</requires>
<extension point="xbmc.python.pluginsource"
library="default.py">
</extension>
<extension point="xbmc.addon.metadata">
<platform>all</platform>
<summary>Plugin for managing SABnzbd</summary>
<description>manage SABnzbd and search for files</description>
</extension>
</addon>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.program.SABnzbd"
name="SABnzbd"
version="2.0.0"
provider-name="">
<requires>
<import addon="xbmc.python" version="1.0"/>
</requires>
<extension point="xbmc.python.pluginsource"
library="default.py">
[color=Red]<provides>video</provides>[/color]
</extension>
<extension point="xbmc.addon.metadata">
<platform>all</platform>
<summary>Plugin for managing SABnzbd</summary>
<description>manage SABnzbd and search for files</description>
</extension>
</addon>
Amet Wrote:edit: should probably be <provides>executable</provides>That was the trick to get it to show up in programs. Wonderful. Now I gotta figure out why the plugin still will not work. I get a "Can not connect to remote share" error.
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="skin.confluence"
version="1.1.0"
name="Confluence"
provider-name="Jezz_X, Team XBMC">
<requires>
<import addon="xbmc.gui" version="2.11"/>
</requires>
<extension
point="xbmc.gui.skin"
defaultresolution="720p"
defaultresolutionwide="720p"
defaultthemename="textures.xbt"
effectslowdown="0.75"
debugging="false"/>
<extension point="xbmc.addon.metadata">
<summary>Confluence skin by Jezz_X. (XBMC's default skin)</summary>
<summary lang="nl">Confluence skin door Jezz_X</summary>
<summary lang="zh">Jezz_X开发的Confluence皮肤</summary>
<description>Confluence is the default skin for XBMC 9.11 and above. It is a combination of concepts from many popular skins, and attempts to embrace and integrate their good ideas into a skin that should be easy for first time XBMC users to understand and use.</description>
<description lang="nl">Confluence is de standaard skin voor XBMC 9.11 en hoger. Het combineert de concepten van andere populaire skins, waarbij het tracht hun goede ideëen te integreren in een skin die gemakkelijk in gebruik is.</description>
<description lang="zh">在XBMC 9.11之后的版本中Confluence是默认皮肤。它集合了许多流行皮肤的创意,力求把这些优点融合到一个皮肤中,使得首次使用XBMC的用户能更容易上手。</description>
<disclaimer>Confluence is the default skin for XBMC, removing it may cause issues</disclaimer>
<disclaimer lang="nl">Confluence is de standaard XBMC skin, het verwijderen van Confluence kan leiden tot problemen.</disclaimer>
<disclaimer lang="zh">Confluence是XBMC的默认皮肤,删除它可能导致故障。</disclaimer>
<platform>all</platform>
</extension>
</addon>
__language__(30204) # this will return localized string from resources/language/<name_of_language>/strings.xml
__settings__.getSetting( "foo" ) # this will return "foo" setting value
__settings__.setSetting( "foo" ) # this will set "foo" setting value
__settings__.openSettings() # this will open settings window
runtime
This element contains information about the plug-in runtime library. It is omitted if the plug-in does not have a runtime library but contains only data. It can have following attributes.
library: The name of the plug-in runtime library in the plug-in directory. A platform specific extension (for example, ".so" or ".dll") is added to the value specified here when loading the library.
funcs: The functions to be used to create an instance of the plug-in runtime. This attribute is optional. It is needed if the plug-in has a start or stop function. The value specified here is a name of an exported symbol which contains a pointer to cp_plugin_runtime_t structure.
jmarshall Wrote:If <platfrom>linux</platform> is set, then your plugin *should* only be available on linux systems, yup.
And changelog is just a text file in the root - see confluence for instance.