Adding year to search field

If you need help on how to use the program
Post Reply
Teebee
Posts: 111
Joined: 2005-06-04 10:46:56

Adding year to search field

Post by Teebee »

Hi,

i want to update all my movies in the catalog. All data is from imdb, but now, i want it to come from moviemeter.nl

But when i run the script, when there is more then one result, i never know which movie i should pick.

So, how can i add the year that is stored in the database, to show in the search field.

eg. "Search Results for Fair Game: " should become this: "Searchresults for Fair Game (2010) :

that way i know which year the movie was released making it easier to convert from imdb -> moviemeter.
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Hi,
You can try changing the line
PickTreeAdd('Zoekresultaten voor ' + MovieName + ' :', '');
to
PickTreeAdd('Zoekresultaten voor ' + MovieName + ' (' + GetField(fieldYear) + ') :', '');
Teebee
Posts: 111
Joined: 2005-06-04 10:46:56

Post by Teebee »

Yeah, thats the one.

I think i used to have that one, but when the script updated (its not default) it was lost and never to be found again :lol:


Thank you :grinking:
Post Reply