Personal Video Database

English => Support => Topic started by: TeePeeB on September 16, 2008, 12:53:35 pm

Title: IMDB Rating not filling-In automatically
Post by: TeePeeB on September 16, 2008, 12:53:35 pm
The last couple of days the "IMDB Rating" has not been filling in automatically. I've been having to check the Rating and fill it in manually. Any explantion would be greatly appreciated. I am using version 0.9.8.20

Once again this is a wonderful program. Thank you very much. - Tom
Title: Re: IMDB Rating not filling-In automatically
Post by: Darwinek on September 16, 2008, 01:42:10 pm
I have the same problem. Yesterday it worked just fine.
Title: Re: IMDB Rating not filling-In automatically
Post by: rick.ca on September 16, 2008, 08:18:03 pm
IMDb has changed the format of the Title page. The plugin will have to be revised.

Among other changes, clicking on the User Rating graphic records a vote, and displays Your Rating underneath. The javascript that does this appears to consistently include the rating, so I imagine the fix will be easy.

When a fix is available, you will be able to search for IMDb Rating = 0, and then run the plugin with those movies selected to update the ratings.

Title: Re: IMDB Rating not filling-In automatically
Post by: nostra on September 18, 2008, 01:05:30 am
Fixed: http://www.videodb.info/bin/plugins/imdb.zip
Title: Re: IMDB Rating not filling-In automatically
Post by: rick.ca on September 18, 2008, 01:37:58 am
Thanks for your usual speedy fix.  :)
Title: Re: IMDB Movies Fails to Connect to Server
Post by: HeadHancho on September 19, 2008, 09:46:06 pm
I am a newbie... the program was working fine.   I upgraded to 9.8.2and trouble began with the IMBD importer.  First the movie date would not import. I updated the plugin but then it seemed the ratings would not come in.  The last two days. the plugin fails altogether.  I get a message sayiong' " the IOHandler value is nopt correct.  Allmovies and all other plugins are working fine. Today, I see the "latest version for download is 9.8.19" $$$  I downloaded this and installed it over 9.8.2.  The result is the same.  No connection with IMBD movies but the people IMBD works.  Go figure!  Any ideas would be helpful.  Thanks.  I am on a Vista Ultimate OS.
Title: Re: IMDB Rating not filling-In automatically
Post by: nostra on September 19, 2008, 10:49:23 pm
Remove username and pasword from plugin configuration and the plugin will work again except downloading episodes.

I'll fix the issues with login and episodes during week end.
Title: Re: IMDB Rating not filling-In automatically
Post by: nostra on September 22, 2008, 11:10:40 pm
Fixed: http://www.videodb.info/bin/plugins/imdb.zip
Title: Re: IMDB Rating not filling-In automatically
Post by: jolly_bravo on October 15, 2008, 04:57:11 pm
i still getting the error IOhandler, but when i tried to update the movie
s.shot:
(http://pce.hostili.com/images/iohandler7if1_thumb.jpg) (http://pce.hostili.com/viewer.php?file=iohandler7if1.jpg)
updating the plugin didn't help :(
Title: Re: IMDB Rating not filling-In automatically
Post by: nostra on October 15, 2008, 05:13:14 pm
seems to be smth wrong with login procedure. just remove username and password from plugin configuration util I fix this.
Title: Re: IMDB Rating not filling-In automatically
Post by: jolly_bravo on October 15, 2008, 08:32:50 pm
seems to be smth wrong with login procedure. just remove username and password from plugin configuration util I fix this.
if i paid more atention, i would have seen that the answer was few posts above.
thank u very much.
 :)
Title: Re: IMDB Rating not filling-In automatically
Post by: brothel on December 27, 2009, 02:29:17 pm
i still have same problem and the new plugin update doesnt fix it.
Title: Re: IMDB Rating not filling-In automatically
Post by: nostra on December 27, 2009, 02:48:41 pm
i still have same problem and the new plugin update doesnt fix it.

Could you be more specific?
Title: Re: IMDB Rating not filling-In automatically
Post by: senve on January 03, 2010, 04:05:22 pm
I just installed this program (0.9.9.14) and the IMDB rating doesn't fill in for any movie. Also top250, votes and release date fields are not being fetched.
Ive tried editing the plugin settings but no luck. I haven't downloaded the patch in this thread since it seems to be over a year old... Also there are no problems with manually setting the rating.

Otherwise the program is just awesome for my uses, but IMDB rating is really important for me. Is there anything I can do?


