Author Topic: [SOLVED] Import from IMDB Not Working  (Read 129074 times)

0 Members and 4 Guests are viewing this topic.

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Import from IMDB Not Working
« Reply #60 on: September 22, 2010, 11:53:40 pm »
I think you should add the CountDown BBC mod and use that to tell us exactly when a fix will be ready. 8) ;D

I'll think about it ;)

By the way: It is ready. All bugs I could reproduce should be fixed now. Now I will look into the IMDB people plugin...
Gentlemen, you can’t fight in here! This is the War Room!

mgpw4me@yahoo.com

  • Guest
Re: Import from IMDB Not Working
« Reply #61 on: September 23, 2010, 12:59:56 am »
I think you should add the CountDown BBC mod and use that to tell us exactly when a fix will be ready. 8) ;D

Don't do much programming, huh?  I typically take the time I think it "should" take and multiple by 3.  Timelines work much better for new features than fixing problems (the "target" has a tendency to "move").

Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: Import from IMDB Not Working
« Reply #62 on: September 23, 2010, 01:31:16 am »
Quote
Don't do much programming, huh?

None at all. My job is to harass programmers until they produce results. This seems like a perfect weapon for my arsenal. Best of all, it's self-administered. Besides, nostra can predict the future—he should have no difficulty setting the timer. ;)

Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: Import from IMDB Not Working
« Reply #63 on: September 23, 2010, 01:38:21 am »
All bugs I could reproduce should be fixed now.

Thanks! I'm wondering what we might expect as the IMDb redesign rolls out. Does your fix involve parsing the new main page, or finding the old one? And will further changes be required as they convert other pages?

mgpw4me@yahoo.com

  • Guest
Re: [SOLVED] Import from IMDB Not Working
« Reply #64 on: September 23, 2010, 02:13:21 am »
Quote
None at all. My job is to harass programmers until they produce results. This seems like a perfect weapon for my arsenal. Best of all, it's self-administered. Besides, nostra can predict the future—he should have no difficulty setting the timer.

Silly me.  Ohla salama Nostra (bowing with humility).

BTW, global tv here in Canada indicates netflix.ca is going online with a free 1 month trial....
« Last Edit: September 23, 2010, 03:16:41 am by mgpw4me@yahoo.com »

mgpw4me@yahoo.com

  • Guest
Re: [SOLVED] Import from IMDB Not Working
« Reply #65 on: September 23, 2010, 02:37:45 am »
The new IMDB movie plug-in isn't importing the entire cast list.

Example:

La Pulqueria
http://www.imdb.com/title/tt0258058/

The plug-in may be using Nostra's unusual (hey, I don't have 'em) powers to remove people who don't matter.   ;D
« Last Edit: September 23, 2010, 02:42:50 am by mgpw4me@yahoo.com »

Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: [SOLVED] Import from IMDB Not Working
« Reply #66 on: September 23, 2010, 03:27:08 am »
Don't make me take away his Troubleshooter Award! ::)

I get the full cast list for that movie. Furthermore, all the actors are on the main page, so the "from main page only" option makes no difference. Are you getting a different page? That must be it...I see the redesigned main page is showing only the first 15. Are you getting only 15 actors even though that option isn't set?

mgpw4me@yahoo.com

  • Guest
Re: [SOLVED?] Import from IMDB Not Working
« Reply #67 on: September 23, 2010, 03:32:29 am »
I get 2 cast members.

Delaying an award is not the same as taking away.  Who was the Canadian boarder that had the gold medal taken away...Scott R....something...bet he feels like S**t.

When I check the movie link, I get the movie page with the 15 members in the cast list (new format)...and PAGE.HTML is not being created.

[attachment deleted by admin]
« Last Edit: September 23, 2010, 03:56:04 am by mgpw4me@yahoo.com »

Offline Hyomil

  • User
  • ***
  • Posts: 96
    • View Profile
Re: [SOLVED] Import from IMDB Not Working
« Reply #68 on: September 23, 2010, 04:04:03 am »
I also get only 2 cast members imported into PVD for that movie with the new version.  For this one

Godfathers of Hong Kong
http://www.imdb.com/title/tt0103085

I get 11 out of 16.

And for this one, PVD freezes (maxes out a CPU core) and I have to force close it when it gets to the cast list:

Xam'd Lost Memories
http://www.imdb.com/title/tt1300170/

