1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-11-03 04:17:18 -05:00

Tweak to hit a few more code paths

This commit is contained in:
Moritz Grimm 2018-01-22 17:34:31 +01:00
parent 113d8a6b88
commit 6e92298a98

View File

@ -15,26 +15,23 @@
--> -->
<servers> <servers>
<server> <server>
<!-- Identifying name; default: "default" --> <!-- Identifying name (default: "default") -->
<name>Default</name> <name>Test Server</name>
<!-- Transport protocol: HTTP, HTTPS --> <!-- Transport protocol: HTTP, HTTPS (default: "HTTP") -->
<protocol>HTTP</protocol> <protocol>HTTP</protocol>
<!-- Server address --> <!-- Server address -->
<hostname>127.0.0.1</hostname> <hostname>127.0.0.1</hostname>
<!-- Server port --> <!-- Server port (default: 8000) -->
<port>8000</port> <port>8000</port>
<!-- Login user --> <!-- Login user (default: "source") -->
<user>source</user> <user>source</user>
<!-- Login password (check file permissions, or everyone can see this) --> <!-- Login password (check file permissions, or everyone can see this) -->
<password>hackme</password> <password>hackme</password>
<!-- Number of reconnection attempts, before giving up: -->
<reconnect_attempts>0</reconnect_attempts>
<!-- <!--
Configure TLS encryption requirement: none, may (default), required Configure TLS requirement: none, may, required (default: "may")
--> -->
<tls>Required</tls> <tls>Required</tls>
@ -61,6 +58,9 @@
(with public key) and private key in the same file, for authentication. (with public key) and private key in the same file, for authentication.
--> -->
<client_cert>/etc/ssl/ezstream.crt</client_cert> <client_cert>/etc/ssl/ezstream.crt</client_cert>
<!-- Number of reconnection attempts, before giving up (default: 0) -->
<reconnect_attempts>20</reconnect_attempts>
</server> </server>
</servers> </servers>
@ -69,19 +69,26 @@
--> -->
<streams> <streams>
<stream> <stream>
<!-- Identifying name; default: "default" --> <!--
<name>Default</name> Identifying name (default: "default")
NB: Only the "default" stream is supported at this point.
-->
<!-- <name>default</name> -->
<!-- Mount point on server --> <!-- Mount point on server -->
<mountpoint>/stream.ogg</mountpoint> <mountpoint>/stream.ogg</mountpoint>
<!-- Name of the intake entry to use (default: "default") --> <!-- Name of the intake entry to use (default: "default") -->
<intake>Default</intake> <intake>Test Input</intake>
<!-- Name of the server entry to use (default: "default") --> <!-- Name of the server entry to use (default: "default") -->
<server>Default</server> <server>Test Server</server>
<!-- Setting to allow stream to be listed in public YP directory --> <!--
Setting to allow stream to be listed in public YP directory
(default: no)
-->
<public>No</public> <public>No</public>
<!-- Stream format: Vorbis, MP3, Theora --> <!-- Stream format: Vorbis, MP3, Theora -->
@ -107,20 +114,23 @@
--> -->
<intakes> <intakes>
<intake> <intake>
<!-- Identifying name; default: "default" --> <!-- Identifying name (default: "default") -->
<name>Default</name> <name>Test Input</name>
<!-- Media type: autodetect, file, playlist, program, stdin --> <!--
<type>autodetect</type> Media type: autodetect, file, playlist, program, stdin
(default: autodetect)
-->
<type>playlist</type>
<!-- Input file, program name, or "stdin" keyword --> <!-- Input file, program name, or "stdin" keyword (deprecated) -->
<filename>playlist.m3u</filename> <filename>playlist.m3u</filename>
<!-- Setting to shuffle playlists --> <!-- Setting to shuffle playlists -->
<shuffle>Yes</shuffle> <shuffle>Yes</shuffle>
<!-- Setting whether to stream intake indefinitely or only once --> <!-- Setting whether to stream intake indefinitely or only once -->
<stream_once>No</stream_once> <stream_once>Yes</stream_once>
</intake> </intake>
</intakes> </intakes>
@ -134,14 +144,14 @@
<!-- Metadata format --> <!-- Metadata format -->
<format_str>@a@ - @t@</format_str> <format_str>@a@ - @t@</format_str>
<!-- Interval for additional metadata refreshes (-1 for none) --> <!-- Interval for additional metadata refreshes (default: -1 (none)) -->
<refresh_interval>-1</refresh_interval> <refresh_interval>-1</refresh_interval>
<!-- Setting to clean up extraneous whitespace --> <!-- Setting to clean up extraneous whitespace (default: no) -->
<normalize_strings>Yes</normalize_strings> <normalize_strings>Yes</normalize_strings>
<!-- Setting to suppress all metadata udpates --> <!-- Setting to suppress all metadata udpates (default: no) -->
<no_updates>No</no_updates> <no_updates>Yes</no_updates>
</metadata> </metadata>
<!-- <!--