Ticket #10696: SamsungTV.patch
File SamsungTV.patch, 747 bytes (added by , 12 years ago) |
---|
-
mythtv/libs/libmythupnp/httprequest.cpp
Add upnp support for Samsung Smart TV E series
old new void HTTPRequest::ProcessRequestLine( co 1125 1125 1126 1126 m_sResourceUrl = m_sBaseUrl; // Save complete url without parameters 1127 1127 1128 // Samsung Smart PVR puts 2 / at the start of the request 1129 if(m_sBaseUrl.startsWith(QString("//"))) { 1130 m_sBaseUrl.remove(0,1); 1131 } 1132 1128 1133 // Process any Query String Parameters 1129 1134 QString sQueryStr = (QUrl::fromPercentEncoding(tokens[1].toUtf8())) 1130 1135 .section( '?', 1, 1 );