feat: set icecast mount default charset to UTF-8
On first install, configure icecast to use utf-8 as default charset for it's mounts. Fixes #2501
This commit is contained in:
parent
31e69a60f7
commit
755848482d
4 changed files with 40 additions and 4 deletions
|
@ -28,10 +28,18 @@ When sending metadata about your stream to an Icecast server in non-Latin alphab
|
|||
The solution is to specify that the metadata for the MP3 mount point you are using should be interpreted using UTF-8 encoding. You can do this by adding the following stanza to the `/etc/icecast2/icecast.xml` file, where `libretime.mp3` is the name of your mount point:
|
||||
|
||||
```xml
|
||||
<mount>
|
||||
<mount-name>/libretime.mp3</mount-name>
|
||||
<charset>UTF-8</charset>
|
||||
</mount>
|
||||
<mount type="normal">
|
||||
<mount-name>/libretime.mp3</mount-name>
|
||||
<charset>UTF-8</charset>
|
||||
</mount>
|
||||
```
|
||||
|
||||
Or if you want to default to UTF-8 for all the mount points:
|
||||
|
||||
```xml
|
||||
<mount type="default">
|
||||
<charset>UTF-8</charset>
|
||||
</mount>
|
||||
```
|
||||
|
||||
After saving the `/etc/icecast2/icecast.xml` file, restart the Icecast server with `sudo systemctl restart icecast2`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue