2010-07-19, 18:18
jmarshall Wrote:Read the wiki pages on setting up a pluginsource. There's also detailed info on the exact form of addon.xml. A couple of obvious things wrong:Not sure I'm understanding you correctly, but is this a bit more like it??
1. xbmcaddon.getSetting should be used rather than xbmcplugin.getSetting.
2. you need the xbmc.addon.metadata extension point for your summary.
Cheers,
Jonathan
Code:
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="tvc.plugin"
version="1.2.3"
name="TVCatchup"
provider-name="DJ_Gerbil and the guys at TVC">
<requires>
<import addon="xbmc.gui" version="2.11"/>
</requires>
<extension
point="xbmc.python.pluginsource"
defaultresolution="720p"
defaultresolutionwide="720p"
library="default.py"
debugging="false"/>
<extension point=""xbmc.addon.metadata"" >
<summary>TVCatchup plugin for XBMC</summary>
<description>This plugin allows UK users to view free-to-air channels on XBMC courtesy of TVCatchup.com</description>
<disclaimer>This plugin is provided as is. Although all attempts will be made to help resolve issues, no promises can be made.</disclaimer>
<platform>all</platform>
<provides>video</provides>
</extension>
</addon>