Page 4 of 4

Re: [REL] IMDB

Posted: 2025-11-01 12:52:49
by Mickxe
It's unable to get the movie number in the procedure AnalyzeMoviePage, so it's trying to get a page that doesn't exists, "https://www.imdb.com/title/tt/reference"

Adding another if statement to catch the number let me run the script again, this worked for me:

if MovieNumber = '' then
MovieNumber := TextBetween(PageText,'"meta":{"canonicalId":"tt', '","publicationStatus');

Image

Maybe more things need to be adjusted, there's nothing like "rel="canonical"" or "legacy/title" in the page source anymore.

Re: [REL] IMDB

Posted: 2025-11-02 13:25:26
by antp
Thanks!
Often it is indeed just small changes like this, I didn't had time in the last days to check what was the issue.
The rest of the code is probably useless, from older versions of the site. Some day some cleaning should be done, but just in case old pages are sometimes returned in some cases, I tend not to delete these too quickly :)
I added a test so the next time it can not extract the movie number, it stops with a message rather than continue with an invalid address.

Re: [REL] IMDB

Posted: 2025-11-02 15:10:16
by Dorohedoro
Mickxe wrote: 2025-11-01 12:52:49 It's unable to get the movie number in the procedure AnalyzeMoviePage, so it's trying to get a page that doesn't exists, "https://www.imdb.com/title/tt/reference"

Adding another if statement to catch the number let me run the script again, this worked for me:

if MovieNumber = '' then
MovieNumber := TextBetween(PageText,'"meta":{"canonicalId":"tt', '","publicationStatus');

Image

Maybe more things need to be adjusted, there's nothing like "rel="canonical"" or "legacy/title" in the page source anymore.
Thanks! it's working again.

Almost everything fine on my end, besides not extracting the awards and ignoring some aspect ratios.

Re: [REL] IMDB

Posted: 2025-11-02 16:55:55
by phil5660
It's working for me, many thanks !

Re: [REL] IMDB

Posted: 2025-11-05 06:43:36
by antp
I fixed the IMDb script again (version 5.5.08), as the search was showing blank results.
I also fixed actors' roles.
I added a check to avoid importing actor images when ActorsImagesMode = 0, as these were always imported no matter what option was set there (so if you want these but they are not imported anymore, just check in the options on the right and set that one to 1).

Re: [REL] IMDB

Posted: 2025-11-05 15:13:27
by humungus
Thanks, antp! I just updated a few movies, and it worked like a charm for my settings. :grinking: Character names (and actor tags) are back, and no more "Importing picture from the internet..." pop-ups for me.

Re: [REL] IMDB

Posted: 2025-11-05 23:17:28
by LeMoi
It seems to work fine for now, all the fields I use are well retrevied.
Thanks for the update :)

ConvertToASCII Function

Posted: 2025-11-08 22:39:12
by hardkid
Hi, everybody.

I'm trying to get (French) actors names with all the special characters and accents in them in French movies, but it's always ASCII, with the function being set to 0 or 1 - no difference. Is there anything to do about it? Thanx

Re: [REL] IMDB

Posted: 2025-11-09 19:07:44
by antp
Hi,
Do you have an example of movie? I tested one and it kept the accent on the name

Re: [REL] IMDB

Posted: 2025-11-09 21:04:31
by hardkid
Hi!

Example: Faites sauter la banque! (1964)

https://disk.yandex.ru/i/7anEFwO2fj1PvQ

Re: [REL] IMDB

Posted: 2025-11-10 02:32:42
by Radagast
antp wrote: 2025-11-05 06:43:36 I fixed the IMDb script again (version 5.5.08), as the search was showing blank results.
I also fixed actors' roles.
I added a check to avoid importing actor images when ActorsImagesMode = 0, as these were always imported no matter what option was set there (so if you want these but they are not imported anymore, just check in the options on the right and set that one to 1).
For me it's working fine.
Thanks!!!

Re: [REL] IMDB

Posted: 2025-11-10 18:22:31
by antp
hardkid wrote: 2025-11-09 21:04:31 Hi!

Example: Faites sauter la banque! (1964)

https://disk.yandex.ru/i/7anEFwO2fj1PvQ
For me it works, but seeing that you use yandex.ru maybe your Windows is using Russian character set by default?
Ant Movie Catalog is not unicode, so it can only display the default non-unicode character set of Windows, so it depends on regional/language settings.
If you copy/paste accents from a web page to a movie field, does it work? (after save/reload)

Re: [REL] IMDB

Posted: 2025-11-11 06:17:32
by hardkid
Yes, my Windows is using Russian character set by default. If I copy/paste accents from a web page to a movie field, accents are gone after save/reload. So, nothing can be done in my case? It was my guess that character set was to blame, but still there was hope... Thank you anyway.

P.S. The only way out I see is to install AMC on a Hyper-V machine with European character set.

Re: [REL] IMDB

Posted: 2025-11-11 10:29:30
by antp
There may also be a way to run Ant Movie Catalog with a different character set. Years ago there was the AppLocale tool from Microsoft but it has maybe be replaced by other solutions.
Note than then you would not be able to input Cyrillic characters in it, if needed.

Re: [REL] IMDB

Posted: 2025-11-11 20:55:20
by hardkid
Hi!

Thanx, but the AppLocale tool is too old, it's not working on Windows 10. Installed VMWare Workstation - now everything's running fine.

Re: [REL] IMDB

Posted: 2025-12-06 16:04:21
by rossipaz
How can I get my catalog to look like the photos on the first page? Thanks!

Re: [REL] IMDB

Posted: 2025-12-06 22:34:53
by Radagast
rossipaz wrote: 2025-12-06 16:04:21 How can I get my catalog to look like the photos on the first page? Thanks!
This is a HTML template.
With F12 U can toggle on/off display HTML. Up in the menu DISPLAY U can select the template U want from the list or browse another ones that are in the folder templates. Or U can make your own template to make catalog look like U want

Re: [REL] IMDB

Posted: 2025-12-07 15:50:19
by rossipaz
How can I increase the resolution of the cover downloaded from Imdb? Which field should I select to download only the actor photos?

Re: [REL] IMDB

Posted: 2025-12-08 09:31:30
by antp
On the right you have a panel "Script options" that you can change, and also a panel "Script limitations" where you can specify which field can be set.
For the cover size, you can change the option "ImageKind" and also define the size in the "Script parameters" panel below the options.