[REL] IMDB (Actors images)
[REL] IMDB (Actors images)
hi there,
this is my first release of the script "IMDB (Actor images)".
The intention of this script is to automaticly fill movie extras with some actor images from IMDB. You can use template "Rainbow Seagull" to see the result in HTML-view.
You should preventively for now use the script with a BACKUP catalog first.
How it works:
- Pls. first set up your favorite import method for the extra pictures in the AMC preferences.
- Open your catalog (a catalog is needed).
- The script has different options which can be set in the scripting window. These are essential for the function of the script. For the first time you import images, you should use the default options (0,0,1) which imports you additional five actor images to the category "Actors" for every choosen movie. The selection of actors is given by IMDB which normaly includes the main actors.
Options:
# BatchMode: Needs some more fixing, pls. use value 0 for now.
# ImageLayout: There is a fast and a slow import method. Normaly the fast method works nice for almost all actors, but sometimes the image is one with a wrong cut. The slow method imports the images as seen on IMDB actor page but takes twice as long.
# SelectionMode: This is usefull if you already have your actor images imported and want to exchange some of them.
A good method for importing is to:
- select your movies and run the script with default options (0,0,1) and choose SELECTED movies.
- have a look into your new extra pictures. if there is a bad image select it (blue background) and check the movie (in the movie title). You can select more than one image and check more than one movie.
- start script again with options (0,1,2) and choose CHECKED movies. The script will now replace all selected images from all checked movies with a perhaps better image.
Well, that should give you now a comfortable way to fill up your extras with a lot of actor pictures. You can of course add/change individual images without the script.
IMDB (Actor images).ifs
cheers
J.
this is my first release of the script "IMDB (Actor images)".
The intention of this script is to automaticly fill movie extras with some actor images from IMDB. You can use template "Rainbow Seagull" to see the result in HTML-view.
You should preventively for now use the script with a BACKUP catalog first.
How it works:
- Pls. first set up your favorite import method for the extra pictures in the AMC preferences.
- Open your catalog (a catalog is needed).
- The script has different options which can be set in the scripting window. These are essential for the function of the script. For the first time you import images, you should use the default options (0,0,1) which imports you additional five actor images to the category "Actors" for every choosen movie. The selection of actors is given by IMDB which normaly includes the main actors.
Options:
# BatchMode: Needs some more fixing, pls. use value 0 for now.
# ImageLayout: There is a fast and a slow import method. Normaly the fast method works nice for almost all actors, but sometimes the image is one with a wrong cut. The slow method imports the images as seen on IMDB actor page but takes twice as long.
# SelectionMode: This is usefull if you already have your actor images imported and want to exchange some of them.
A good method for importing is to:
- select your movies and run the script with default options (0,0,1) and choose SELECTED movies.
- have a look into your new extra pictures. if there is a bad image select it (blue background) and check the movie (in the movie title). You can select more than one image and check more than one movie.
- start script again with options (0,1,2) and choose CHECKED movies. The script will now replace all selected images from all checked movies with a perhaps better image.
Well, that should give you now a comfortable way to fill up your extras with a lot of actor pictures. You can of course add/change individual images without the script.
IMDB (Actor images).ifs
cheers
J.
Update
Hi all,
here comes an update with nice new features.
Pls. notice that this script ist for AMC v4.2 only and currently for testing purposes. It is designed to be used "on top" of you favourite script.
You can tell me any issues with the script here in the forum.
For now pls. dl the script from the link below, after some more testing it will be available at script dl page.
What´s new?
You can now dl actor pictures for all your movies at one go in background without your attention. The script uses the first movie title found by IMDB which CAN be the wrong one. The more exact your movie title the better the result is. In my case it worked correctly for over 90% of my movies.
In case you got totally wrong actors from batch process (because of a wrong title) and want to replace them manually with the right ones, the script tries to detect this and adds you 5 new actors instead.
This can be usefull if you´re not sure you got the right or wrong actors from the batch process.
Special characters in actors name/role should be shown correctly now (tested with german umlaute and some french chars).
You can now add five or ten actors or you can choose a particular one from the actors list (a selection window will pop up).
Usefull if you want to have six/seven/eleven actors or a special selection.
You can now exchange already added actors, which means you select one or more you want to change and choose another one.
(a selection window will pop up for every actor to change).
It´s now possible to add only actors with an image, this also works for selection and exchange.
Usefull if you don´t want to have actors with "empty" pictures in your extras/HTML template.
The combination of these options will sometimes look contradictory, the script then tries to do the most useful procedure.
It is absolutely necessary to think about the options BEFORE you start the script.
If you are lazy and just want to have some actor pictures, then you should start with the standard settings.
have fun.
Update to v1.2
- Add: Option to select number of actors for import (1 choosable, first 5, first 10)
- Add: Option to exchange selected actor(s)
- Add: Option for image demand (adds only actors with image)
- Add: Batch mode integration
- Fix: Special characters are now correctly shown
- Add: Script now tries to detect a different movie when replacing pictures and adds five additional pictures instead of replacing
IMDB (Actor images).ifs
here comes an update with nice new features.
Pls. notice that this script ist for AMC v4.2 only and currently for testing purposes. It is designed to be used "on top" of you favourite script.
You can tell me any issues with the script here in the forum.
For now pls. dl the script from the link below, after some more testing it will be available at script dl page.
What´s new?
You can now dl actor pictures for all your movies at one go in background without your attention. The script uses the first movie title found by IMDB which CAN be the wrong one. The more exact your movie title the better the result is. In my case it worked correctly for over 90% of my movies.
In case you got totally wrong actors from batch process (because of a wrong title) and want to replace them manually with the right ones, the script tries to detect this and adds you 5 new actors instead.
This can be usefull if you´re not sure you got the right or wrong actors from the batch process.
Special characters in actors name/role should be shown correctly now (tested with german umlaute and some french chars).
You can now add five or ten actors or you can choose a particular one from the actors list (a selection window will pop up).
Usefull if you want to have six/seven/eleven actors or a special selection.
You can now exchange already added actors, which means you select one or more you want to change and choose another one.
(a selection window will pop up for every actor to change).
It´s now possible to add only actors with an image, this also works for selection and exchange.
Usefull if you don´t want to have actors with "empty" pictures in your extras/HTML template.
The combination of these options will sometimes look contradictory, the script then tries to do the most useful procedure.
It is absolutely necessary to think about the options BEFORE you start the script.
If you are lazy and just want to have some actor pictures, then you should start with the standard settings.
have fun.
Update to v1.2
- Add: Option to select number of actors for import (1 choosable, first 5, first 10)
- Add: Option to exchange selected actor(s)
- Add: Option for image demand (adds only actors with image)
- Add: Batch mode integration
- Fix: Special characters are now correctly shown
- Add: Script now tries to detect a different movie when replacing pictures and adds five additional pictures instead of replacing
IMDB (Actor images).ifs
Update to v1.2.1
- Added used movie URL in first actors comments
- Script deletes actors name from role "(as ...)"
First new feature is usefull if you used batch mode and not sure if the script took the pictures from the right movie.
Second one is used in case that the actors name ist listed in the role again.
The script will be avail. at script dl page soon.
Wish you all a happy new year.
J.
- Added used movie URL in first actors comments
- Script deletes actors name from role "(as ...)"
First new feature is usefull if you used batch mode and not sure if the script took the pictures from the right movie.
Second one is used in case that the actors name ist listed in the role again.
The script will be avail. at script dl page soon.
Wish you all a happy new year.
J.
Update to v1.2.2
- Added connection error handling
If you use batch mode, the script running time can be a couple of hours for hundreds or thousands of movies (in my case around 1h for 400 movies).
Sometimes different connection errors can meanwhile occur and the script normaly stops and waits for your action - what makes the batch run useless.
The new error handling will now continue the script with the next picture or movie in line and shows you an information window, about the error(s) and the movie at which they occured, at the end of the batch run.
The script will be avail. at script dl page.
have fun.
J.
- Added connection error handling
If you use batch mode, the script running time can be a couple of hours for hundreds or thousands of movies (in my case around 1h for 400 movies).
Sometimes different connection errors can meanwhile occur and the script normaly stops and waits for your action - what makes the batch run useless.
The new error handling will now continue the script with the next picture or movie in line and shows you an information window, about the error(s) and the movie at which they occured, at the end of the batch run.
The script will be avail. at script dl page.
have fun.
J.
Hello Arturo,
well yes, technically this could be done by the script, but I don´t know what this is supposed to be good for? It doesn´t make much sense to me to start the script a second time for adding the same pictures again (and deleting the existing ones, which means replacing the actors by itself).
You can start the script multiple times e.g. to change the picture of an actor (IMDB provides some different ones) or to exchange an actor by another one. You can set/change this in the options. But for both cases you want to keep the extras you downloaded before.
It might be the case when you already have five actors in your extras and want to have five different more. Then yes, you have to download all ten again and delete the first five because script always starts with the first actor from IMDB. You can choose a specific one from the list when you add only one single actor, but that's uncomfortable for more than one or two.
Well, I perhaps can add an option to only dl "new" actors or something without deleting the existing ones, but I don't want to get it too complicate to use.
Another point is that I don't like a script to automatically delete things from the database (without notice of the user). But you can very easy write another script to delete the specific extras an run this before.
If there is a scenario I don't see, pls. tell me.
cheers
J.
well yes, technically this could be done by the script, but I don´t know what this is supposed to be good for? It doesn´t make much sense to me to start the script a second time for adding the same pictures again (and deleting the existing ones, which means replacing the actors by itself).
You can start the script multiple times e.g. to change the picture of an actor (IMDB provides some different ones) or to exchange an actor by another one. You can set/change this in the options. But for both cases you want to keep the extras you downloaded before.
It might be the case when you already have five actors in your extras and want to have five different more. Then yes, you have to download all ten again and delete the first five because script always starts with the first actor from IMDB. You can choose a specific one from the list when you add only one single actor, but that's uncomfortable for more than one or two.
Well, I perhaps can add an option to only dl "new" actors or something without deleting the existing ones, but I don't want to get it too complicate to use.
Another point is that I don't like a script to automatically delete things from the database (without notice of the user). But you can very easy write another script to delete the specific extras an run this before.
If there is a scenario I don't see, pls. tell me.
cheers
J.
Hi J
First of all thanks for your script. It is very useful for me.
I understand your point of view and this is correct.
My case is that I had been randomly testing your script with different options and now wanted to make a batch with large groups of records, and for that I have to choose 0 or 1 in the SelectionMode option for all records, and then:
If I choose 0 extras where data exist are duplicated.
If I choose 1 then blank records are not updated.
But this is not important, as you say, I can delete them using a local script or modify your script temporarily adding the function ClearExtrasOfScript.
Thanks for your quick response.
All the best
Arturo
PD.
Have you thought about adding director image?
First of all thanks for your script. It is very useful for me.
I understand your point of view and this is correct.
My case is that I had been randomly testing your script with different options and now wanted to make a batch with large groups of records, and for that I have to choose 0 or 1 in the SelectionMode option for all records, and then:
If I choose 0 extras where data exist are duplicated.
If I choose 1 then blank records are not updated.
But this is not important, as you say, I can delete them using a local script or modify your script temporarily adding the function ClearExtrasOfScript.
Thanks for your quick response.
All the best
Arturo
PD.
Have you thought about adding director image?
It would help to know what is the error
Possibly the same HTTPS problem as with the main IMDB script?
viewtopic.php?t=6486
(works fine with latest beta, but not with the older stable release)
Possibly the same HTTPS problem as with the main IMDB script?
viewtopic.php?t=6486
(works fine with latest beta, but not with the older stable release)
-
- Posts: 39
- Joined: 2016-12-13 00:45:45
hi dorohedoro,
the error means that 5 pictures for movie number 115 haven't been downloaded for any reason.
What I'm missing in the error message is the movie title, so you should first take a look in you db there, that's perhaps the reason.
Then you should look at IMDBs webpage for this movie and see if they provide any actor pics for this movie.
another reason can be a temporary error with IMDB server or your connection, so try to dl the pics for movie 115 again.
pls. tell me if there are still problems.
J.
the error means that 5 pictures for movie number 115 haven't been downloaded for any reason.
What I'm missing in the error message is the movie title, so you should first take a look in you db there, that's perhaps the reason.
Then you should look at IMDBs webpage for this movie and see if they provide any actor pics for this movie.
another reason can be a temporary error with IMDB server or your connection, so try to dl the pics for movie 115 again.
pls. tell me if there are still problems.
J.
-
- Posts: 39
- Joined: 2016-12-13 00:45:45
ok, only to be sure about the preconditions:
- your AMC version must be v4.2.1 [BETA] - find here: viewtopic.php?t=4844&
Don't worry about the BETA status, it's working fine.
- script is v1.2.2.2 from 29/12/2013
- the default options are:
BatchMode = 0
SelectionMode = 0
NumberofActors = 1
ActorImage = 0
ImageLayout = 1
I tested it with movies 'sully' and 'yoga hosers' and it worked fine for me.
Do you get a movie selection window when you start the script (e.g. with movie 'sully')?
can you create a new catalog with just one movie 'sully' and try the script again pls.?
- your AMC version must be v4.2.1 [BETA] - find here: viewtopic.php?t=4844&
Don't worry about the BETA status, it's working fine.
- script is v1.2.2.2 from 29/12/2013
- the default options are:
BatchMode = 0
SelectionMode = 0
NumberofActors = 1
ActorImage = 0
ImageLayout = 1
I tested it with movies 'sully' and 'yoga hosers' and it worked fine for me.
Do you get a movie selection window when you start the script (e.g. with movie 'sully')?
can you create a new catalog with just one movie 'sully' and try the script again pls.?
-
- Posts: 39
- Joined: 2016-12-13 00:45:45
-
- Posts: 39
- Joined: 2016-12-13 00:45:45
hi dorohedoro,
normaly the script just changes the '&' to an 'and' and for most of the movies it works. In this particular case Percy Jackson & the Olympians or Love & Mercy the movie title seems not fit to one in the IMDB database, but just Percy Jackson should then show some result, which is not.
Normally it also works if you use the exact title as shown at IMDBs webpage, but not in this case
I'll have a look on this, for now pls. use the good old copy & paste for this movie.
Are there some more movies not working? Can you give me some examples?
normaly the script just changes the '&' to an 'and' and for most of the movies it works. In this particular case Percy Jackson & the Olympians or Love & Mercy the movie title seems not fit to one in the IMDB database, but just Percy Jackson should then show some result, which is not.
Normally it also works if you use the exact title as shown at IMDBs webpage, but not in this case
I'll have a look on this, for now pls. use the good old copy & paste for this movie.
Are there some more movies not working? Can you give me some examples?
-
- Posts: 39
- Joined: 2016-12-13 00:45:45
Update to v1.2.3
hi there,
just a little update solving the 'no result'-message when searching for movies, especially with a '&' in the title.
(thx Dorohedoro for the info, shame on me, I haven't noticed this yet because I'm using the script quite rare )
IMDB has the option for an exact title search, which means you more or less need the very exact title to get a result. For example sometimes you can replace the '&' by 'and', sometimes not. You also have to type in the complete title, which is normally the case but there are movies with a very long title nobody can remember exactly.
-> Try 'Thelma & Louise', 'Peter & the wolf' and 'Percy Jackson & the Olympians: The Lightning Thief'
There is another (usual) way of searching called popular search, which is more fuzzy and returns a lot more results.
I added a new option 'ExactTitle' and changed the default search to popular search.
- Use 'popular search' in case you are lazy typing in the whole title, don't know the exact title, don't get a result from title search or just everytime.
- Use 'exact title' in case you are sure you know the complete and exact title.
So why use exact title anyway? well, the result list is mostly much shorter and with better results -> try the movies 'Fall', 'Terminator' or 'Z'
(btw. IMDB also had some problems with their exact title search function until end of last year, but should work now.)
you can dl from server soon.
cheers
J.
hi there,
just a little update solving the 'no result'-message when searching for movies, especially with a '&' in the title.
(thx Dorohedoro for the info, shame on me, I haven't noticed this yet because I'm using the script quite rare )
IMDB has the option for an exact title search, which means you more or less need the very exact title to get a result. For example sometimes you can replace the '&' by 'and', sometimes not. You also have to type in the complete title, which is normally the case but there are movies with a very long title nobody can remember exactly.
-> Try 'Thelma & Louise', 'Peter & the wolf' and 'Percy Jackson & the Olympians: The Lightning Thief'
There is another (usual) way of searching called popular search, which is more fuzzy and returns a lot more results.
I added a new option 'ExactTitle' and changed the default search to popular search.
- Use 'popular search' in case you are lazy typing in the whole title, don't know the exact title, don't get a result from title search or just everytime.
- Use 'exact title' in case you are sure you know the complete and exact title.
So why use exact title anyway? well, the result list is mostly much shorter and with better results -> try the movies 'Fall', 'Terminator' or 'Z'
(btw. IMDB also had some problems with their exact title search function until end of last year, but should work now.)
you can dl from server soon.
cheers
J.