Page 1 of 1
Automation of search
Posted: 2009-11-05 21:29:09
by lolo1410
Hello,
I have a little question.
I would like automate the search of my movies. I use "Avilister" and so, all my movies are in AMC but after, the work is huge.
For every movie, I must confirm the name of every title, click on "save" and if the title is not found, search in the list to pass on the next movie and to have the same probleme again and again... I have 300movies so it's a long time to pass front of the computer...
Is it possible to make that without personal intervention ? And for example, if the title is not found, put it at the end of the list ?
Thanks a lot,
Laurent
Posted: 2009-11-05 23:31:56
by antp
Hi,
You can already skip the "save" step by unchecking the "show results" option or using tools->scripting command instead of movie->getinfo->fromscript
To skip the title confirmation, either modify the code of the script (that part is located at the bottom of most of the script: there is a line calling the "input" function) or check the options of the script that you use: some scripts have batch options (sometimes called differently) to skip some confirmations.
Posted: 2009-11-06 10:30:38
by lolo1410
Thanks for this quickly response.
I find the option "Show Result" but nothing well in the script.
Did you know if the script for "Allocine" contains an option like this ?
Posted: 2009-11-06 23:27:45
by bad4u
lolo1410 wrote:Did you know if the script for "Allocine" contains an option like this ?
Allocine script has an option "Type de Lancement", which you can use to partly automate the scripting process, it will choose first result from results list automatically then. For other scripts look for an option that's named "batch mode" or similar (e.g. IMBD script). Not all scripts have such options.
Results for fetching the correct movie may vary depending on the results list from corresponding website - the script cannot
decide if the result is the correct one.
And you will have to hand over the correct title to the script, e.g. correct title on field "Original title", "Translated title" or a correct url (depends on script options again).
Every other script could be changed to use some kind of batch mode, too, but you might need some basic programming knowledge for that.
Note: On specific Allocine questions you might want to use
this thread.
Posted: 2009-11-08 16:37:07
by Raoul_Volfoni
bad4u wrote:it will choose first result from results list automatically ...
the script cannot decide if the result is the correct one.
That's not quite correct. ...
When you choose to put the option "Type de lancement" ("Type of launch") to 0. The allocine script use a function call "trouveResultat" ("foundResult") to compare the wanted title with the results from results list. The script stop the research when it found the first good compare result. Of course it can be not the good one, but it's better than take the first result from the results list. I'm not sure to be clear.
Posted: 2009-11-09 06:47:53
by bad4u
Raoul_Volfoni wrote:bad4u wrote:it will choose first result from results list automatically ...
the script cannot decide if the result is the correct one.
That's not quite correct. ...
When you choose to put the option "Type de lancement" ("Type of launch") to 0. The allocine script use a function call "trouveResultat" ("foundResult") to compare the wanted title with the results from results list. The script stop the research when it found the first good compare result. Of course it can be not the good one, but it's better than take the first result from the results list. I'm not sure to be clear.
So "meilleur" does not mean "first" but "best". Well, it was just a guess, I did not use a translator for that and only understand few words french.
Nonetheless, the script still cannot decide if the result is the correct one
Posted: 2009-11-09 09:56:18
by antp
Indeed, it tries to find the best one, but as always automated process can fail.