mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2024-12-04 14:46:31 -05:00
ed9e84f387
Everything ties together in stream configurations, of which there can be many now. For the time being, every stream configuration but the "default" is ignored. Every stream/server/encoder/decoder configuration now has the name "default" by default, so that configuring names is only needed to resolve ambiguities. Decoder configurations are now also constrained in this manner for consistency, meaning they are no longer uniquely identified by a number of file extensions but also a name.
78 lines
1.6 KiB
XML
78 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ezstream>
|
|
|
|
<servers>
|
|
<server>
|
|
<name></name>
|
|
<protocol></protocol>
|
|
<hostname></hostname>
|
|
<port></port>
|
|
<user></user>
|
|
<password></password>
|
|
<tls></tls>
|
|
<tls_cipher_suite></tls_cipher_suite>
|
|
<ca_dir></ca_dir>
|
|
<ca_file></ca_file>
|
|
<client_cert></client_cert>
|
|
<reconnect_attempts></reconnect_attempts>
|
|
</server>
|
|
<!-- ... -->
|
|
</servers>
|
|
|
|
<streams>
|
|
<stream>
|
|
<name></name>
|
|
<mountpoint></mountpoint>
|
|
<public></public>
|
|
<server></server>
|
|
<format></format>
|
|
<encoder></encoder>
|
|
<stream_name></stream_name>
|
|
<stream_url></stream_url>
|
|
<stream_genre></stream_genre>
|
|
<stream_description></stream_description>
|
|
<stream_quality></stream_quality>
|
|
<stream_bitrate></stream_bitrate>
|
|
<stream_samplerate></stream_samplerate>
|
|
<stream_channels></stream_channels>
|
|
</stream>
|
|
<!-- ... -->
|
|
</streams>
|
|
|
|
<media>
|
|
<type></type>
|
|
<filename></filename>
|
|
<shuffle></shuffle>
|
|
<stream_once></stream_once>
|
|
</media>
|
|
|
|
<metadata>
|
|
<program></program>
|
|
<format_str></format_str>
|
|
<refresh_interval></refresh_interval>
|
|
<normalize_strings></normalize_strings>
|
|
<no_updates></no_updates>
|
|
</metadata>
|
|
|
|
<decoders>
|
|
<decoder>
|
|
<name></name>
|
|
<program></program>
|
|
<file_ext></file_ext>
|
|
<!-- ... -->
|
|
</decoder>
|
|
<!-- ... -->
|
|
</decoders>
|
|
|
|
<encoders>
|
|
<encoder>
|
|
<name></name>
|
|
<format></format>
|
|
<program></program>
|
|
</encoder>
|
|
<!-- ... -->
|
|
</encoders>
|
|
|
|
</ezstream>
|