IMDB script doesn't work
Re: IMDB script doesn't work
I just fixed the original title (to avoid a very long text causing the issues)
At least if people get that version (4.031) that will avoid corrupting their catalog if they run it, even if it won't import much data (so it is still useless).
A lot of changes are needed in the script to get it working again.
At least if people get that version (4.031) that will avoid corrupting their catalog if they run it, even if it won't import much data (so it is still useless).
A lot of changes are needed in the script to get it working again.
-
- Posts: 54
- Joined: 2016-12-13 00:45:45
Re: IMDB script doesn't work
Thank you so much for your hard work!antp wrote: 2025-06-11 18:04:58 I just fixed the original title (to avoid a very long text causing the issues)
At least if people get that version (4.031) that will avoid corrupting their catalog if they run it, even if it won't import much data (so it is still useless).
A lot of changes are needed in the script to get it working again.
Re: IMDB script doesn't work
Thank you very much, Antoine. The fixes can come later but I'm sure many would be grateful that their catalogues did not get corrupted.antp wrote: 2025-06-11 18:04:58 I just fixed the original title (to avoid a very long text causing the issues)
At least if people get that version (4.031) that will avoid corrupting their catalog if they run it, even if it won't import much data (so it is still useless).
A lot of changes are needed in the script to get it working again.
Re: IMDB script doesn't work
Losing a catalogue with 17000 entires would be two-and-a-half times worse than losing one with 7000.Dorohedoro wrote: 2025-06-11 18:38:19 My catalog has over 17000 entries, imagine losing that.
You shoud make backups of that catalog ;-)

I'm glad that yours is safe and Antoine's suggestion has saved mine as well.

Re: IMDB script doesn't work
Antoine, you are the one to blame for my not doing regular backupsantp wrote: 2025-06-11 18:04:58 That's what I was going to say: make backups from time to time!
I'll try to check the script in the next days, if someone else has time to do it before any contribution is welcome![]()


On a serious note, though, here is one more suggestion among the many others that have accumulated with you over the years since you wrote a major update for AMC: please provide an option to do automatic weekly or fortnightly or monthly backups so that even in the case of a malfunctioning website/script, one doesn't lose all of one's work. The default automatic backup file helps only if one hasn't hit the 'save' button without realising that the catalogue has become corrupted. Optional automatic backups can potentially save years and years of work.
I know that you no longer work actively on the catalogue, but mine is only one voice among the many urging you to please consider one major update that incorporates some of the many, many vital features that have become essential since you wrote the last major update.
As always, thank you very, very much for all that work you have put in to gift us the wonderful programme that AMC is.

Re: IMDB script doesn't work
There is already a backup of the previous catalog, as a .bak file in the same folder as the .amc file (I think the option is enabled by default).
Of course it is only the previous state, so it can be not enough.
But you have other data to backup too, I suppose? AMC is not your only program
A local backup is not really enough anyway. There can be so many things that happen to such file.
The minimal would be a monthly backup to an external device.
And then you can always improve (more backups, rotation between several devices, storing at another place, etc.)
Or simply online backup solutions, now with the cloud there are more possibilities
Of course it is only the previous state, so it can be not enough.
But you have other data to backup too, I suppose? AMC is not your only program

A local backup is not really enough anyway. There can be so many things that happen to such file.
The minimal would be a monthly backup to an external device.
And then you can always improve (more backups, rotation between several devices, storing at another place, etc.)
Or simply online backup solutions, now with the cloud there are more possibilities

Re: IMDB script doesn't work
And Antoine yet again cleanly sidesteps a request to consider a long-overdue update.antp wrote: 2025-06-12 09:01:04 A local backup is not really enough anyway. There can be so many things that happen to such file.
. . .
Or simply online backup solutions, now with the cloud there are more possibilities![]()

But yes, thank you Antoine, those are all good suggestions and I shall implement them right away. The only trouble, though, with manual backups is that the more trouble-free a programme is, the more relaxed and casual one becomes about backups. And AMC is completely trouble-free, except on occasions when IMDB decides to play spoilsport, as in the present instance.
Many thanks!

