IMDB script doesn't work

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.
MrObama2022
Posts: 97
Joined: 2022-02-02 00:03:55

Re: IMDB script doesn't work

Post by MrObama2022 »

LeMoi wrote: 2025-06-20 23:24:17 Hello and thanks for latest updates.
I have an error while launching the script, 'A call to an OS function failed', what could be the cause?
I use AMC 4.2.3
Thank you in advance
Go in Help -> Version and check if you get these version numbers (4.2.3.3)

These are mine version numbers:
MovieCatalog.exe : versione 4.2.3.3 (creata il 19/05/2023 11:56:18)
AMCExchange.dll : versione 1.9.0.2 (creata il 19/05/2023 11:56:08)
AMCReport.exe : versione 1.9.0.1 (creata il 04/11/2017 06:44:36)
MediaInfo.dll : versione 22.12 (creata il 22/12/2022 17:00:48)
MrObama2022
Posts: 97
Joined: 2022-02-02 00:03:55

Re: IMDB script doesn't work

Post by MrObama2022 »

New version here: 5.0 release candidate 2

CHANGELOG
* fix directors
LeMoi
Posts: 176
Joined: 2006-04-09 11:26:43

Re: IMDB script doesn't work

Post by LeMoi »

I have these :
Image
It looks the same...
I tried with latest RC 2, same problem
MrObama2022
Posts: 97
Joined: 2022-02-02 00:03:55

Re: IMDB script doesn't work

Post by MrObama2022 »

do you have this error only with iMDB script or also with other script?

Open AMC. Create a new catalog. Try another script (not iMDB), then save. Tell us if you get errors

Do you have enough space on your hdd?
saraddasi
Posts: 6
Joined: 2025-06-01 10:25:18

Re: IMDB script doesn't work

Post by saraddasi »

Thank you MrObama2022, Antoine and all for your efforts all this time.

I've tried all scripts version 4 and 5 but the problem persist: just return empty page. I try other scripts i.e. Allocine it works just fine.
Am I missing something?

My AMC version is this:
MovieCatalog.exe : version 4.2.3.3 (19/05/2023 11:56:20)
AMCExchange.dll : version 1.9.0.2 (19/05/2023 11:56:10)
AMCReport.exe : version 1.9.0.1 (04/11/2017 05:44:38)
MediaInfo.dll : version 22.12 (22/12/2022 16:00:50)

Thanks
humungus
Posts: 32
Joined: 2010-03-23 00:29:01

Re: IMDB script doesn't work

Post by humungus »

Many thanks for the new version, MrObama2022! I updated about a dozen very different movies and everything was retrieved as in the "old days" (read: perfectly) except for one type of actors credits.

movie URL: https://www.imdb.com/title/tt0071949/reference/

Actors credits are retrieved as

Hélène Loiselle ... Marie Boudreau","Self
Jean Lapointe ... Clermont Boudreau","Self
Guy Provost ... Jean-Marie Beauchemin","Self
Claude Gauthier ... Richard Lavoie","Self
Louise Forestier ... Claudette Dusseault","Self


instead of as

Hélène Loiselle ... Marie Boudreau / Self
Jean Lapointe ... Clermont Boudreau / Self
Guy Provost ... Jean-Marie Beauchemin / Self
Claude Gauthier ... Richard Lavoie / Self
Louise Forestier ... Claudette Dusseault / Self


It looks like your fix for the "segment" atribute in actors' credits in https://www.imdb.com/title/tt0113101/reference/ is also applied to credits such as these.

Other movies with such actors credits:
https://www.imdb.com/title/tt0151857/reference/
https://www.imdb.com/title/tt32149801/reference/
and especially https://www.imdb.com/title/tt3872778/reference (along with every other Monty Python thing)
MrObama2022
Posts: 97
Joined: 2022-02-02 00:03:55

Re: IMDB script doesn't work

Post by MrObama2022 »

New version: 5.0 release candidate 3

CHANGELOG
* fix actors
MrObama2022
Posts: 97
Joined: 2022-02-02 00:03:55

Re: IMDB script doesn't work

Post by MrObama2022 »

saraddasi wrote: 2025-06-21 03:31:55 Thank you MrObama2022, Antoine and all for your efforts all this time.

I've tried all scripts version 4 and 5 but the problem persist: just return empty page. I try other scripts i.e. Allocine it works just fine.
Am I missing something?

Thanks
@saraddasi test the latest version, save this file in C:\ProgramData\Ant Movie Catalog\Scripts

