LinHES Forums
http://forums.linhes.org/

IMDB lookup broken again - FIXED
http://forums.linhes.org/viewtopic.php?f=17&t=14279
Page 1 of 2

Author:  Russ [ Mon Feb 19, 2007 12:13 pm ]
Post subject:  IMDB lookup broken again - FIXED

The latest IMDB site redesign seems to have partially broken Mythvideo's metadata lookup. Picture, title, year and user ratings are okay, but now director, plot, rating & runtime are no longer being populated.

Anyone else having this problem?

Author:  koecks [ Mon Feb 19, 2007 2:31 pm ]
Post subject: 

yup... unfortunately... this is true :-( I am also having the same problems

Author:  Russ [ Tue Feb 20, 2007 9:16 am ]
Post subject: 

Which version are you running? I'm at R5C7.

Author:  koecks [ Tue Feb 20, 2007 9:50 am ]
Post subject: 

I'm on R5E50

Author:  slowtolearn [ Tue Feb 20, 2007 8:51 pm ]
Post subject: 

I'm running R5D1 + 0.20 and have noticed the same problem. I took a shot at changing the imdb.pl script and have most of the information showing up, but I am by no means a Perl programmer so the following may cause permanent damage to your database! Use at your own risk, and be sure to backup the original script. My updated version of imdb.pl can be found here www.tbf-investments.com/imdb.pl (on my R5D1 systems it is found in /usr/share/mythtv/mythvideo/scripts) and my changes follow lines that start with "#+#"

I know of 1 issue with this script - It does not reliably get the Runtime value. If anyone here knows Perl and can parse the following, that would certainly be helpful (this is only one example, IMDB may be providing varying output):
Quote:
<div class="info">
<h5>Runtime:</h5>
Canada:82 min (Ontario) / USA:85 min / Argentina:85 min
</div>

Author:  willem [ Wed Feb 21, 2007 2:42 am ]
Post subject: 

The IMDB site is redesigned which causes these lookups to break. I read here:

http://www.gossamer-threads.com/lists/mythtv/dev/254076

that they're working on it. Alternatives are presented here as well. The one that seemed safest to me is to edit the imdb.pl script and change www.imdb.com references to former.imdb.com. This will only work temporarily, but there might be a imdb.pl update before the former.imdb.com site is gone.

Author:  Russ [ Wed Feb 21, 2007 9:56 am ]
Post subject:  imdb fixes available

Here are fixes:

This fixes the imdb redesign breakage:
http://cvs.mythtv.org/trac/browser/trun ... format=raw

This is a patch I came up with to fix the runtime grab problem noted above, you may use it to patch the above script:
http://cvs.mythtv.org/trac/attachment/t ... format=raw

Author:  slowtolearn [ Wed Feb 21, 2007 4:38 pm ]
Post subject:  Re: imdb fixes available

Russ wrote:
Here are fixes:
Thanks for the links Russ, much appreciated!

Author:  miker [ Thu Feb 22, 2007 8:19 am ]
Post subject: 

How do you install and run patches?

miker
________
Medical Marijuana States

Author:  donjski [ Thu Feb 22, 2007 4:42 pm ]
Post subject: 

Great to know that there is a fix. I downloaded the imdb.pl file. But what do I do with it now? lol

It doesn't come with any instructions, and I don't want to bork anything up.

thanks in advance.

Author:  jbman [ Thu Feb 22, 2007 6:26 pm ]
Post subject: 

just replace your imdb.pl file and make sure you run chmod +x imdb.pl so it can run

Author:  donjski [ Thu Feb 22, 2007 8:31 pm ]
Post subject: 

Thats kinda what I figured, but where in the heck is it located?

Author:  quaffapint [ Fri Feb 23, 2007 1:38 pm ]
Post subject: 

donjski wrote:
Thats kinda what I figured, but where in the heck is it located?
You can do a locate imdb.pl to find it. Mine was in /usr/share/mythtv/mythvideo/scripts on R5C1.

Author:  donjski [ Fri Feb 23, 2007 4:38 pm ]
Post subject: 

Thank you very much, that did the trick.

Author:  sp [ Sun Feb 25, 2007 2:21 am ]
Post subject: 

Thanks!

Here the script didn't need to be patched, or patch was already applied.

Page 1 of 2 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/