summaryrefslogtreecommitdiff
path: root/data/mp3.xml
diff options
context:
space:
mode:
Diffstat (limited to 'data/mp3.xml')
-rw-r--r--data/mp3.xml71
1 files changed, 71 insertions, 0 deletions
diff --git a/data/mp3.xml b/data/mp3.xml
new file mode 100644
index 0000000..77d2a9c
--- /dev/null
+++ b/data/mp3.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0"?>
+
+<dlna-profiles>
+ <restrictions>
+ <restriction id="ID3" type="container">
+ <field name="name" type="string">
+ <value>application/x-id3</value>
+ </field>
+ </restriction>
+
+ <restriction id="MP3" type="audio">
+ <field name="name" type="string">
+ <value>audio/mpeg</value>
+ </field>
+ <field name="mpegversion" type="int">
+ <value>1</value>
+ </field>
+ <field name="layer" type="int">
+ <value>3</value>
+ </field>
+ <field name="channels" type="int">
+ <range min="1" max="2" />
+ </field>
+ <field name="rate" type="int">
+ <value>32000</value>
+ <value>44100</value>
+ <value>48000</value>
+ </field>
+ <field name="bitrate" type="int">
+ <range min="32000" max="320000" />
+ </field>
+ </restriction>
+
+ <restriction id="MP3X" type="audio">
+ <parent name="MP3" />
+
+ <field name="mpegaudioversion" type="int">
+ <range min="1" max="2"/>
+ </field>
+ <field name="rate" type="int">
+ <value>16000</value>
+ <value>22050</value>
+ <value>24000</value>
+ <value>32000</value>
+ <value>44100</value>
+ <value>48000</value>
+ </field>
+ <field name="bitrate" type="int">
+ <range min="8000" max="320000" />
+ </field>
+ </restriction>
+ </restrictions>
+
+ <dlna-profile name="MP3" mime="audio/mpeg">
+ <parent name="ID3" />
+ <parent name="MP3" />
+ </dlna-profile>
+
+ <dlna-profile name="MP3" mime="audio/mpeg">
+ <parent name="MP3" />
+ </dlna-profile>
+
+ <dlna-profile name="MP3X" mime="audio/mpeg">
+ <parent name="ID3" />
+ <parent name="MP3X" />
+ </dlna-profile>
+
+ <dlna-profile name="MP3X" mime="audio/mpeg">
+ <parent name="MP3X" />
+ </dlna-profile>
+</dlna-profiles>