-
- Posts: 54
- Joined: 2016-12-13 00:45:45
Re: IMDB script doesn't work
If I lose that list it will be like losing a close-knit relative.Lemaireus wrote: 2025-06-12 08:11:00Losing a catalogue with 17000 entires would be two-and-a-half times worse than losing one with 7000.Dorohedoro wrote: 2025-06-11 18:38:19 My catalog has over 17000 entries, imagine losing that.
You shoud make backups of that catalog ;-)
I'm glad that yours is safe and Antoine's suggestion has saved mine as well.![]()
Yeah, it's safe, and I have it backed up on several hard drives and also in the cloud.
-
- Posts: 65
- Joined: 2022-02-02 00:03:55
Re: IMDB script doesn't work
I am also working on the iMDB fix. If the current version of the script has already corrupted some entries, in theory it is possible to delete the single entry, simply by selecting it and pressing DELETE on the keyboard, then you just need to recreate it and wait for the updated version of the script before populating it
Re: IMDB script doesn't work
Aptly put. I couldn't agree more. Thanks to Antoine, at least the possibility of anyone's catalogue getting irretrievably corrupted are taken care of.Dorohedoro wrote: 2025-06-12 18:24:14 If I lose that list it will be like losing a close-knit relative.
Re: IMDB script doesn't work
Thank you for working on the script. One of the problems, before Antoine fixed it, was that, after one had saved it, the corrupt entry was un-delete-able. If one tried to delete the corrupt entry, AMC would hang and the only way out was to terminate the programme through the task manager. That corrupt entry would still be there when one restarted AMC.MrObama2022 wrote: 2025-06-12 18:49:54 I am also working on the iMDB fix. If the current version of the script has already corrupted some entries, in theory it is possible to delete the single entry, simply by selecting it and pressing DELETE on the keyboard, then you just need to recreate it and wait for the updated version of the script before populating it
Re: IMDB script doesn't work
Hello
I don't know for your guys but for me the script is still creating problems. Both on new movies and also if I run it on existing ones.
For some reasons I can't paste or attach a picture here, so I will explain in words. Basically after the script is parsed, fields are still empty. When I display the HTML version a lot of code is added to the page.
Can I do anything to help? I have little knowledge in coding but maybe there are some tasks I can learn or help with.
Thank you in advance
I don't know for your guys but for me the script is still creating problems. Both on new movies and also if I run it on existing ones.
For some reasons I can't paste or attach a picture here, so I will explain in words. Basically after the script is parsed, fields are still empty. When I display the HTML version a lot of code is added to the page.
Can I do anything to help? I have little knowledge in coding but maybe there are some tasks I can learn or help with.
Thank you in advance
Re: IMDB script doesn't work
Antoine and MrObama are still working on the script. Until the fixed version is released, Antoine has fixed the script to the extent that it no longer generates un-delete-able corrupt entries which can potentially ruin the entire catalogue.Valmiki wrote: 2025-06-15 19:07:06 I don't know for your guys but for me the script is still creating problems. Both on new movies and also if I run it on existing ones.
Re: IMDB script doesn't work
Thank you so much Lemaireus for your reply. Now I understand fully. Sorry if I didn't get it earlier.
Thank you so much to Antoine and Mr Obama for your support. Appreciated very much
Thank you so much to Antoine and Mr Obama for your support. Appreciated very much
-
- Posts: 75
- Joined: 2015-06-30 22:25:21
Re: IMDB script doesn't work
A decent donation for Antoine just made for his ongoing work on the script.
Has anyone tried any other English scripts when IMDB is not working? I just tried a couple and they're not a patch on IMDB.

Has anyone tried any other English scripts when IMDB is not working? I just tried a couple and they're not a patch on IMDB.
Re: IMDB script doesn't work
Thanks 
I should have some time on Wednesday & Thursday to work on this, hoping it will be enough to fix the script.
The work should not be so long, I hope, as long as IMDb is not doing continuous changes (i.e. if there are difference from one movie to another, or from one day to another...)

