diff options
author | spiff_ <spiff_@svn> | 2010-05-21 23:14:13 +0000 |
---|---|---|
committer | spiff_ <spiff_@svn> | 2010-05-21 23:14:13 +0000 |
commit | 2c2e61e87794375eb97fb24f002f0dc6aaf4d063 (patch) | |
tree | a4bec99a6fae23a6fd67002a8f858c108d6d550c /addons/xbmc.metadata | |
parent | fb21f38ddc6f1d3213e2a6209070fc0de488c1e8 (diff) |
changed: initial move of scrapers to cpluff. since deps aren't handled, only tvdb is currently converted
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30398 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'addons/xbmc.metadata')
-rw-r--r-- | addons/xbmc.metadata/addon.xml | 7 | ||||
-rw-r--r-- | addons/xbmc.metadata/scraper.xsd | 17 |
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> |