So I finally got MythTV running on my QNAP and tried to connect to the Upnp MythTV service but this just kept failing. Turns out Samsung TV’s send an extra ‘/’ in the POST request – DOH!!
So the hack for mythtv to handle this is here
So I edited my libs/libmythupnp/httprequest.cpp in the mythtv-0.26.0 source on my QNAP. Not wanting to recompile the entire application, I just did:
The restarted MythTV, and voila! Upnp is now working on the samsung TV’s!