[REL] IMDB ( via API )
Re: [REL] IMDB ( via API )
How do I set the plot language to Italian?
Re: [REL] IMDB ( via API )
Such feature is not implemented.
I'll check if it's possible.
Re: [REL] IMDB ( via API )
With 3.4.0 version you can retrieve Italian plots:
Code: Select all
3.4.0 - (2026/05/03) - New feature: You can now select the plot language with DescriptionLanguage1st.
DescriptionLanguage2nd is fallback if a plot with 1st language is not found.
If 2nd language is not found then it falls back to English.
Re: [REL] IMDB ( via API )
Hello, only one country is being retrieved for the "Country" field. Is it possible to modify the script so that all co-producer countries are taken into account? Thank you in advance.
Re: [REL] IMDB ( via API )
It depends on what you've set for the MultipleValuesCountry option.phil5660 wrote: 2026-05-04 04:43:12 Hello, only one country is being retrieved for the "Country" field. Is it possible to modify the script so that all co-producer countries are taken into account? Thank you in advance.
Re: [REL] IMDB ( via API )
By default, this is what is displayed
if GetOption('MultipleValuesCountry') = 0 then
if RegExprSetExec('^[^,]+', Countries) then
Countries := RegExprMatch(0);
SetField(fieldCountry, Countries);
What do I need to change?
if GetOption('MultipleValuesCountry') = 0 then
if RegExprSetExec('^[^,]+', Countries) then
Countries := RegExprMatch(0);
SetField(fieldCountry, Countries);
What do I need to change?
Re: [REL] IMDB ( via API )
You don't need to change there anything.phil5660 wrote: 2026-05-04 07:08:02 By default, this is what is displayed
if GetOption('MultipleValuesCountry') = 0 then
if RegExprSetExec('^[^,]+', Countries) then
Countries := RegExprMatch(0);
SetField(fieldCountry, Countries);
What do I need to change?
Re: [REL] IMDB ( via API )
Thank you for your response.
Where do I need to change the setting to select more than one country?
Where do I need to change the setting to select more than one country?
-
Dorohedoro
- Posts: 119
- Joined: 2016-12-13 00:45:45
Re: [REL] IMDB ( via API )
Actors Images script updated:
https://mega.nz/file/Zf9C2QaZ#LMK-TSysm ... p9MzqFTLMc
New selection options:
New options:
0 = choose ONE actor (pick from list)
1 = choose TWO actors (pick from list)
2 = choose THREE actors (pick from list)
3 = choose FOUR actors (pick from list)
4 = choose FIVE actors (pick from list)
5 = first FIVE actors
6 = first TEN actors
7 = add all actors
I did this for two reasons:
1- convenience to manually pick more actors because some movies are badly sorted, for example: https://www.imdb.com/title/tt0320661/reference/ the first billed is the Gravedigger
, I've made a script to solve this, but is not ready for the public yet, the same for the main script that has the same issue.
2- some weirdos like me want to have all actors in the catalog, beware, a lot of images will be downloaded if your catalog is huge, I'm working on a way for the script to share the same image for the same actors across the catalog.
Please tell me if you find bugs, thanks.
https://mega.nz/file/Zf9C2QaZ#LMK-TSysm ... p9MzqFTLMc
New selection options:
New options:
0 = choose ONE actor (pick from list)
1 = choose TWO actors (pick from list)
2 = choose THREE actors (pick from list)
3 = choose FOUR actors (pick from list)
4 = choose FIVE actors (pick from list)
5 = first FIVE actors
6 = first TEN actors
7 = add all actors
I did this for two reasons:
1- convenience to manually pick more actors because some movies are badly sorted, for example: https://www.imdb.com/title/tt0320661/reference/ the first billed is the Gravedigger
2- some weirdos like me want to have all actors in the catalog, beware, a lot of images will be downloaded if your catalog is huge, I'm working on a way for the script to share the same image for the same actors across the catalog.
Please tell me if you find bugs, thanks.
Re: [REL] IMDB ( via API )
There:phil5660 wrote: 2026-05-04 08:14:20 Where do I need to change the setting to select more than one country?

