Switch to side-by-side view

--- a/src/ohcredentials.cxx
+++ b/src/ohcredentials.cxx
@@ -67,15 +67,16 @@
 // like qobuz:// tidal:// and expect the renderer to know what to do
 // with them. We transform them so that they point to our media server
 // gateway (which should be running of course for this to work).
-bool OHCredsMaybeMorphSpecialUri(string& uri)
-{
+bool OHCredsMaybeMorphSpecialUri(string& uri, bool& isStreaming)
+{
+    isStreaming = false;
     if (uri.find("http://") == 0 || uri.find("https://") == 0) {
         return true;
     }
 
+    // Possibly retrieve the IP port used by our proxy server
     static string sport;
     if (sport.empty()) {
-        std::unique_lock<std::mutex>(g_configlock);
         int port = CDPluginServices::default_microhttpport();
         if (!g_config->get("plgmicrohttpport", sport)) {
             sport = SoapHelp::i2s(port);
@@ -101,6 +102,7 @@
         string path = path_cat(pathprefix,
                                "track?version=1&trackId=" + mr[3].str());
         uri = string("http://") + upnphost + ":" + sport + path;
+        isStreaming = true;
     }
     return found;
 }