I should have some time on Wednesday & Thursday to work on this, hoping it will be enough to fix the script.
The work should not be so long, I hope, as long as IMDb is not doing continuous changes (i.e. if there are difference from one movie to another, or from one day to another...)
Re: IMDB script doesn't work
I tried IMDB (Actor Images) and it is still working but it just won't do the whole job, just actor imagesboristhecat wrote: 2025-06-17 08:40:47 A decent donation for Antoine just made for his ongoing work on the script.![]()
Has anyone tried any other English scripts when IMDB is not working? I just tried a couple and they're not a patch on IMDB.
I also tried Italian Multisite which I tried in the past to download IMDB info in Italian and only worked to download info in English but it doesn't do anything at all now and I didn't bother to try it to configure it for other websites. IMDB is the best.
-
- Posts: 65
- Joined: 2022-02-02 00:03:55
Re: IMDB script doesn't work
https://mega.nz/file/4ItVSALA#ilIAhSIlM ... NMOOFWDwLQ
THIS IS A BETA!!! I JUST TESTED IT WITH ONLY 2 TITLES!!! IF YOU WANT TO TEST, CLOSE ANT MOVIE CATALOG, OPEN C:\ProgramData\Ant Movie Catalog\Scripts WITH EXPLORER, RENAME IMDB.ifs AS IMDB.ifs.tmp AND SAVE THE ABOVE LINK IN THIS DIRECTORY, THEN OPEN ANT MOVIE CATALOG AND TEST.
It's 02:06 a.m. here in Italy and I'm sleepy, today I have to work.
So, how this should work:
- when opening AnalyzeMoviePage() if it detects the new html (aNY piece of the new json should be ok) it opens AnalyzeMoviePage2()
the new AnalyzeMoviePage2 is "clean"
Ok it just uses a support procedure jsonMultipleValuesToList() to iterate inside json arrays/lists
The syntax is:
PageText is all html code, DelimiterListFrom and DelimiterListTo are the main delimiters, DelimiterItemFrom and DelimiterItemTo are the single value/item delimiters, fieldName is the field you want to update and limit is a limit of entry (0 = no limit)
AnalyzeMoviePage2 so is just a set of procedure calls like these ones:
I have not yet tested the code for all the settings but these fields should works:
- original titles
- translated titles (BUT NOT ALL THE OPTIONS)
- directors
- writers
- composers
- countries
- year
- url
- description
- comments (I DID NOT TESTED ALL THE OPTIONS)
- trivia
- aspect ratio
- languages
- picture (BUT ONLY THE MAIN POSTER, NOT ALL THE OPTIONS)
What's not working:
- length (but I'll fix asap)
What must be checked and added:
- tagline
- audio format
- all the missing options/combo/etc. etc.
- TESTTTTTTTTTTT
There are a lot of a code to check, test, add, etc. but if you want to test ..
These code could here. Here is a formatted json (it's the json inside the html but pretty printed) and here there is the all html code as ANT Movie Catalog get
THIS IS A BETA!!! I JUST TESTED IT WITH ONLY 2 TITLES!!! IF YOU WANT TO TEST, CLOSE ANT MOVIE CATALOG, OPEN C:\ProgramData\Ant Movie Catalog\Scripts WITH EXPLORER, RENAME IMDB.ifs AS IMDB.ifs.tmp AND SAVE THE ABOVE LINK IN THIS DIRECTORY, THEN OPEN ANT MOVIE CATALOG AND TEST.
It's 02:06 a.m. here in Italy and I'm sleepy, today I have to work.
So, how this should work:
- when opening AnalyzeMoviePage() if it detects the new html (aNY piece of the new json should be ok) it opens AnalyzeMoviePage2()
Code: Select all
if (Pos('"releaseYear":{"year":', PageText) > 0) then
AnalyzeMoviePage2(PageText)

Ok it just uses a support procedure jsonMultipleValuesToList() to iterate inside json arrays/lists
The syntax is:
Code: Select all
jsonMultipleValuesToList(PageText, DelimiterListFrom, DelimiterListTo, DelimiterItemFrom, DelimiterItemTo: string; fieldName, limit: integer)
AnalyzeMoviePage2 so is just a set of procedure calls like these ones:
Code: Select all
jsonMultipleValuesToList(PageText, '"genres":{"genres":[', ']', '"text":"', '"', fieldCategory, 0);
- original titles
- translated titles (BUT NOT ALL THE OPTIONS)
- directors
- writers
- composers
- countries
- year
- url
- description
- comments (I DID NOT TESTED ALL THE OPTIONS)
- trivia
- aspect ratio
- languages
- picture (BUT ONLY THE MAIN POSTER, NOT ALL THE OPTIONS)
What's not working:
- length (but I'll fix asap)
What must be checked and added:
- tagline
- audio format
- all the missing options/combo/etc. etc.
- TESTTTTTTTTTTT
There are a lot of a code to check, test, add, etc. but if you want to test ..
These code could here. Here is a formatted json (it's the json inside the html but pretty printed) and here there is the all html code as ANT Movie Catalog get
-
- Posts: 54
- Joined: 2016-12-13 00:45:45
Re: IMDB script doesn't work
Can't wait to try it. Thank you so much for your hard work.MrObama2022 wrote: 2025-06-18 00:10:35 https://mega.nz/file/4ItVSALA#ilIAhSIlM ... NMOOFWDwLQ
THIS IS A BETA!!! I JUST TESTED IT WITH ONLY 2 TITLES!!! IF YOU WANT TO TEST, CLOSE ANT MOVIE CATALOG, OPEN C:\ProgramData\Ant Movie Catalog\Scripts WITH EXPLORER, RENAME IMDB.ifs AS IMDB.ifs.tmp AND SAVE THE ABOVE LINK IN THIS DIRECTORY, THEN OPEN ANT MOVIE CATALOG AND TEST.
It's 02:06 a.m. here in Italy and I'm sleepy, today I have to work.
So, how this should work:
- when opening AnalyzeMoviePage() if it detects the new html (aNY piece of the new json should be ok) it opens AnalyzeMoviePage2()
the new AnalyzeMoviePage2 is "clean"Code: Select all
if (Pos('"releaseYear":{"year":', PageText) > 0) then AnalyzeMoviePage2(PageText)
![]()
Ok it just uses a support procedure jsonMultipleValuesToList() to iterate inside json arrays/lists
The syntax is:
PageText is all html code, DelimiterListFrom and DelimiterListTo are the main delimiters, DelimiterItemFrom and DelimiterItemTo are the single value/item delimiters, fieldName is the field you want to update and limit is a limit of entry (0 = no limit)Code: Select all
jsonMultipleValuesToList(PageText, DelimiterListFrom, DelimiterListTo, DelimiterItemFrom, DelimiterItemTo: string; fieldName, limit: integer)
AnalyzeMoviePage2 so is just a set of procedure calls like these ones:
I have not yet tested the code for all the settings but these fields should works:Code: Select all
jsonMultipleValuesToList(PageText, '"genres":{"genres":[', ']', '"text":"', '"', fieldCategory, 0);
- original titles
- translated titles (BUT NOT ALL THE OPTIONS)
- directors
- writers
- composers
- countries
- year
- url
- description
- comments (I DID NOT TESTED ALL THE OPTIONS)
- trivia
- aspect ratio
- languages
- picture (BUT ONLY THE MAIN POSTER, NOT ALL THE OPTIONS)
What's not working:
- length (but I'll fix asap)
What must be checked and added:
- tagline
- audio format
- all the missing options/combo/etc. etc.
- TESTTTTTTTTTTT
There are a lot of a code to check, test, add, etc. but if you want to test ..
These code could here. Here is a formatted json (it's the json inside the html but pretty printed) and here there is the all html code as ANT Movie Catalog get
Re: IMDB script doesn't work
Many thanks for your work, MrObama2022!
I had a quick look with movies https://www.imdb.com/title/tt0077355 and https://www.imdb.com/title/tt0112714 and my personal preferences for the script, and with both I had these results:
- Writer and Composer were not retrieved;
- options ActorsLayout = 4 and AllActors = 1 return what appears to be ActorsLayout = 2 (10 actors with character names in parentheses, separated by commas);
- MultipleValuesCountry = 2 and MultipleValuesCategory = 2 (separated by slashes) return values separated by commas;
With movie https://www.imdb.com/title/tt0112714 the Producer field was also not populated.
Everything else appears to have been retrieved (note that I do not use options to retrieve data such as length, aspect ratio, languages etc.)
I had a quick look with movies https://www.imdb.com/title/tt0077355 and https://www.imdb.com/title/tt0112714 and my personal preferences for the script, and with both I had these results:
- Writer and Composer were not retrieved;
- options ActorsLayout = 4 and AllActors = 1 return what appears to be ActorsLayout = 2 (10 actors with character names in parentheses, separated by commas);
- MultipleValuesCountry = 2 and MultipleValuesCategory = 2 (separated by slashes) return values separated by commas;
With movie https://www.imdb.com/title/tt0112714 the Producer field was also not populated.
Everything else appears to have been retrieved (note that I do not use options to retrieve data such as length, aspect ratio, languages etc.)