<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 3 July 2014 16:24, John Pilkington <span dir="ltr"><<a href="mailto:J.Pilk@tesco.net" target="_blank">J.Pilk@tesco.net</a>></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'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'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>:<U+0090>/Content/GetRecording?ChanId=1001&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>< m_mapBackendPort[ sHostName ] = gCoreContext->GetBackendStatusPort(sHostName);</div><div>---</div><div>> m_mapBackendPort[ sHostName ] = gCoreContext->GetSettingOnHost("BackendStatusPort", sHostName);</div>
<div><br></div><div>upnpcdsvideo.cpp</div><div>286c286</div><div>< gCoreContext->GetBackendStatusPort();</div><div>---</div><div>> gCoreContext->GetSetting( "BackendStatusPort" );</div>
<div>291c291</div><div>< gCoreContext->GetBackendStatusPort(sHostName);</div><div>---</div><div>> gCoreContext->GetSettingOnHost("BackendStatusPort", 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>