Offtopic: There is also a <div class="info-content"> text in MPAA and tagline fields.
Title: Re: IMDB Rating not filling-In automatically
Post by: nostra on January 03, 2010, 04:14:04 pm
Did you try the latest version of the plugin from the download page?

http://www.videodb.info/bin/plugins/imdb.zip
Title: Re: IMDB Rating not filling-In automatically
Post by: senve on January 03, 2010, 04:20:19 pm
Did you try the latest version of the plugin from the download page?

http://www.videodb.info/bin/plugins/imdb.zip

Fixed. How stupid of me to miss the whole download page :P

Thanks for the fast reply!
Title: Re: IMDB Rating not filling-In automatically
Post by: korbenPL on January 06, 2010, 10:56:20 am
I attempted at retrieving two titles today - no imdb rating [latest plugin installed]
Title: Re: IMDB Rating not filling-In automatically
Post by: deazo on January 06, 2010, 11:39:09 am

 Same for me, no IMDB rating added.
Title: Re: IMDB Rating not filling-In automatically
Post by: Draven on January 06, 2010, 12:02:35 pm
Me too. Latest plugin installed too.  :)
Title: Re: IMDB Rating not filling-In automatically
Post by: iff2 on January 06, 2010, 08:34:24 pm
Same here.
Title: Re: IMDB Rating not filling-In automatically
Post by: nostra on January 06, 2010, 08:55:46 pm
Please stand by. I will prepare a fix asap.
Title: Re: IMDB Rating not filling-In automatically
Post by: korbenPL on January 07, 2010, 09:34:29 am
We know you will that's why we like you ;)

standing by
Title: Re: IMDB Rating not filling-In automatically
Post by: nostra on January 09, 2010, 01:18:25 am
Fixed.
Title: Re: IMDB Rating not filling-In automatically
Post by: Draven on January 09, 2010, 01:47:53 am
Fixed.

thanks!  :)
Title: Re: IMDB Rating not filling-In automatically
Post by: deazo on January 09, 2010, 05:37:30 pm

 Works very nicely, thanks!
Title: Re: IMDB Rating not filling-In automatically
Post by: buah on January 11, 2010, 08:37:25 pm
I tried everything, I think: from assigning every given type of field to it, via naming it even "Please God, Now"(:)), via reading whole forum for a solution and updating every possible plug-in, template and skin, to trying to got it on a several different computers, but I definitely couldn't manage to retrieve data for a Top 250 rank. Oh, yes, and I tried to get it for a movies from Top 250 :) - The Shawshank Redemption, The Godfather, etc

After having a problem with retrieving IMDb rating and finding solution for it in this topic, the only logical next step were to post about my problem just here, in this very topic. That's because "If I did everything properly, than it has to be something with updating IMDb plug-in", I thought. If I misread something, I sincerely apologize, otherwise will deeply appreciate any help.

Cheers
Title: Re: IMDB Rating not filling-In automatically
Post by: rick.ca on January 11, 2010, 11:26:31 pm
I'm surprised the "Please God, Now" didn't work, but it really does seem to be broken. Maybe by the same website change that broke the rating, but wasn't noticed. I wonder if we can devise a test to determine whether the plugin is fully functional at any point in time.
Title: Re: IMDB Rating not filling-In automatically
Post by: buah on January 11, 2010, 11:58:36 pm
Rick,
Quote
I'm surprised the "Please God, Now" didn't work

Actually, the one could say that it worked - telling me it is nothing between Him and me.  :D

