forked from karlheyes/icecast-kh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
54 lines (48 loc) · 2.4 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
This file describes new features added in this fork.
For original icecast README file refer to README.icecast-kh
* Automatic charset conversions for Russian language - works without any
additional settings. If you found error in charset conversions, please
report a bug and upload file with broken tags somewhere.
* Machine-friendly status page: /status-raw.xsl:
$ curl http://localhost:8000/status-raw.xsl
<?xml version="1.0" encoding="UTF-8"?>
<status>
<mount id="/ices">
<stream-title>Default stream name</stream-title>
<stream-description>Default description</stream-description>
<content-type>audio/mpeg</content-type>
<mount-start>Tue, 10 Jan 2012 22:25:06 +0400</mount-start>
<bitrate>128</bitrate>
<listeners>0</listeners>
<peak-listeners>0</peak-listeners>
<genre>Default genre</genre>
<server-url>http://www.icecast.org/</server-url>
<current-song>65Daysofstatic - Radio Protector</current-song>
</mount>
</status>
* Authentication by personal passwords. Sources may connect with the same login
but with different passwords that will be mapped to disting entries in appropriate
ACL file. Login is fully ignored because some clients doesn't allow enter it.
This is a separate method of authentication that can be enabled per-mount:
In icecast.xml:
<mount>
<mount-name>dj-mount</mount-name>
<authentication type="radio">
<option name="filename" value="/etc/dj.acl"/>
</authentication>
<!-- other settings -->
</mount>
ACL file consists of lines that contain fields separated by TAB character (ASCII code 9) in
following order:
password - md5 hash (unsalted, will be fixed later)
unique user identifier - it will be shown on mount, we prefer to use JIDs here
banned-till - UNIX timestamp before which user with this password can't login
nickname - user nickname that will be shown on mount
skype - skype that will be shown on mount
Any line starting with '#' considered a comment.
Example file:
#md5 uid banned-till nick skype
21232f297a57a5a743894a0e4a801fc3 root@localhost 0 King the Allmighty echo123
5f4dcc3b5aa765d61d8327deb882cf99 nobody@localhost 1356984000 banned-till 2013-01-01 GMT+4 echo123
Note that any fields (including user identifier) can contain spaces, but not tabs. Fields must be separated
exactly by one tab.