[mythtv-commits] Ticket #4920: UPNP with DirecTV HR-21 Broken

MythTV mythtv at cvs.mythtv.org
Sat Jun 7 23:40:53 UTC 2008


#4920: UPNP with DirecTV HR-21 Broken
-----------------------------------+----------------------------------------
 Reporter:  jeff at the-seiferts.com  |        Owner:  dblain    
     Type:  defect                 |       Status:  new       
 Priority:  minor                  |    Milestone:  unknown   
Component:  upnp                   |      Version:  0.21-fixes
 Severity:  medium                 |   Resolution:            
  Mlocked:  0                      |  
-----------------------------------+----------------------------------------

Comment(by jeff at the-seiferts.com):

 I added a patch to fix an issue I found in regards to this problem.  I was
 seeing this quite often in the debugging output from Mythbackend:

 2008-06-07 14:35:48.531 HTTPRequest::Encode Input :
 RecTv/0/item?ChanId=1249&StartTime=2008-04-23T22:00:00
 2008-06-07 14:35:48.536 HTTPRequest::Encode Output :
 RecTv/0/item?ChanId=1249&StartTime=2008-04-23T22:00:00
 2008-06-07 14:35:48.622 HTTPRequest::Encode Input : RecTv/1/key=South
 Park/item?ChanId=1249&StartTime=2008-04-16T22:00:00
 2008-06-07 14:35:48.626 HTTPRequest::Encode Output : RecTv/1/key=South
 Park/item?ChanId=1249&StartTime=2008-04-16T22:00:00
 2008-06-07 14:35:48.650 HTTPRequest::Encode Input :
 RecTv/0/item?ChanId=1249&StartTime=2008-04-16T22:00:00
 2008-06-07 14:35:48.654 HTTPRequest::Encode Output :
 RecTv/0/item?ChanId=1249&StartTime=2008-04-16T22:00:00

 It seems like the HTTPRequest::Encode routing is getting called multiple
 times for the same string, and because of this, the ampersand in the
 escaped output was getting re-escaped.

 This did not entirely fix the DirecTV HR20/21 issue, but at least the
 receiver is trying to make a connection back to MythTV.  It seems to me
 that problems regarding the DirecTV receiver are due to the fact the the
 DirecTV HR20/21 will not pass back the HTTP GET variables when it makes
 the query back to MythTV. With that in mind, it  sounds like that is a
 DirecTV problem.

 This patch was made against MythTV 0.21p17416.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4920#comment:1>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list