From e2c0fae826781946f88e74ffc8879ce7c4ad229d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=BCrmann?= Date: Thu, 14 Mar 2019 07:35:14 +0100 Subject: [PATCH] Disable TLS, fixes lp:1817395 --- src/engine/sidechain/shoutconnection.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/engine/sidechain/shoutconnection.cpp b/src/engine/sidechain/shoutconnection.cpp index dd2ab9ca2b0..0267fafbad3 100644 --- a/src/engine/sidechain/shoutconnection.cpp +++ b/src/engine/sidechain/shoutconnection.cpp @@ -89,6 +89,16 @@ ShoutConnection::ShoutConnection(BroadcastProfilePtr profile, errorDialog(tr("Error setting non-blocking mode:"), shout_get_error(m_pShout)); } + +#ifdef SHOUT_TLS + // Libshout defaults to SHOUT_TLS_AUTO if build with SHOUT_TLS + // Sometimes autodetection fails, resulting into no metadata send + // https://bugs.launchpad.net/mixxx/+bug/1817395 + if (shout_set_tls(m_pShout, SHOUT_TLS_DISABLED) != SHOUTERR_SUCCESS) { + errorDialog(tr("Error setting tls mode:"), + shout_get_error(m_pShout)); + } +#endif } ShoutConnection::~ShoutConnection() {