If you still get an empty page please tell me the imdb url (example : https://www.imdb.com/title/tt0071949/reference/ ) and please report all the values for these:

[Options]
ActorsLayout=
AllActors=
AspectRatio=
Awards=
BatchMode=
CommentType=
ConvertToASCII=
DescriptionSelection=
EpisodeTitleSearch=
GetTagline=
ImageKind=
MPAA=
MultipleValuesAudioFormat=
MultipleValuesCategory=
MultipleValuesCountry=
MultipleValuesLanguages=
PopularSearches=
RoundRating=
Trivia=
UserRatings=
MediaType=
TranslatedTitle=

[Parameters]
MaxActors=
UserCountry=
LargePictureHeight=
MediaTypeParameter=
humungus
Posts: 32
Joined: 2010-03-23 00:29:01

Re: IMDB script doesn't work

Post by humungus »

Many thanks again, MrObama2022! I'm pleased to report that I have successfully updated 15 or so movies. The only odd thing I've noticed was with this movie:

https://www.imdb.com/title/tt0046438/reference/

If I open the page in my browser, the credits look like this:

Chishû Ryû   Shukichi Hirayama
Chieko Higashiyama   Tomi Hirayama
Setsuko Hara   Noriko Hirayama
Haruko Sugimura   Shige Kaneko


But the script retrieves this:

Chishû Ryû ... Shukichi Hirayama
Chieko Higashiyama ... Tomi Hirayama
Setsuko Hara
Setsuko Hara ... Noriko Hirayama
Haruko Sugimura ... Shige Kaneko


Notice the reduntant listing of "Setsuko Hara" with no character name. I suspect, however, this is more down to IMDb's dodgy HTML than your script.

Other than this, everything worked a treat, including those lengthy Monty Python credits. Unless the above case is something you can easily fix, the script is good to go for me. :grinking:

For your reference, these are my script settings (plus RapidApi Key for Trivia and TranslatedTitle):

[Options]
ActorsLayout=4
AllActors=1
AspectRatio=0
Awards=0
BatchMode=0
CommentType=2
ConvertToASCII=0
DescriptionSelection=0
EpisodeTitleSearch=0
GetTagline=0
ImageKind=0
MPAA=0
MultipleValuesAudioFormat=3
MultipleValuesCategory=2
MultipleValuesCountry=2
MultipleValuesLanguages=3
PopularSearches=1
RoundRating=0
Trivia=4
UserRatings=0
MediaType=0
TranslatedTitle=4

[Parameters]
MaxActors=10
UserCountry=United States
LargePictureHeight=720
MediaTypeParameter=
MrObama2022
Posts: 97
Joined: 2022-02-02 00:03:55

Re: IMDB script doesn't work

Post by MrObama2022 »

New version here: 5.0 release candidate 4

CHANGELOG
* fix actors
boristhecat
Posts: 80
Joined: 2015-06-30 22:25:21

Re: IMDB script doesn't work

Post by boristhecat »

Everything working in mine except for video stats.
MrObama2022
Posts: 97
Joined: 2022-02-02 00:03:55

Re: IMDB script doesn't work

Post by MrObama2022 »

boristhecat wrote: 2025-06-21 16:38:24 Everything working in mine except for video stats.
what are video stats? Please explain
MrObama2022
Posts: 97
Joined: 2022-02-02 00:03:55

Re: IMDB script doesn't work

Post by MrObama2022 »

New version: 5.0 release candidate 5

CHANGELOG
* minor fix
saraddasi
Posts: 6
Joined: 2025-06-01 10:25:18

Re: IMDB script doesn't work

Post by saraddasi »

MrObama2022 wrote: 2025-06-21 13:52:59
saraddasi wrote: 2025-06-21 03:31:55 Thank you MrObama2022, Antoine and all for your efforts all this time.

I've tried all scripts version 4 and 5 but the problem persist: just return empty page. I try other scripts i.e. Allocine it works just fine.
Am I missing something?

Thanks
@saraddasi test the latest version, save this file in C:\ProgramData\Ant Movie Catalog\Scripts

If you still get an empty page please tell me the imdb url (example : https://www.imdb.com/title/tt0071949/reference/ ) and please report all the values for these:
Thank you for your response. I tried the latest update, tried on another pc, new catalogue, result is the same, empty page.
Here is the settings

[Options]
ActorsLayout=0
AllActors=2
AspectRatio=0
Awards=0
BatchMode=0
CommentType=2
ConvertToASCII=0
DescriptionSelection=0
EpisodeTitleSearch=0
GetTagline=0
ImageKind=0
MPAA=0
MultipleValuesAudioFormat=0
MultipleValuesCategory=1
MultipleValuesCountry=1
MultipleValuesLanguages=1
PopularSearches=1
RoundRating=0
Trivia=0
UserRatings=0
MediaType=0
TranslatedTitle=1

[Parameters]
MaxActors=10
UserCountry=United States
LargePictureHeight=720
MediaTypeParameter=

Thank you.
Dorohedoro
Posts: 61
Joined: 2016-12-13 00:45:45

Re: IMDB script doesn't work

Post by Dorohedoro »

saraddasi wrote: 2025-06-22 05:09:57
MrObama2022 wrote: 2025-06-21 13:52:59
saraddasi wrote: 2025-06-21 03:31:55 Thank you MrObama2022, Antoine and all for your efforts all this time.

I've tried all scripts version 4 and 5 but the problem persist: just return empty page. I try other scripts i.e. Allocine it works just fine.
Am I missing something?

Thanks
@saraddasi test the latest version, save this file in C:\ProgramData\Ant Movie Catalog\Scripts

If you still get an empty page please tell me the imdb url (example : https://www.imdb.com/title/tt0071949/reference/ ) and please report all the values for these:
Thank you for your response. I tried the latest update, tried on another pc, new catalogue, result is the same, empty page.
Here is the settings

[Options]
ActorsLayout=0
AllActors=2
AspectRatio=0
Awards=0
BatchMode=0
CommentType=2
ConvertToASCII=0
DescriptionSelection=0
EpisodeTitleSearch=0
GetTagline=0
ImageKind=0
MPAA=0
MultipleValuesAudioFormat=0
MultipleValuesCategory=1
MultipleValuesCountry=1
MultipleValuesLanguages=1
PopularSearches=1
RoundRating=0
Trivia=0
UserRatings=0
MediaType=0
TranslatedTitle=1

[Parameters]
MaxActors=10
UserCountry=United States
LargePictureHeight=720
MediaTypeParameter=

Thank you.
Try using a new or different catalog, the catalog that is giving you the error might be corrupted.
Roy001
Posts: 4
Joined: 2025-06-22 11:31:40

Re: IMDB script doesn't work

Post by Roy001 »

Mr Obama2022, grazie per il duro lavoro che stati facendo, purtroppo con l'ultimo scrip non funzionano più gli attori, non ne trova più neppure uno invece con il penultimo scipt li trovava, puoi sistemarlo?
ecco alcuni film che non funzionano:
7 pistole per i MacGregor - Sette pistole per i MacGregor
Anello di sangue - I Never Sang for My Father
L'assalto al treno postale - Wyoming Mail
Bad Blood Debito di sangue - Wicked Blood

Mr Obama2022, thank you for the hard work you are doing, unfortunately with the last script the actors do not work anymore, he does not find even one instead with the penultimate script he found them, can you fix it?
here are some movies that do not work:
7 pistole per i MacGregor - Sette pistole per i MacGregor
Anello di sangue - I Never Sang for My Father
L'assalto al treno postale - Wyoming Mail
Bad Blood Debito di sangue - Wicked Blood
Lemaireus
Posts: 103
Joined: 2014-02-14 10:18:14

Re: IMDB script doesn't work

Post by Lemaireus »

MrObama2022 wrote: 2025-06-21 20:51:08 New version: 5.0 release candidate 5

CHANGELOG
* minor fix
IMDB Title/URL: Wallace & Gromit: A Grand Day Out / https://www.imdb.com/title/tt0104361/

Error: "Script error in "IMDB": unknown identifier: LASTVALUE at line 843.

Here is a screenshot of the error (after I get the error listed above, the script takes me to this in the 'Editor' tab:
Image

I tried another title https://www.imdb.com/title/tt0312004/ and got another error (which I didn't note down).

I went back to 5.0 release candidate 4 and these errors disappeared. Everything working fine in my catalogue thus far with RC4.

Thank you for all the splendid work you have put in MrObama and wish you all the very best for the home run.
Lemaireus
Posts: 103
Joined: 2014-02-14 10:18:14

Re: IMDB script doesn't work

Post by Lemaireus »

I also seem to get somewhat random country names in the first line of the 'Description' box: Argentina is the most frequent one, followed by Australia and, only once, Germany.
MrObama2022
Posts: 97
Joined: 2022-02-02 00:03:55

Re: IMDB script doesn't work

Post by MrObama2022 »

Lemaireus wrote: 2025-06-22 12:32:06 I also seem to get somewhat random country names in the first line of the 'Description' box: Argentina is the most frequent one, followed by Australia and, only once, Germany.
can you give an example please? imdb url ...

Ok, I found it, it's a Tagline problem
Last edited by MrObama2022 on 2025-06-22 15:23:31, edited 1 time in total.
Munkey
Posts: 13
Joined: 2025-06-19 04:55:29

Re: IMDB script doesn't work

Post by Munkey »

MrObama2022 wrote: 2025-06-22 15:11:33
Lemaireus wrote: 2025-06-22 12:32:06 I also seem to get somewhat random country names in the first line of the 'Description' box: Argentina is the most frequent one, followed by Australia and, only once, Germany.
can you give an example please? imdb url ...
I posted about this bug with imdb link in the previous page.
Post Reply