Code: [Select]
(9/22/2010 7:03:45 PM) Logging in...
(9/22/2010 7:03:45 PM) POST: http://www.imdb.com//register/login
(9/22/2010 7:03:46 PM) Searching movie information for: Xam'd Lost Memories
(9/22/2010 7:03:46 PM) GET: http://imdb.com/find?s=tt&q=Xam'd+Lost+Memories
(9/22/2010 7:03:47 PM) Redirected to: http://www.imdb.com/rg/parked-domains/imdb.com/find?s=tt&q=Xam'd+Lost+Memories
(9/22/2010 7:03:47 PM) Redirected to: http://www.imdb.com/find?s=tt&q=Xam'd+Lost+Memories
(9/22/2010 7:03:48 PM) Redirected to: http://www.imdb.com/title/tt1300170/
(9/22/2010 7:03:49 PM) GET: http://www.imdb.com/title/tt1300170/fullcredits#cast

mgpw4me@yahoo.com

  • Guest
Re: [SOLVED?] Import from IMDB Not Working
« Reply #69 on: September 23, 2010, 05:43:35 am »
Quote
Calm down guys, I am almost ready with making the plugin support the new design.
Just wait for it a little bit longer. (1 day maybe)

 :D



[attachment deleted by admin]

Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: [UNSOLVED?] Import from IMDB Not Working
« Reply #70 on: September 23, 2010, 06:15:41 am »
Delaying an award is not the same as taking away.

I already gave it him—for solving Actors' roles aren't being imported. I suppose we shouldn't penalize him for claiming he solved this one too. (I sound like my hero, Dick Pound, explaining "Well, he wasn't doping for that race.")

I'm not getting the same results as you guys, however. A few times, after repeated trials, including restarting, I got the URL-only thing. But when it works, I'm getting the full cast. I see no evidence it's being sent to the redesigned main pages, so that may be the difference.


Offline Hyomil

  • User
  • ***
  • Posts: 96
    • View Profile
Re: [UNSOLVED?] Import from IMDB Not Working
« Reply #71 on: September 23, 2010, 07:10:13 am »
Do you have "Download full credits" checked in the plugin's options?  (and 'from main page only' unchecked)  I found the missing-credits problem occurs when its checked and doesn't when its unchecked.

Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: Import from IMDB Not Working
« Reply #72 on: September 23, 2010, 08:36:44 am »
Quote
Do you have "Download full credits" checked in the plugin's options?

I test it with the option set and not set and compare the results of both to the main and details page to verify I'm getting what I'm supposed to get. What are you doing? ;)

I don't remember now, but when I was checking my own results, I wondered if you were getting the main page credits from the redesigned site.

Offline Hyomil

  • User
  • ***
  • Posts: 96
    • View Profile
Re: Import from IMDB Not Working
« Reply #73 on: September 23, 2010, 09:24:09 am »
I don't remember now, but when I was checking my own results, I wondered if you were getting the main page credits from the redesigned site.

I set my IMDb preferences on the site to show the redesigned pages, but the same number of credits are displayed on the main page there as on the main page of the old design for http://www.imdb.com/title/tt0103085.  There was a difference for http://www.imdb.com/title/tt0258058--15 on the main page with the new design and a larger number on the old design's page--so the new design cuts the main page's list shorter than the old design.  But since PVD only imports 2 (not 15) cast members for that movie, it doesn't seem like PVD is importing credits from the new design's main page, unless its parsing it incorrectly.  But the fact that unchecking "Download full credits" causes the full credit list to be imported indicates that PVD is parsing the page correctly.

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Import from IMDB Not Working
« Reply #74 on: September 23, 2010, 05:37:14 pm »
The plugin tries to detect which design is used and applies the right parser. I can imagine that there still could be some problems as I have tested the plugin on a limited set of movies and it can be that not all possible situations are handled correctly. Movies you have problems with seem to be pretty rare and lack some information which could cause in different HTML code.

I will most certainly be able to provide a fix very soon.
Gentlemen, you can’t fight in here! This is the War Room!

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Import from IMDB Not Working
« Reply #75 on: September 23, 2010, 11:56:08 pm »
I have uploaded a fixed version of the plugin. Hope everything will be ok with this one.
Gentlemen, you can’t fight in here! This is the War Room!

Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: Import from IMDB Not Working
« Reply #76 on: September 24, 2010, 01:08:43 am »
Quote
I have uploaded a fixed version of the plugin. Hope everything will be ok with this one.

It seems to work for "full credits," but with the "main page only" option, I only get one actor. :'(

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Import from IMDB Not Working
« Reply #77 on: September 24, 2010, 01:37:33 am »
For which movie?
Gentlemen, you can’t fight in here! This is the War Room!

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Import from IMDB Not Working
« Reply #78 on: September 24, 2010, 01:46:05 am »
OK, found it. It was wrong for the old design. Get the plugin again.
Gentlemen, you can’t fight in here! This is the War Room!

Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: Import from IMDB Not Working
« Reply #79 on: September 24, 2010, 02:02:54 am »
That's better. Thanks!

Did I ever mention how handy that automatic update feature is?  ;)

 

anything