IMDB (Batch) & Translated Title Problem
Posted: 2003-08-08 16:11:56
I just updated my version to 3.4.2 and decided to update everything with the IMDB batch script, and using it to import the large pictures from Amazon. Also I have it importing the original and translated titles, but does not leave the original title. When I run the script on regular movies it seems to work fine, however on foreign titles I get the following error:
"Script error: IMDB at position 15723 (unknown identifier: FINDVALUE)"
It seems to have a problem with this segment of code and in particular the line of code marked HERE:
I'm not sure what exactly is wrong, so any help is appreciated. My thoughts are that FindValue isn't a valid function (it's the only time it is used in this script), but I don't know.
UPDATE: I just found another error, it doesn't seem to be getting the large pictures at all.
Other than that I must say I've been using this program for about a year and it is the best. I can't wait to see this future version.
Thanks,
Randy
"Script error: IMDB at position 15723 (unknown identifier: FINDVALUE)"
It seems to have a problem with this segment of code and in particular the line of code marked HERE:
Code: Select all
if ImportLargePicture then
begin
// Find Alternate Titles for Movies which are not in English
Aka := '';
if Language <> 'English' Then
begin
LineNr:= FindLine('Also Known As',Page,0);
EndPos:=0;
if LineNr > -1 then
begin
Line := Page.GetString(LineNr);
repeat
Aka:= FindValue('<br>','<br>',Page,LineNr,Line); //****HERE
if Aka <> '' then
begin
BeginPos:=1;
EndPos:=Pos('(',Line);
if EndPos = 0 then
EndPos := Length(Aka);
Value := copy(Aka, BeginPos, EndPos - BeginPos - 1);
Value:=TransFormIMDBTitle(Value);
AllTitles.Add(Value);
end;
until (Pos('Runtime',Line) > 0) or (Pos('MPAA',Line) > 0 );
end;
end;
UPDATE: I just found another error, it doesn't seem to be getting the large pictures at all.
Other than that I must say I've been using this program for about a year and it is the best. I can't wait to see this future version.
Thanks,
Randy