Commit b807c1e2 authored by Philipp Schafft's avatar Philipp Schafft 🦁
Browse files

Fix: Do the ICY port increment only when using the ICY implementation

This makes metadata work again on ICY servers.

Fixes: #2310
parent 0ac7ed9e
......@@ -567,7 +567,7 @@ int shout_connection_connect(shout_connection_t *con, shout_t *s
shout_connection_set_nonblocking(con, shout_get_nonblocking(shout));
port = shout->port;
if (shout_get_protocol(shout) == SHOUT_PROTOCOL_ICY)
if (con->impl == shout_icy_impl)
if (con->nonblocking == SHOUT_BLOCKING_NONE) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment