There is a way for verity if all the File Path are correct?
Thanks
script for verify the File Path?
All the functions for scripting are described in AMC Help (F1).
Here the script to check and list movies whose file path does not exist :
Soulsnake.
Here the script to check and list movies whose file path does not exist :
Code: Select all
program CheckFilePath;
var
Path: string;
List: TStringList;
begin
if GetIteration = 0 then
begin
List := TStringList.Create;
end;
Path := GetField(fieldFilePath);
if not FileExists(Path) and not DirectoryExists(Path) then
begin
List.Add(' - ' + GetField(fieldFormattedTitle) + ' : ' + Path)
end;
if GetIteration = GetIterationCount-1 then
begin
ShowMemo('List of movies whose file path does not exist:' + #10 + List.Text);
List.Free;
end;
end.
Last edited by soulsnake on 2013-09-28 22:27:03, edited 1 time in total.