mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2025-02-02 15:07:45 -05:00
Add example that calls meta.sh
This commit is contained in:
parent
6e92298a98
commit
b7d1269944
@ -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 \
|
||||
|
35
examples/ezstream-metadata.xml
Normal file
35
examples/ezstream-metadata.xml
Normal 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>
|
Loading…
Reference in New Issue
Block a user