<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 3 July 2014 16:24, John Pilkington <span dir="ltr">&lt;<a href="mailto:J.Pilk@tesco.net" target="_blank">J.Pilk@tesco.net</a>&gt;</span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

Patches to upnpcdstv.cpp, upnpcdsmusic.cpp and upnpcdsvideo.cpp were included in JYA&#39;s big commit here:<br>
<br>
<a href="http://www.gossamer-threads.com/lists/mythtv/commits/571513#571513" target="_blank">http://www.gossamer-threads.<u></u>com/lists/mythtv/commits/<u></u>571513#571513</a><br>
<br>
I think I saw them described as IP4/IP6 fixes.  I&#39;ll see if I can make sense of them but someone who knows their way around could likely do it faster :-)<div class=""><div class="h5"><br></div></div></blockquote><div>
<br></div><div>Hi John,</div><div><br></div><div>It seems the problem is that instead of correct port (which is 6544) there is unicode character U+0090 in the soap response for UPnP. For example :  <a href="http://10.0.0.12">http://10.0.0.12</a>:&lt;U+0090&gt;/Content/GetRecording?ChanId=1001&amp;amp;StartTime=2014-07-03T21:20:00Z</div>
<div><br></div><div>So, it is possible to hotfix that by returning just few changes to upnpcdstv.cpp and upnpcdsvideo.cpp. (only these changes that deal with getting the port number). I have tested that, it works ok and it seems to be fixed without breaking anything else :</div>
<div><br></div><div><div>upnpcdstv.cpp </div><div>313c313</div><div>&lt;         m_mapBackendPort[ sHostName ] = gCoreContext-&gt;GetBackendStatusPort(sHostName);</div><div>---</div><div>&gt;         m_mapBackendPort[ sHostName ] = gCoreContext-&gt;GetSettingOnHost(&quot;BackendStatusPort&quot;, sHostName);</div>
<div><br></div><div>upnpcdsvideo.cpp</div><div>286c286</div><div>&lt;                 gCoreContext-&gt;GetBackendStatusPort();</div><div>---</div><div>&gt;                 gCoreContext-&gt;GetSetting( &quot;BackendStatusPort&quot; );</div>
<div>291c291</div><div>&lt;                 gCoreContext-&gt;GetBackendStatusPort(sHostName);</div><div>---</div><div>&gt;                 gCoreContext-&gt;GetSettingOnHost(&quot;BackendStatusPort&quot;, sHostName);</div>
</div><div><br></div><div>(i do not have any music in upnp to test this, but I suppose similar change needs to be done in upnpcdsmusic.cpp too)</div><div> </div><div>Ludvik</div></div></div></div>