View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 30 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Feb 19, 2007 12:13 pm 
Offline
Joined: Fri Jan 21, 2005 9:14 am
Posts: 124
Location: New York
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?


Last edited by Russ on Wed Feb 21, 2007 10:04 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 19, 2007 2:31 pm 
Offline
Joined: Thu Jan 11, 2007 1:38 am
Posts: 52
Location: Denmark
yup... unfortunately... this is true :-( I am also having the same problems

_________________
Server: P4/3G ,2G RAM,2T HD, Hauppauge DVB/T stick, 2* Budget DVB/S, Nova DVB/T, Pinnacle PCTV,R6.03.
2*Frontends: SlimCarPC / black silent 1.5G P4,256RAM, R6.03, FireFly Remote
2*Frontends: IBM R50 ThinkPad, HP Pavillion Laptop, R6.03


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 20, 2007 9:16 am 
Offline
Joined: Fri Jan 21, 2005 9:14 am
Posts: 124
Location: New York
Which version are you running? I'm at R5C7.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 20, 2007 9:50 am 
Offline
Joined: Thu Jan 11, 2007 1:38 am
Posts: 52
Location: Denmark
I'm on R5E50

_________________
Server: P4/3G ,2G RAM,2T HD, Hauppauge DVB/T stick, 2* Budget DVB/S, Nova DVB/T, Pinnacle PCTV,R6.03.
2*Frontends: SlimCarPC / black silent 1.5G P4,256RAM, R6.03, FireFly Remote
2*Frontends: IBM R50 ThinkPad, HP Pavillion Laptop, R6.03


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 20, 2007 8:51 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
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>


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 21, 2007 2:42 am 
Offline
Joined: Tue Feb 03, 2004 3:23 am
Posts: 159
Location: Friesland, The Netherlands
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.


Top
 Profile  
 
 Post subject: imdb fixes available
PostPosted: Wed Feb 21, 2007 9:56 am 
Offline
Joined: Fri Jan 21, 2005 9:14 am
Posts: 124
Location: New York
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


Top
 Profile  
 
 Post subject: Re: imdb fixes available
PostPosted: Wed Feb 21, 2007 4:38 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
Russ wrote:
Here are fixes:
Thanks for the links Russ, much appreciated!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 22, 2007 8:19 am 
Offline
Joined: Thu Aug 18, 2005 5:13 am
Posts: 111
How do you install and run patches?

miker
________
Medical Marijuana States


Last edited by miker on Tue Feb 22, 2011 9:25 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 22, 2007 4:42 pm 
Offline
Joined: Sat Sep 16, 2006 8:08 am
Posts: 71
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.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 22, 2007 6:26 pm 
just replace your imdb.pl file and make sure you run chmod +x imdb.pl so it can run


Top
  
 
 Post subject:
PostPosted: Thu Feb 22, 2007 8:31 pm 
Offline
Joined: Sat Sep 16, 2006 8:08 am
Posts: 71
Thats kinda what I figured, but where in the heck is it located?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 23, 2007 1:38 pm 
Offline
Joined: Thu Jul 06, 2006 1:10 pm
Posts: 40
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.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 23, 2007 4:38 pm 
Offline
Joined: Sat Sep 16, 2006 8:08 am
Posts: 71
Thank you very much, that did the trick.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 25, 2007 2:21 am 
Offline
Joined: Mon Feb 13, 2006 7:22 pm
Posts: 1
Thanks!

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


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 30 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu