summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/oblique/schemas
diff options
context:
space:
mode:
Diffstat (limited to 'noatun-plugins/oblique/schemas')
-rw-r--r--noatun-plugins/oblique/schemas/Makefile.am3
-rw-r--r--noatun-plugins/oblique/schemas/obliqueschema.dtd14
-rw-r--r--noatun-plugins/oblique/schemas/standard80
3 files changed, 97 insertions, 0 deletions
diff --git a/noatun-plugins/oblique/schemas/Makefile.am b/noatun-plugins/oblique/schemas/Makefile.am
new file mode 100644
index 0000000..9bda17b
--- /dev/null
+++ b/noatun-plugins/oblique/schemas/Makefile.am
@@ -0,0 +1,3 @@
+schemasdir = $(kde_datadir)/noatun/oblique/schemas
+schemas_DATA = standard
+
diff --git a/noatun-plugins/oblique/schemas/obliqueschema.dtd b/noatun-plugins/oblique/schemas/obliqueschema.dtd
new file mode 100644
index 0000000..5fb45ea
--- /dev/null
+++ b/noatun-plugins/oblique/schemas/obliqueschema.dtd
@@ -0,0 +1,14 @@
+<!ELEMENT ObliqueSchema (group+)>
+<!ELEMENT group (property,value,presentation,options?,group*)>
+<!ELEMENT options (disabled|stoponhit|unique)*>
+<!ATTLIST ObliqueSchema version CDATA "1.0">
+
+<!ELEMENT disabled EMPTY>
+<!ELEMENT stoponhit EMPTY>
+<!ELEMENT unique EMPTY>
+
+
+<!ELEMENT property (#PCDATA)>
+<!ELEMENT value (#PCDATA)>
+<!ELEMENT presentation (#PCDATA)>
+
diff --git a/noatun-plugins/oblique/schemas/standard b/noatun-plugins/oblique/schemas/standard
new file mode 100644
index 0000000..1c00f18
--- /dev/null
+++ b/noatun-plugins/oblique/schemas/standard
@@ -0,0 +1,80 @@
+<!DOCTYPE ObliqueSchema SYSTEM "obliqueschema.dtd">
+<ObliqueSchema title="Standard" i18n="true">
+ <group>
+ <property>mimetype</property>
+ <value>^(?:audio/|.*/ogg$)</value>
+ <presentation>Music</presentation>
+ <options>
+ <autoopen/>
+ </options>
+ <group>
+ <property>author</property>
+ <value>^$</value>
+ <presentation>(Unknown Artist)</presentation>
+
+ <group>
+ <property>title</property>
+ <value>^$</value>
+ <presentation>$(track". ")$(file)$(" ("bitrate"kbps)")</presentation>
+ <options>
+ <playable />
+ </options>
+ </group>
+ </group>
+
+ <group>
+ <property>author</property>
+ <value></value>
+ <presentation>$(author)</presentation>
+
+ <group>
+ <property>album</property>
+ <value>^$</value>
+ <presentation>(Unknown Album)</presentation>
+
+ <group>
+ <property>title</property>
+ <value>^$</value>
+ <presentation>$(track". ")$(file)$(" ("bitrate"kbps)")</presentation>
+ <options>
+ <playable />
+ </options>
+ </group>
+
+ <group>
+ <property>title</property>
+ <value></value>
+ <presentation>$(track". ")$(title)$(" ("bitrate"kbps)")</presentation>
+ <options>
+ <playable />
+ </options>
+ </group>
+ </group>
+
+ <group>
+ <property>album</property>
+ <value></value>
+ <presentation>$(album)</presentation>
+
+ <group>
+ <property>title</property>
+ <value>^$</value>
+ <presentation>$(track". ")$(file)$(" ("bitrate"kbps)")</presentation>
+ <options>
+ <playable />
+ </options>
+ </group>
+
+ <group>
+ <property>title</property>
+ <value></value>
+ <presentation>$(track". ")$(title)$(" ("bitrate"kbps)")</presentation>
+ <options>
+ <playable />
+ </options>
+ </group>
+ </group>
+ </group>
+ </group>
+</ObliqueSchema>
+