xml: Support ID3 in MP3 profiles
[gupnp:gupnp-dlna.git] / data / mp3.xml
1 <?xml version="1.0"?>
2
3 <dlna-profiles>
4   <restrictions>
5     <restriction id="ID3" type="container">
6       <field name="name" type="string">
7         <value>application/x-id3</value>
8       </field>
9     </restriction>
10
11     <restriction id="MP3" type="audio">
12       <field name="name" type="string">
13         <value>audio/mpeg</value>
14       </field>
15       <field name="mpegversion" type="int">
16         <value>1</value>
17       </field>
18       <field name="layer" type="int">
19         <value>3</value>
20       </field>
21       <field name="channels" type="int">
22         <range min="1" max="2" />
23       </field>
24       <field name="rate" type="int">
25         <value>32000</value>
26         <value>44100</value>
27         <value>48000</value>
28       </field>
29       <field name="bitrate" type="int">
30         <range min="32000" max="320000" />
31       </field>
32     </restriction>
33
34     <restriction id="MP3X" type="audio">
35       <parent name="MP3" />
36
37       <field name="mpegaudioversion" type="int">
38         <range min="1" max="2"/>
39       </field>
40       <field name="rate" type="int">
41         <value>16000</value>
42         <value>22050</value>
43         <value>24000</value>
44         <value>32000</value>
45         <value>44100</value>
46         <value>48000</value>
47       </field>
48       <field name="bitrate" type="int">
49         <range min="8000" max="320000" />
50       </field>
51     </restriction>
52   </restrictions>
53
54   <dlna-profile name="MP3" mime="audio/mpeg">
55     <parent name="ID3" />
56     <parent name="MP3" />
57   </dlna-profile>
58
59   <dlna-profile name="MP3" mime="audio/mpeg">
60     <parent name="MP3" />
61   </dlna-profile>
62
63   <dlna-profile name="MP3X" mime="audio/mpeg">
64     <parent name="ID3" />
65     <parent name="MP3X" />
66   </dlna-profile>
67
68   <dlna-profile name="MP3X" mime="audio/mpeg">
69     <parent name="MP3X" />
70   </dlna-profile>
71 </dlna-profiles>