Tnx for a fast reply. Meanwhile, I noticed that, for example, I can get proper data and/or it's meant format for "IMDB Tech Specs" only if I assign "Memo" field type to it. If I assign "Long Text" field type to it, I get something like this:
(http://img34.imageshack.us/img34/107/19378259.jpg)

The question is: Is there any suggestion is it better to assign "Number" field type to a custom "IMDb Votes" and "IMDb Top 250 Rank" fields, rather than "Short Text" type, or it is irrelevant at all? What is your experience?

Thank you in advance for any reply.

Cheers
Title: Re: IMDB Rating not filling-In automatically
Post by: rick.ca on January 12, 2010, 01:55:47 am
I think the last update to the plugin broke custom fields. They can no longer be selected in the plugin configuration, and previous settings are lost. Do you see the same thing?

nostra? :'(
Title: Re: IMDB Rating not filling-In automatically
Post by: nostra on January 12, 2010, 02:07:58 am
I think the last update to the plugin broke custom fields. They can no longer be selected in the plugin configuration, and previous settings are lost. Do you see the same thing?

nostra? :'(

Can't confirm that. Could you check at what point exactly does it go wrong on your system?

Quote
Is there any suggestion is it better to assign "Number" field type to a custom "IMDb Votes" and "IMDb Top 250 Rank" fields, rather than "Short Text" type, or it is irrelevant at all? What is your experience?

You should assign a Memo field for Tech Specs to make it display properly. For Votes and Rank the Number type is optimal as you gain a possibility to sort and filter by these fields in a wright way.
Title: Re: IMDB Rating not filling-In automatically
Post by: buah on January 12, 2010, 02:45:28 am
They can no longer be selected in the plugin configuration, and previous settings are lost. Do you see the same thing?

If the question is for me, I'm not sure what "previous settings" are, cause I've tested it only since last two days on a single entry - "Shawshank", trying to retrieve any following data step-by-step, before I hit "Silent-import~5500-movie-entries-imported-from-MS Excel", and until now that was the only issue I couldn't resolve by myself.

Actually, there is another issue I noticed, but I assume it's not a proper topic for it (it's about media type not retrieving info when importing data from a network share, or from a mapped network drive). I'll post it later. It's not of such an importance at the moment, I guess.


Cheers
Title: Re: IMDB Rating not filling-In automatically
Post by: rick.ca on January 12, 2010, 03:57:10 am
Can't confirm that. Could you check at what point exactly does it go wrong on your system?

