Ticket #10696: SamsungTV.patch

File SamsungTV.patch, 747 bytes (added by kamikaze@…, 10 years ago)

Patch for MythTV uPnP to support Samsung SmartTV E series

  • mythtv/libs/libmythupnp/httprequest.cpp

    Add upnp support for Samsung Smart TV E series
    
    old new void HTTPRequest::ProcessRequestLine( co 
    11251125
    11261126            m_sResourceUrl = m_sBaseUrl; // Save complete url without parameters
    11271127
     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           
    11281133            // Process any Query String Parameters
    11291134            QString sQueryStr = (QUrl::fromPercentEncoding(tokens[1].toUtf8()))
    11301135                                     .section( '?', 1, 1 );