Personal Video Database

English => Support => Topic started by: Ivek23 on June 22, 2011, 10:05:29 am

Title: sedicifilm script does not transfer data info
Post 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]
Title: Re: sedicifilm script does not transfer data info
Post by: Ivek23 on June 28, 2011, 05:21:48 am
Because the word 'LOCANDINA:' in your code

Code: [Select]

//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

Code: [Select]

//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.



Title: Re: sedicifilm script does not transfer data info
Post by: Ivek23 on January 14, 2013, 11:02:36 am
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]