summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/oblique/schemas
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit84da08d7b7fcda12c85caeb5a10b4903770a6f69 (patch)
tree2a6aea76f2dfffb4cc04bb907c4725af94f70e72 /noatun-plugins/oblique/schemas
downloadtdeaddons-84da08d7b7fcda12c85caeb5a10b4903770a6f69.tar.gz
tdeaddons-84da08d7b7fcda12c85caeb5a10b4903770a6f69.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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>
+