summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2013-05-04 21:14:42 +0200
committerChristian Pointner <equinox@spreadspace.org>2013-05-04 21:14:42 +0200
commite652cd7a92af61a18871852d27703919e9bc3be9 (patch)
treea3b9410220f68a49d6883ed7507560da7ccfb2a2 /templates
parentfixed typo (diff)
added support for recorder
Diffstat (limited to 'templates')
-rw-r--r--templates/flumotion/default/planet.xml5
-rw-r--r--templates/flumotion/default/recorder.xml14
2 files changed, 19 insertions, 0 deletions
diff --git a/templates/flumotion/default/planet.xml b/templates/flumotion/default/planet.xml
index c1633ee..7a45913 100644
--- a/templates/flumotion/default/planet.xml
+++ b/templates/flumotion/default/planet.xml
@@ -48,6 +48,11 @@
{% for name, component in flow['streamer'].items() %}
{% include '%s.xml' % component.type %}
{% endfor %}
+
+<!-- recording -->
+{% for name, component in flow['recorder'].items() %}
+{% include '%s.xml' % component.type %}
+{% endfor %}
</flow>
</planet>
diff --git a/templates/flumotion/default/recorder.xml b/templates/flumotion/default/recorder.xml
new file mode 100644
index 0000000..b2fce9e
--- /dev/null
+++ b/templates/flumotion/default/recorder.xml
@@ -0,0 +1,14 @@
+ <component name="{{ name }}"
+ type="disk-consumer"
+ label="{{ component.desc }}"
+ worker="{{ component.worker }}"
+ project="flumotion"
+ version="{{ globals.version }}">
+ <eater name="default">
+ <feed alias="default">{{ component.feeder }}</feed>
+ </eater>
+%% for name, value in component.properties.items()
+ <property name="{{ name }}">{{ value }}</property>
+%% endfor
+ <clock-master>false</clock-master>
+ </component>