aboutsummaryrefslogtreecommitdiff
path: root/addons/xbmc.metadata
diff options
context:
space:
mode:
Diffstat (limited to 'addons/xbmc.metadata')
-rw-r--r--addons/xbmc.metadata/addon.xml7
-rw-r--r--addons/xbmc.metadata/scraper.xsd17
2 files changed, 24 insertions, 0 deletions
diff --git a/addons/xbmc.metadata/addon.xml b/addons/xbmc.metadata/addon.xml
new file mode 100644
index 0000000000..a9ea02511e
--- /dev/null
+++ b/addons/xbmc.metadata/addon.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<addon id="xbmc.metadata" version="1.0" provider-name="Team XBMC">
+ <requires>
+ <import addon="xbmc.core" version="0.1"/>
+ </requires>
+ <extension-point id="scraper" schema="scraper.xsd"/>
+</addon>
diff --git a/addons/xbmc.metadata/scraper.xsd b/addons/xbmc.metadata/scraper.xsd
new file mode 100644
index 0000000000..76bb96dce5
--- /dev/null
+++ b/addons/xbmc.metadata/scraper.xsd
@@ -0,0 +1,17 @@
+<?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:attribute name="point" type="xs:string" use="required"/>
+ <xs:attribute name="id" type="simpleIdentifier"/>
+ <xs:attribute name="name" type="xs:string"/>
+ <xs:attribute name="library" type="xs:string"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:simpleType name="simpleIdentifier">
+ <xs:restriction base="xs:string">
+ <xs:pattern value="[^.]+"/>
+ </xs:restriction>
+ </xs:simpleType>
+</xs:schema>