Resolves #140 issue with updating metadata on Icecast 2 servers where mountpoint was not URL encoded.

This commit is contained in:
Denny
2017-01-28 11:15:27 -05:00
parent 8ffe91911b
commit eba9367674

View File

@@ -235,7 +235,7 @@ public class IcecastBroadcastMetadataUpdater implements IBroadcastMetadataUpdate
{
StringBuilder sb = new StringBuilder();
sb.append("mode=updinfo");
sb.append("&mount=").append(mIcecastConfiguration.getMountPoint());
sb.append("&mount=").append(URLEncoder.encode(mIcecastConfiguration.getMountPoint(), UTF8));
sb.append("&charset=UTF%2d8");
sb.append("&song=").append(URLEncoder.encode(song, UTF8));