output/shout: declare metadata as UTF-8
Apparently, Icecast defaults to ISO-8859-1 for MP3: http://icecast.org/docs/icecast-2.4.0/config-file.html#mountsettings This change forces Icecast to UTF-8 without having to configure it in Icecast's configuration file.
This commit is contained in:
parent
d659c7df19
commit
13ce07d181
1
NEWS
1
NEWS
|
@ -1,6 +1,7 @@
|
|||
ver 0.21.17 (not yet released)
|
||||
* outputs
|
||||
- jack: mark ports as terminal
|
||||
- shout: declare metadata as UTF-8
|
||||
* fix build failure with -Ddatabase=false
|
||||
|
||||
ver 0.21.16 (2019/10/16)
|
||||
|
|
|
@ -383,6 +383,7 @@ ShoutOutput::SendTag(const Tag &tag)
|
|||
shout_tag_to_metadata(tag, song, sizeof(song));
|
||||
|
||||
shout_metadata_add(meta, "song", song);
|
||||
shout_metadata_add(meta, "charset", "UTF-8");
|
||||
if (SHOUTERR_SUCCESS != shout_set_metadata(shout_conn, meta)) {
|
||||
LogWarning(shout_output_domain,
|
||||
"error setting shout metadata");
|
||||
|
|
Loading…
Reference in New Issue