diff options
author | heqnx <root@heqnx.com> | 2025-07-05 12:21:29 +0300 |
---|---|---|
committer | heqnx <root@heqnx.com> | 2025-07-05 12:21:29 +0300 |
commit | 9457306a881cfe476ee0abbdba4f6f1eaa80db9d (patch) | |
tree | a0051e68286eb93381a398d2681ec5a14f5c035e /templates/icecast2/ices-playlist.xml.j2 | |
parent | 730705affa4407a9dee7c52e5deb825020da110d (diff) | |
download | ansible-icecast2-9457306a881cfe476ee0abbdba4f6f1eaa80db9d.tar.gz ansible-icecast2-9457306a881cfe476ee0abbdba4f6f1eaa80db9d.zip |
initial commit on a working icecast2 setup
Diffstat (limited to 'templates/icecast2/ices-playlist.xml.j2')
-rw-r--r-- | templates/icecast2/ices-playlist.xml.j2 | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/templates/icecast2/ices-playlist.xml.j2 b/templates/icecast2/ices-playlist.xml.j2 new file mode 100644 index 0000000..ae9a6be --- /dev/null +++ b/templates/icecast2/ices-playlist.xml.j2 @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<ices> + <background>1</background> + <logpath>/var/log/ices</logpath> + <logfile>ices.log</logfile> + <loglevel>4</loglevel> + <consolelog>1</consolelog> + + <!-- <pidfile>/home/ices/ices.pid</pidfile> --> + + <stream> + <metadata> + <name>Example stream name</name> + <genre>Example genre</genre> + <description>A short description of your stream</description> + </metadata> + + <input> + <module>playlist</module> + <param name="type">basic</param> + <param name="file">playlist.txt</param> + <param name="random">1</param> + <param name="restart-after-reread">0</param> + <param name="once">0</param> + </input> + + <instance> + <hostname>localhost</hostname> + <port>8000</port> + <password>password</password> + <mount>/stream</mount> + <yp>0</yp> + <reconnectdelay>60</reconnectdelay> + <reconnectattempts>10</reconnectattempts> + <maxqueuelength>80</maxqueuelength> + + <!--<encode> + <nominal-bitrate>64000</nominal-bitrate> + <samplerate>44100</samplerate> + <channels>2</channels> + </encode>--> + </instance> + </stream> +</ices> |