Two questions:
1) How do I go modifying the IMDB script to add the year (since it's available in the Year field) just after after the title?
e.g.
Avatar
=
Avatar 2009
2) Can the batch mode be modified to save and proceed automatically to the next record if 1 and only 1 result is found, but stopping and prompting to select the correct title in case of multiple results found?
Thanks!
IMDB - improve search precision
So you mean when updating movie info, when title & year were already filled?
Near the bottom of the script there is a line:
change it to
and it should work
Near the bottom of the script there is a line:
Code: Select all
if not Input('IMDB Import', 'Enter the title or the IMDB URL of the movie:', MovieName) then
Code: Select all
if not Input('IMDB Import', 'Enter the title or the IMDB URL of the movie:', MovieName + ' ' + GetField(fieldYear)) then
Thanks for that! i have actually worked out this version of mine:
if MovieYear = '' then
MovieYear := GetField(fieldYear);
MovieName := MovieName + ' ' + '(' + MovieYear + ')';
if GetOption('BatchMode') = 0 then
begin
if not Input('IMDB Import', 'Enter the title or the IMDB URL of the movie:', MovieName) then
Exit;
end
I did add the rounded brackets as after few tests I figured out that IMDB treat the content as a date.
e.g.
Search for (in order):
phoenix
phoenix 2014
phoenix (2014)
and spot the differences.
If I can add something here. Can we have an option into the IMDB script that consider/ignore "short movies" and "series"?
if MovieYear = '' then
MovieYear := GetField(fieldYear);
MovieName := MovieName + ' ' + '(' + MovieYear + ')';
if GetOption('BatchMode') = 0 then
begin
if not Input('IMDB Import', 'Enter the title or the IMDB URL of the movie:', MovieName) then
Exit;
end
I did add the rounded brackets as after few tests I figured out that IMDB treat the content as a date.
e.g.
Search for (in order):
phoenix
phoenix 2014
phoenix (2014)
and spot the differences.
If I can add something here. Can we have an option into the IMDB script that consider/ignore "short movies" and "series"?
Answering my own last point:
Using:
PopularTitleSearchURL = 'http://www.imdb.com/find?s=tt&ttype=ft&q=';
Will look for movies only.
The next evolution would be: do look for Movies first, if not found attempt "TV Movie", but I guess this would need substantial rewriting (may be not?)
Using:
PopularTitleSearchURL = 'http://www.imdb.com/find?s=tt&ttype=ft&q=';
Will look for movies only.
The next evolution would be: do look for Movies first, if not found attempt "TV Movie", but I guess this would need substantial rewriting (may be not?)