aboutsummaryrefslogtreecommitdiff
path: root/addons/xbmc.python
diff options
context:
space:
mode:
authoralcoheca <alcoheca@svn>2010-05-27 13:16:01 +0000
committeralcoheca <alcoheca@svn>2010-05-27 13:16:01 +0000
commit16b848acf2d52876e4b9a19cc5ea9b2e45ea9026 (patch)
tree4e6c1303438f37f34486ff7e9f3de041dd17b60e /addons/xbmc.python
parentb7d77b4380c0a6c5b6636cf2e5ef8566a6f182a1 (diff)
added: CPluginSource class for all pluginsource addons
changed: fixed plugin content handling via cpluff changed: removed generic content types from enum CONTENT_TYPE changed: temp disable plugins from appearing in GUIDialogMediaSource changed: moved GetExtElementDeque out of CAddonMgr class git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30605 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'addons/xbmc.python')
-rw-r--r--addons/xbmc.python/addon.xml2
-rw-r--r--addons/xbmc.python/pluginsource.xsd25
2 files changed, 26 insertions, 1 deletions
diff --git a/addons/xbmc.python/addon.xml b/addons/xbmc.python/addon.xml
index b56b9d652d..5953b3527d 100644
--- a/addons/xbmc.python/addon.xml
+++ b/addons/xbmc.python/addon.xml
@@ -8,5 +8,5 @@
<extension-point id="lyrics" schema="script.xsd"/>
<extension-point id="weather" schema="script.xsd"/>
<extension-point id="library" schema="script.xsd"/>
- <extension-point id="plugin" schema="script.xsd"/>
+ <extension-point id="plugin" schema="pluginsource.xsd"/>
</addon>
diff --git a/addons/xbmc.python/pluginsource.xsd b/addons/xbmc.python/pluginsource.xsd
new file mode 100644
index 0000000000..9a8e29b473
--- /dev/null
+++ b/addons/xbmc.python/pluginsource.xsd
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd">
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:element name="extension">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" ref="content"/>
+ </xs:sequence>
+ <xs:attribute name="point" type="xs:string" use="required"/>
+ <xs:attribute name="id" type="simpleIdentifier"/>
+ <xs:attribute name="name" type="xs:string"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="content">
+ <xs:complexType>
+ <xs:attribute name="type" type="xs:string" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:simpleType name="simpleIdentifier">
+ <xs:restriction base="xs:string">
+ <xs:pattern value="[^.]+"/>
+ </xs:restriction>
+ </xs:simpleType>
+</xs:schema>
+