[mythtv-commits] Ticket #5936: IMDB poster download not working

MythTV mythtv at cvs.mythtv.org
Tue Nov 25 08:52:45 UTC 2008

#5936: IMDB poster download not working
 Reporter:  natron     |        Owner:  awithers
     Type:  patch      |       Status:  new     
 Priority:  minor      |    Milestone:  unknown 
Component:  mythvideo  |      Version:  unknown 
 Severity:  medium     |   Resolution:          
  Mlocked:  0          |  

Comment(by natron):

 Replying to [comment:1 mrandtx at yahoo.com]:
 > Wouldn't it be better to patch this where $host is defined, rather than
 where it is used?

 This won't work. IMDB is still referring to the old URL in its HTML code.
 The old URL gets then redirected to the new one. We therefore need the old
 one to parse the HTML code and the new for the actual link.
 I think the cleaner solution would be to follow the redirection but this
 woud need an additional request.

Ticket URL: <http://svn.mythtv.org/trac/ticket/5936#comment:2>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list