Personal Video Database
English => Support => Topic started by: Ivek23 on June 22, 2011, 10:05:29 am
-
sedicifilm script does not transfer information data, but finding a movies title (search titles it works).
[attachment deleted by admin]
-
Because the word 'LOCANDINA:' in your code
//Poster
curPos := Pos('LOCANDINA:',HTML);
curPos := PosFrom('src="', HTML, curPos)+5;
EndPos := PosFrom('"', HTML, curPos);
LogMessage('poster0: curpos='+ IntToStr(curPos)+' endpos='+IntToStr(EndPos));
if curPos > 0 then begin
ExtraLinks[smPoster] := Trim(Copy(HTML, curPos, EndPos - curPos));
LogMessage('Poster:' + ExtraLinks[smPoster] );
end;
sedicifilm script did not work, but when I replaced with this word '<div id="gallery_">' in your code
//Poster
curPos := Pos('<div id="gallery_">', HTML);
curPos := PosFrom('src="', HTML, curPos)+5;
EndPos := PosFrom('"', HTML, curPos);
LogMessage('poster0: curpos='+ IntToStr(curPos)+' endpos='+IntToStr(EndPos));
if curPos > 0 then begin
ExtraLinks[smPoster] := Trim(Copy(HTML, curPos, EndPos - curPos));
LogMessage('Poster:' + ExtraLinks[smPoster] );
end;
However sedicifilm script works again.
-
He made a small cosmetic correction (better appearance for the download section).
Script is attached, is also available via the program's auto-update system.
[attachment deleted by admin]