IMDB script

If you made a script you can offer it to the others here, or ask help to improve it. You can also report here bugs & problems with existing scripts.
LeMoi
Posts: 172
Joined: 2006-04-09 11:26:43

Post by LeMoi »

For example, i'm adding a french movie, "Le dernier vol". Its original title is "Le dernier vol", US title is "The Last Flight". AMC with IMDb script proposes "The Last Flight" as original title instead of "Le dernier vol".
Maybe it's because http://www.imdb.com/title/tt1234542/ considers "The Last Flight" as movie title, while http://akas.imdb.com/title/tt1234542/ considers it "Le dernier vol", which is right.

I hope i've been clear, please tell me if you still don't understand my point of view
antp
Site Admin
Posts: 9660
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

IMDB recently started to use English title as default title instead of original title.
LeMoi
Posts: 172
Joined: 2006-04-09 11:26:43

Post by LeMoi »

In its "www" site, indeed. Maybe the script should use the "akas" site ?
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

I see. Thanks Baffab and antp.
antp wrote:IMDB recently started to use English title as default title instead of original title.
So this means it was different on website previously ? I should keep backups of recent page versions, to make it easier following site changes..
LeMoi wrote:In its "www" site, indeed. Maybe the script should use the "akas" site ?
I'll have a look on it in the evening.
antp
Site Admin
Posts: 9660
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

bad4u wrote: So this means it was different on website previously ?
Yes, but it changed few months ago already.
Those who have an account on IMDb can chose to see as page title the English title, the original title or IMDb's default setting.
Non-registered users (and the script) just rely on IMDb's default settings.
At the same time they changed the "french.imdb.com" to "www.imdb.fr, and probably the same for other language. Previously that French server was nice for me since it always listed the "aka" French title at the bottom, but now it uses the French title as default one and the original title only at the bottom (not even just under the French one at the top).
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

Ahh, okay, then I remember. Thought this was a bug report because of a recent change.

If it's working for some months this way and nobody complained about it, I don't think it makes sense to change the address to akas.imdb.com then. It might be confusing for others in this case, especially new users who don't know the old version.

Maybe add it as an option instead, so that anyone can choose preferred option..?

Did a short test and you can easily change all addresses to "akas.imdb.com" and it will work with original titles in other languages then, on results list as well as on import, so an option wouldn't be that hard to include.
LeMoi
Posts: 172
Joined: 2006-04-09 11:26:43

Post by LeMoi »

OK, why not :)
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

I'll see what I can do this weekend, won't have time before.
humungus
Posts: 24
Joined: 2010-03-23 00:29:01

Post by humungus »

Hi!

The script doesn't seem to be returning the country anymore. Any chance for a fix? Thanks in advance.
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

humungus wrote:Hi!

The script doesn't seem to be returning the country anymore. Any chance for a fix? Thanks in advance.
Script version 3.63 fixes this and the layout of translated titles (missing commas). It should be available for download from http://update.antp.be/amc/scripts/ and via script [Update Script] soon.
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

LeMoi wrote:OK, why not :)
Oh my. I forgot about that. Will see that I find time for it asap.
humungus
Posts: 24
Joined: 2010-03-23 00:29:01

Post by humungus »

bad4u wrote:Script version 3.63 fixes this and the layout of translated titles (missing commas). It should be available for download from http://update.antp.be/amc/scripts/ and via script [Update Script] soon.
Updated now, but, um, I get an error that the script is "out of range at line 474" which this line (under AKA Name):

Code: Select all

if StrGet(Value, Length(Value)) = ',' then
This happens to render the script useless, I'm afraid, as the script proceeds to simply open itself at this particular line and that's that.
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

humungus wrote:Updated now, but, um, I get an error that the script is "out of range at line 474" which this line (under AKA Name):
It's a specific case when there is no aka name listed for the movie only, which wasn't the case with the movies I use for testing (so it's usually helpful to give an example movie for a problem). Version 3.64 fixes this, it should be available from the server soon. Thanks.
Yoan
Posts: 6
Joined: 2010-09-26 10:31:33
Location: Sofia, Bulgaria

Post by Yoan »

You can use as example “My Life in Ruins” – the script crashes every time when I try to update this title.

I would like to help you more, but unfortunately I am not a programmer :) .
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

Yoan wrote:You can use as example “My Life in Ruins” – the script crashes every time when I try to update this title.

I would like to help you more, but unfortunately I am not a programmer :) .
Thanks. I searched and found another title before you posted, but often when an error does not occur with every movie, an example is quite helpful. As mentioned on previous post, the script has been updated and sent to antp. Please just wait until new version is available from update server.
humungus
Posts: 24
Joined: 2010-03-23 00:29:01

Post by humungus »

bad4u wrote:It's a specific case when there is no aka name listed for the movie only, which wasn't the case with the movies I use for testing (so it's usually helpful to give an example movie for a problem).
My apologies. I didn't mention any specific movie because I had tried several and it failed on me every time, so I obviously didn't think there were any particular conditions for this error to appear.

The only movie I remember now is Deja Vu (1985) and in a mindless bit of trivia, script version 3.62 returns multiple AKA titles when using akas.imdb.com for search, but using akas.imdb.com in version 3.63 for this movie results in the same 'out of range' error even though there evidently are AKA titles.

Can't wait for version 3.64, though. Thanks for all your hard work in keeping this script up to date, mind you.
judgeday
Posts: 1
Joined: 2010-09-26 11:29:09

Post by judgeday »

The last update is giving an error in the line 474

Script Error In "IMDB": out of range at line 474
Yoan
Posts: 6
Joined: 2010-09-26 10:31:33
Location: Sofia, Bulgaria

Post by Yoan »

Thank you for the update :) . It seems to me that there is a problem with the “Languages” field because it remains empty.
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

Yoan wrote:It seems to me that there is a problem with the “Languages” field because it remains empty.
lol, yeah, seems IMDB webmasters are getting bored this weekend and play around with their HTML code, in which case it would be better to wait another day before the next fix.. to catch all changes in one update ;)

Or was it an oversight from previous bugreports and broke together with countries import ?

However, another update (3.65) is done and will be available from servers soon, but if there are more changes on the HTML code today, I will wait for another day until they finished current WIP.
Yoan
Posts: 6
Joined: 2010-09-26 10:31:33
Location: Sofia, Bulgaria

Post by Yoan »

Most likely your second guess is the right one because the same problem exists in version 3.63. Never mind, it works fine now :) . Thank you once again!

By the way, is it possible to update the script for www.tv.com or write a new one? This site is really useful for TV shows.
Post Reply