diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/flumotion/default/planet.xml | 5 | ||||
-rw-r--r-- | templates/flumotion/default/recorder.xml | 14 |
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> |