Re: [REL] IMDB ( via API )
Thank you for your help, it works !
Re: [REL] IMDB ( via API )
While we're on the topic of countries, the script has a small problem when the movie/TV episode on IMDb does not have a country listed.
sample movie: https://www.imdb.com/title/tt2326204
sample TV episode: https://www.imdb.com/title/tt1349467
First, as I run the script an error pops up: "Error: Unknown country code! Please report the error."
Then, if I click "OK" and let the script do its thing, I end up with text "movie" or "tvEpisode" in "Country" field.
Obviously, there aren't that many movies without a country, but there are indeed many such TV episodes. Neither of which presents a terrible problem with the script for me (I just delete that text and/or enter the country manually for TV episodes, it's obviously no different from the country of the series...), but I thought I'd mention it.
Note: I am using version 3.2.0 as versions 3.3.0 and 3.4.0 only have fixes/features I don't use, so I didn't see the need to update the script. If the issue I described is not present in version 3.4.0, obviously feel free to tell me off.
sample movie: https://www.imdb.com/title/tt2326204
sample TV episode: https://www.imdb.com/title/tt1349467
First, as I run the script an error pops up: "Error: Unknown country code! Please report the error."
Then, if I click "OK" and let the script do its thing, I end up with text "movie" or "tvEpisode" in "Country" field.
Obviously, there aren't that many movies without a country, but there are indeed many such TV episodes. Neither of which presents a terrible problem with the script for me (I just delete that text and/or enter the country manually for TV episodes, it's obviously no different from the country of the series...), but I thought I'd mention it.
Note: I am using version 3.2.0 as versions 3.3.0 and 3.4.0 only have fixes/features I don't use, so I didn't see the need to update the script. If the issue I described is not present in version 3.4.0, obviously feel free to tell me off.
Re: [REL] IMDB ( via API )
I tested it on a couple of movies and it works.
Could you add ''first FIFTEEN actors'' please ???
Very, very, VERY usefull2- I'm working on a way for the script to share the same image for the same actors across the catalog.
Not a bug but, I believe the picture should NOT be cut if it does not have ''standard'' ratio, or it will, in most cases, cut half of the face ou something like that.
Thank you for the work.
-
Dorohedoro
- Posts: 119
- Joined: 2016-12-13 00:45:45
Re: [REL] IMDB ( via API )
For your request (first 15 actors) that's easy. I'm not really doing this, it was claude. Just upload the script in the claude chat (free version will do) and ask for any feature there, the hard part is already done: making the script work with the api.MMM wrote: 2026-05-09 08:44:39I tested it on a couple of movies and it works.
Could you add ''first FIFTEEN actors'' please ???
Very, very, VERY usefull2- I'm working on a way for the script to share the same image for the same actors across the catalog.
Not a bug but, I believe the picture should NOT be cut if it does not have ''standard'' ratio, or it will, in most cases, cut half of the face ou something like that.
Thank you for the work.![]()
As for the image cropping, do you have an example?
Re: [REL] IMDB ( via API )
About the 15 images, I was able to change it, thank you.
About the cropping:
The template I use (Nature) also cropped the images but I was able to change it, deleting the ''height value'' and now the thumbnails show like this:


This is the picture with no cropping downloaded with the actual IMDB script...clicking the thumbnail it opens the full picture like this one..

This is the same picture with this script...clicking the thumbnail it also opens like it's shown here...cropped
I just could not find the ''height value'' to delete, I'm not a coder
Other than that, the script works fine, and also has room to improve, like ''share the same image for the same actors across the catalog''
Thank you very much.
About the cropping:
The template I use (Nature) also cropped the images but I was able to change it, deleting the ''height value'' and now the thumbnails show like this:


This is the picture with no cropping downloaded with the actual IMDB script...clicking the thumbnail it opens the full picture like this one..

This is the same picture with this script...clicking the thumbnail it also opens like it's shown here...cropped
I just could not find the ''height value'' to delete, I'm not a coder
Other than that, the script works fine, and also has room to improve, like ''share the same image for the same actors across the catalog''
Thank you very much.
-
Dorohedoro
- Posts: 119
- Joined: 2016-12-13 00:45:45
Re: [REL] IMDB ( via API )
The cropping comes from imdb, look how the image is like that in the actual website:
https://www.imdb.com/name/nm11118689/
That's why in the script there are options for the user to select, option 0 is no cropping and the result will be like in the image you shared of your catalog with no cropping.
Btw I managed (claude really) to make a script to share actor images across all movies, but it has too many moving parts (python, different folder, it's a bit of a mess really), it works for me, but is not for the public because it's weird.
https://www.imdb.com/name/nm11118689/
That's why in the script there are options for the user to select, option 0 is no cropping and the result will be like in the image you shared of your catalog with no cropping.
Btw I managed (claude really) to make a script to share actor images across all movies, but it has too many moving parts (python, different folder, it's a bit of a mess really), it works for me, but is not for the public because it's weird.