Page 1 of 1

Script that uses year?

Posted: 2003-02-12 12:48:24
by Guest
Hello
I recently discovered this great program for movie cataloging, and in my collection is allmoust 600 movies. I had an Excel catalog which I imported in AMC. I inserted only Title and Year, the rest I wanted to search on ALLmovie guide. And there is the problem. I select all movies and then go to scripting, and run the apropriate script. But then I have to OK each movie. Can this be done automatically? Perhaps with log of unsuccesful downloads, which you then have to do manualy? Does this script take the year from catalog, or just searches by name?

Posted: 2003-02-12 13:15:10
by Guest
Basicaly what I'm asking

Can the year be taken into search
Can I add a lot of movies without approving each one.

Posted: 2003-02-12 14:23:00
by antp
If you execute the script with the Tools -> Scripting command, the script has access to the year value.
You just have to modify the script
e.g. the inputbox where you have to click "Ok" is created by the function InputBox at the bottom of the script.
If you make modifications that you want to keep, be sure to save the modified script to a new name.

Posted: 2003-02-18 07:33:44
by Guest
Thanx

I made some changes to original script, but it did not work. So I decided to use the original script. And there I got some problems. It imported the rest of the fields, but deleted the movie title. So I had to retype them in the catalog.
Did this happened to anyone else?

Posted: 2003-02-18 10:46:11
by Guest
This only happened if pictures were found. For films that did not have pictures, it was OK

Posted: 2003-02-18 10:56:02
by Guest
I was a little to quick.
From my list it deleted all titles of english movies. For nonenglish it was ok.

For example:
Spy kids
Star trek
Spirit
all deleted

Shaolin soccer
Spirited away
8 Women
Amelie

They are OK

Posted: 2003-02-18 14:10:31
by antp
Can you make a summary of what's the problem with which script ? I'm lost :)

Posted: 2003-03-03 13:15:40
by Guest
With this script:
All Movie Guide (pic).ifs from 21.1.2003

i have the following problem

First I enter all my movies (Original title and the year if I know it).
Then I go online and I use the script on this movies.
It reads the movie name I press OK and it searches the site and offers movie selection or imports the data.
At the end of process I have all of the data, but none of the titles. Except when I entered the translated title of the movie as the original.

I hope this makes a little more sense then my previous posts.

Thanks

Posted: 2003-03-03 15:00:05
by antp
At line 88, try to change

SetField(fieldOriginalTitle, GetStringFromHTML(Page, '>AKA', '</TD>', '</td>'));

to

SetField(fieldTranslatedTitle, GetStringFromHTML(Page, '>AKA', '</TD>', '</td>'));