[PlayListPlayer] Fix hint on playlist file with multiple paths
[xbmc.git] / addons / xbmc.python / pluginsource.xsd
blob55c11509122bc9a1d75a5c6a44bf0dbd833d4239
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd">
3 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
4 <xs:element name="extension">
5 <xs:complexType>
6 <xs:choice maxOccurs="unbounded">
7 <xs:element name="provides" type="providesList" minOccurs="0" maxOccurs="1"/>
8 <xs:element name="medialibraryscanpath" type="pathType" minOccurs="0" maxOccurs="unbounded"/>
9 </xs:choice>
10 <xs:attribute name="point" type="xs:string" use="required"/>
11 <xs:attribute name="id" type="simpleIdentifier"/>
12 <xs:attribute name="name" type="xs:string"/>
13 <xs:attribute name="library" type="xs:string" use="required"/>
14 </xs:complexType>
15 </xs:element>
16 <xs:simpleType name="simpleIdentifier">
17 <xs:restriction base="xs:string">
18 <xs:pattern value="xbmc\.python\.pluginsource"/>
19 </xs:restriction>
20 </xs:simpleType>
21 <xs:simpleType name="providesType">
22 <xs:restriction base="xs:string">
23 <xs:enumeration value="audio"/>
24 <xs:enumeration value="executable"/>
25 <xs:enumeration value="game"/>
26 <xs:enumeration value="image"/>
27 <xs:enumeration value="video"/>
28 </xs:restriction>
29 </xs:simpleType>
30 <xs:simpleType name="providesList">
31 <xs:list itemType="providesType"/>
32 </xs:simpleType>
33 <xs:simpleType name="contentType">
34 <xs:restriction base="xs:string">
35 <xs:enumeration value="albums"/>
36 <xs:enumeration value="artists"/>
37 <xs:enumeration value="movies"/>
38 <xs:enumeration value="musicvideos"/>
39 <xs:enumeration value="tvshows"/>
40 </xs:restriction>
41 </xs:simpleType>
42 <xs:complexType name="pathType">
43 <xs:simpleContent>
44 <xs:extension base="xs:string">
45 <xs:attribute name="content" type="contentType" use="required"/>
46 </xs:extension>
47 </xs:simpleContent>
48 </xs:complexType>
49 </xs:schema>