1
0
Fork 0

Add example that calls meta.sh

This commit is contained in:
Moritz Grimm 2018-01-22 17:35:11 +01:00
parent 6e92298a98
commit b7d1269944
2 changed files with 36 additions and 0 deletions

View File

@ -4,6 +4,7 @@ examplesdir = @EXAMPLES_DIR@
dist_examples_DATA = \
ezstream-file_template.xml \
ezstream-full.xml \
ezstream-metadata.xml \
ezstream-minimal.xml \
ezstream-stdin.xml \
ezstream-video.xml \

View File

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
EXAMPLE: A valid configuration that periodically sets metadata via a script
-->
<ezstream>
<servers>
<server>
<hostname>127.0.0.1</hostname>
<password>hackme</password>
</server>
</servers>
<streams>
<stream>
<mountpoint>/stream.ogg</mountpoint>
<format>Vorbis</format>
</stream>
</streams>
<intakes>
<intake>
<type>stdin</type>
</intake>
</intakes>
<metadata>
<program>meta.sh</program>
<format_str>@a@ - @t@</format_str>
<refresh_interval>5</refresh_interval>
</metadata>
</ezstream>