Sorry. I must have had the wrong plugin selected when I checked the configuration. :-[

But I can confirm what buah has observed. To be a little more specific, the plugin is saving NULL to the selected rank field—any existing value is deleted.
Title: Re: IMDB Rating not filling-In automatically
Post by: buah on January 12, 2010, 08:16:17 am

Quote
You should assign a Memo field for Tech Specs to make it display properly. For Votes and Rank the Number type is optimal as you gain a possibility to sort and filter by these fields in a wright way.

Thank you.

To rick: Now I know what you meant. Unfortunately (or it's not?:)) I never had any value other than NULL, since I started to use it from scratch :)
Title: Re: IMDB Rating not filling-In automatically
Post by: mgpw4me@yahoo.com on January 12, 2010, 05:33:32 pm
I'm surprised the "Please God, Now" didn't work, but it really does seem to be broken. Maybe by the same website change that broke the rating, but wasn't noticed. I wonder if we can devise a test to determine whether the plugin is fully functional at any point in time.

Quick sanity check for rating:

if ( Rating = FloatToStr(StrToFloat(Rating)) then
 we have a usable rating
else
 the script is broken or you need to check if there is a reason there is no rating...not enough user ratings submitted for example

Test:
  Rating = '', conversion results in '0.0' ... not equal, bad rating
  Rating = 'some text value', conversion results in '0.0'...not equal, bad rating
  Rating = '1.0', conversion results in '1.0', equal, good rating

With a bad rating value, the script should not even attempt to add one to the database.  In silent mode there isn't much that can be done, but a showmessage('rating not acquired...' + reason ) could be displayed in 'user' mode. 

Any time a valid value is 'missed', it should be considered that the parsing may need to be done at a lower level.  For example:
<td>rating</td>
changes to
<td class='rating'>rating</td>
If you were using <td> as the start of text indicator, then you'd consider using <td, then parse until you found the matching '>', at which point you'd have the start of text position, you could look for the text termination character sequence.

Writing this type of code for every value is possible, but very time consuming, and since code (to my knowledge) is not sharable between program (ie. #include common_routines.psf) you'd have to change every program that used it when changes were made.  When you consider the shear volume of code involved in this project, it's easy to understand why this hasn't been done.
Title: Re: IMDB Rating not filling-In automatically
Post by: rick.ca on January 12, 2010, 08:03:04 pm
I was thinking along the lines of a brute-force user test. Like downloading a set of reasonably static records that covers all data types, exporting everything to text, and then comparing that to the previous test to identify any new errors or omissions.
Title: Re: IMDB Rating not filling-In automatically
Post by: mgpw4me@yahoo.com on January 12, 2010, 10:12:20 pm
I've only learned 2 things as a programmer that are generally applicable to life.

1) Not every problem can be fixed with technology
2) Status quo is often the best solution until a permanent solution has decided upon
Title: Re: IMDB Rating not filling-In automatically
Post by: rick.ca on January 23, 2010, 10:36:50 pm
But I can confirm what buah has observed. To be a little more specific, the plugin is saving NULL to the selected rank field—any existing value is deleted.

I'm still hoping this will be fixed.
Title: Re: IMDB Rating not filling-In automatically
Post by: buah on January 24, 2010, 09:12:16 pm
Until then, I'm importing posters and covers. :)
Title: Re: IMDB Rating not filling-In automatically
Post by: rick.ca on February 02, 2010, 10:06:41 pm
Update: Sometime after my last post, I "discovered" the votes and rank were being updated in some movies and not others. Investigating further today, I find the one movie that made me think that was the case had somehow had an incorrect URL added (it was for a TV production of the same name that had no votes). Now I'm unable to find a movie that will not update properly, so I have to conclude the problem was with the bad URL, not the plugin.

Is anyone else still having a problem getting votes and/or rank?
Title: Re: IMDB Rating not filling-In automatically
Post by: buah on February 03, 2010, 07:40:10 am
I never had a problem with votes. I just imported data for an empty entry "12 Angry Men". Still no rank. To be precise it's not null, but it got value "0" (zero).
Title: Re: IMDB Rating not filling-In automatically
Post by: rick.ca on February 03, 2010, 08:05:03 am
That confirms it then...it seems to be fixed in version 15, to be released soon.
Title: Re: IMDB Rating not filling-In automatically
Post by: buah on February 03, 2010, 10:57:44 am
But, I faced with the most recent issue.

IMDb Tech Spec, defined as a memo field, now is filled in with such data:
.rto2010navstripe a:link, .rto2010navstripe a:visited, .rto2010navstripe a:hover {   color: #fff !important;}.rto2010navstripe {   font-family: Verdana; font-size: 13px;        
margin-bottom: 4px;}

If the field was empty, it got only that text Edit: if there were no Tech Specs found at IMDb. While updating Tech Specs field already containing information, mentioned text is imported in addition. Existing data wasn't overwrited, it was "merged" with the text above.

I use IMDB-v0.9.2.3-English-399 Kb-09.01.2010 plugin
Title: Re: IMDB Rating not filling-In automatically
Post by: rick.ca on February 03, 2010, 07:50:00 pm
That also seems to be fixed. The plugin has been updated in version 15, which is to be released soon. I suggest you wait and test again with the new release.
Title: Re: IMDB Rating not filling-In automatically
Post by: korbenPL on February 07, 2010, 01:13:05 pm
Just entered the thrad after failing to get the ratings...

we're still waiting for v15?
Title: Re: IMDB Rating not filling-In automatically
Post by: nostra on February 07, 2010, 02:33:07 pm
I plan to release the next version in a day or two...
Title: Re: IMDB Rating not filling-In automatically
Post by: buah on February 09, 2010, 12:23:01 am
I just imported data for an empty entry "12 Angry Men". Still no rank. To be precise it's not null, but it got value "0" (zero).

Still no luck?
Title: Re: IMDB Rating not filling-In automatically
Post by: nostra on February 09, 2010, 01:15:03 am
Oh shit, I accidentally included the old version of imdb plugin. Please get the version 0.9.2.4 from the download page. I am updating the installation files now...
Title: Re: IMDB Rating not filling-In automatically
Post by: rick.ca on February 09, 2010, 01:23:01 am
That's better.

The automatic update system didn't pick that up either. ;)
Title: Re: IMDB Rating not filling-In automatically
Post by: nostra on February 09, 2010, 01:31:33 am
I have just uploaded it ;)
Title: Re: IMDB Rating not filling-In automatically
Post by: buah on February 09, 2010, 07:32:39 am
And look at us like vultures:"Where's my peace of meat, no me first, get back..." :):):)
Now it works like a charm.
Thanks!
Title: Re: IMDB Rating not filling-In automatically
Post by: korbenPL on February 09, 2010, 07:36:08 am
cause everyone wants ther piece of the long-awaited updated soft  8)

 
Quote
Version 1 development
that's novum...meaning it's like v16 RC1 or what?
Title: Re: IMDB Rating not filling-In automatically
Post by: nostra on February 09, 2010, 12:38:07 pm
Quote
that's novum...meaning it's like v16 RC1 or what?

Meaning a major release 1.0.0.0
Title: Re: IMDB Rating not filling-In automatically
Post by: korbenPL on February 09, 2010, 05:25:10 pm
this second it became clear to me and now seeing your confirmation makes me smile - foobar could do it, PVD can do it too

in line to get it the minute it comes out, ideally before august 2010 ;)