[mythtv-commits] Ticket #10696: UPnP does not work with 2012 Samsung Smart PVRs

MythTV noreply at mythtv.org
Sun May 6 13:49:21 UTC 2012


#10696: UPnP does not work with 2012 Samsung Smart PVRs
--------------------------------------+--------------------------
     Reporter:  c@…                   |      Owner:  dblain
         Type:  Bug Report - General  |     Status:  new
     Priority:  minor                 |  Milestone:  unknown
    Component:  MythTV - UPnP         |    Version:  0.25
     Severity:  low                   |   Keywords:  Samsung UPnP
Ticket locked:  0                     |
--------------------------------------+--------------------------
 I recently bought a Samsung BD-E8500, and it does not work with the MythTV
 UPnP server.  It returns an error, and it is not possible to browse.  I am
 running MythTV 0.25.

 I ran Wireshark to listen to the packets being sent by the Samsung PVR,
 and it looks like that it is adding an extra / to the beginning of the
 requests.  e.g. :

 {{{
 POST //CDS_Control HTTP/1.1
 }}}

 MythTV returns a 404 Not Found to this request, which causes the PVR to
 give up.

 I don't know if this is the correct fix, but I added some code to method
 {{{
 HTTPRequest::ProcessRequestLine( const QString &sLine )
 }}}
  at line 1124 (just after m_sBaseUrl is assigned and before line
 'm_sResourceUrl = m_sBaseUrl;') :

 {{{
     // Samsung Smart PVR puts 2 / at the start of the request
     if(m_sBaseUrl.startsWith(QString("//"))) {
         m_sBaseUrl.remove(0,1);
     }
 }}}

 This seemed to work and I am now able to use my Samsung PVR with MythTV
 UPnP.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10696>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list