Search found 109 matches

by legrad
2012-09-18 18:21:20
Forum: Ant Movie Catalog > Scripts
Topic: FilmAffinity (ES) [Fix]: Oficial version v2.51
Replies: 39
Views: 17433

No entiendo los problemas del script Filmaffinity, la verdad que yo uso mi propio script desde hace un par de años y solo he visto una actualizacion de la web la cual la hicieron hara ya un año, solo he retocado mi script en una ocasion que yo recuerde, el film "Sophie Scholl: los últimos días&...
by legrad
2012-08-14 14:21:55
Forum: Ant Movie Catalog > Scripts
Topic: [ES] Cover caratulas
Replies: 4
Views: 2467

Affirmatively, does this replace the "IndexDVD"
by legrad
2012-08-14 12:18:21
Forum: Ant Movie Catalog > Scripts
Topic: [ES] Cover caratulas
Replies: 4
Views: 2467

Aqui tienes un script personal que tenia.

Code: Select all

(***************************************************

Ant Movie Catalog importation script
www.antp.be/software/moviecatalog/

[Infos]
Authors=Legrad
Title=IndexDVD caratula (ES)
Description=
Site=www.index-dvd.com
Language=ES
Version=1.1
Requires=3.5.0
Comments=
License=
GetInfo=1

[Options]

***************************************************)

 program IndexDVD;
var
  MovieName: string;
  MovieURL: string;

//------------------------------------------------------------------------------------
function Comillas(var S: string): string;
var
   n,len, tag: Integer;
   c: char;
   t: String;
begin
   tag := 0;
   t := '';
   len := length(s);
   for n :=1 to len do
   begin
     c := Copy(s,n,1);
     if c = '''' then
        c := ' ';
        t := t + c;
   end
   s := t;
   result := t;
end;
//-------------------------------------------------------------------------------
                              function FindLine(Pattern: string; List: TStringList; StartAt: Integer): Integer;
var
  i: Integer;
begin
  Result := -1;
  if StartAt < 0 then
    StartAt := 0;
  for i := StartAt to List.Count-1 do
    if Pos(Pattern, List.GetString(i)) <> 0 then
    begin
      Result := i;
      Break;
    end;
end;
//------------------------------------------------------------------------------------
                      function TextBetween(var S: string; StartTag: string; EndTag: string): string;
var
  InitialPos: Integer;
begin
  InitialPos := Pos(StartTag, S);
  if InitialPos = 0 then
    result := ''
  else
  begin
    Delete(S, 1, InitialPos + Length(StartTag) - 1);
    InitialPos := Pos(EndTag, S);
    if InitialPos = 0 then
      result := S
    else
    begin
      result := copy(S, 1, InitialPos - 1);
      Delete(S, 1, InitialPos + 1);
    end;
  end;
end;


//---------------------------------------------------------------------
function Caracter(str1: string) :string;
begin
          str1 := StringReplace(str1, 'á' , 'à');
          str1 := StringReplace(str1, 'é' , 'é');
          str1 := StringReplace(str1, 'í',  'í');
          Str1 := StringReplace(Str1, 'ó', 'ó');
          str1 := StringReplace(str1, 'ú' , 'ú');
          str1 := StringReplace(str1, 'ñ' , 'ñ');
          str1 := StringReplace(str1, 'Ã￾', 'Á');
          str1 := StringReplace(str1, 'É', 'É');
          str1 := StringReplace(str1, 'Ã￾', 'Í');
          str1 := StringReplace(str1, 'Ó', 'Ó');
          str1 := StringReplace(str1, 'Ú', 'Ú');
          str1 := StringReplace(str1, 'Ñ', 'Ñ');
          str1 := StringReplace(str1, 'Â', '');

result := str1;
end;//------------------------------------------------------------------------------------
                               function DeleteTags(var S: string): string;
var
   n,len, tag: Integer;
   c: char;
   t: String;
begin

   tag := 0;
   t := '';
   len := length(s);

   for n :=1 to len do
   begin
      c := Copy(s,n,1);


      if c = #9 then
         c := ' ';

      if(tag=1) then
      begin
         if(c='>') then tag := 0;
         continue;
      end
      else
      begin
         if(c='<') then
         begin
            tag := 1;
            continue;
         end;
         t := t + c;
      end;
   end
   s := t;
   result := t;
end;


//------------------------------------------------------------------------------------
procedure AnalyzePage(Address: string);
var
  strPage, MovieAddr, MovieTitle, MovieDate, MovieID, Movie: string;
  BeginPos, EndPos: Integer;
  BeginPoss, EndPoss: Integer;
begin
  strPage := GetPage(Address);
  BeginPos := Pos('ficha(s) encontrada(s)', strPage);
  if(BeginPos > -1)then
    begin
      PickTreeClear;
      Delete(strPage, 1, BeginPos);
      BeginPos := Pos('class=''texto3''> <a href=''http://www.index-dvd.com/', strPage);
      EndPos := 1;
      while ((BeginPos > 0) and (EndPos > 0)) do

        begin
          Delete(strPage, 1, BeginPos);
          EndPos := Pos('html', strPage);
          MovieId := Copy(strPage,+54, EndPos-54);

          MovieAddr := 'http://www.index-dvd.com/' + MovieId+'html';
          BeginPoss := Pos('title=',strPage);
          EndPoss := Pos('</td>', strPage);
          MovieTitle := Copy(strPage,BeginPoss, EndPoss);
          MovieTitle  := TextBetween(MovieTitle , '"', '" class');
          MovieTitle  := StringReplace(MovieTitle , 'DVD Video', ' (DVD)');
          MovieTitle  := StringReplace(MovieTitle , 'Cine', ' (CINE)');
          MovieTitle  := StringReplace(MovieTitle , 'Blu-Ray', ' (BLU-RAY)');
          MovieTitle  := StringReplace(MovieTitle , 'Alquiler', ' (ALQUILER)');
          DeleteTags(MovieTitle);
          MovieTitle := Caracter(MovieTitle);
          PickTreeAdd(MovieTitle,MovieAddr);
          PickTreeSort;
          BeginPos := Pos('class=''texto3''> <a href=''http://www.index-dvd.com/', strPage);
          if(Pos('</body>', strPage) < BeginPos) then
           BeginPos := -1;
        end;

    end;
    PickTreeExec(Address)
    AnalyzeMoviePage(Address);
end;
//------------------------------------------------------------------------------------
procedure AnalyzeMoviePage(Address: string);
var
  Page: TStringList;
  LineNr: Integer;
  Line: string;
  Item: string;
  dir: string;
  Comments: string;
  Actors: string;
  Directors: string;
  Description: string;
  Busca: integer;


begin
  Description := '';

  // URL
  //SetField(fieldURL, Address);

  Page := TStringList.Create;
  Page.Text := GetPage(Address);

  // Caratula
  LineNr := FindLine('[img]http://www.index-dvd.com/covers/300/', Page, 0);
  if LineNr > 0 then
  begin
    Item := copy(Page.Text, pos('[img]http://www.index-dvd.com/covers/300/',Page.Text), length(Page.Text));
    Item := TextBetween (Item, '[img]http://www.index-dvd.com/covers/300/', '[/img]');
    Item := StringReplace(Item, '300', '600');
    Item  := Trim(Item );
    HTMLDecode(Item);
    GetPicture ('http://www.index-dvd.com/covers/600/'+Item);
     end;
  end;
 //-------------------------------------------------------------------------
begin
       if (CheckVersion(3,5,0)=FALSe) then
   begin
      ShowMessage('Se requiere Ant Movie Catalog versión 3.5 o superior');
      exit;
   end;

   MovieName := GetField(fieldTranslatedTitle);
   if MovieName = '' then
            MovieName := GetField(fieldOriginalTitle);
Input('IndexDVD', 'Buscar:', MovieName);

     if(GetOption('Sin resultado') = 0) then  Input('IndexDVD', 'Buscar:', MovieName);

   AnalyzePage('http://www.index-dvd.com/calendar_ult.php?tema=&order=tit&busqueda=' + UrlEncode(MovieName)+'&Submit.x=0&Submit.y=0');
end.
by legrad
2011-12-15 22:19:48
Forum: Ant Movie Catalog > Scripts
Topic: Filmaffinity (ES) Legrad's versión
Replies: 1
Views: 1557

Filmaffinity (ES) Legrad's versión

Version sencilla del script Filmaffinity, parece ser que hay algunos problemas con otros scripts de filmaffinity, este es mi script particular a mi no me da problemas, con esto no quiero menospreciar otros scripts alabo el esfuerzo que dedican otros compañeros del foro, esto solo es una aportación m...
by legrad
2011-12-10 13:01:38
Forum: Ant Movie Catalog > Scripts
Topic: New script TMdb (EN) v1.0
Replies: 3
Views: 4621

New script TMdb (EN) v1.0

(*************************************************** Ant Movie Catalog importation script www.antp.be/software/moviecatalog/ [Infos] Authors=Legrad Title=TMdb Description= Site=http://www.themoviedb.org/ Language=EN Version=1.0 Requires=3.5.1 Comments= License= GetInfo=1 [Options] *****************...
by legrad
2011-07-03 18:55:23
Forum: Ant Movie Catalog > Scripts
Topic: Nuevo script EliteFreek V1.0 (ES) Peticion del foro
Replies: 10
Views: 4127

El script del post anterior lo he editado y ya está corregido.
Tenia unos errores siento la confusion
by legrad
2011-06-29 16:55:21
Forum: Ant Movie Catalog > Scripts
Topic: Nuevo script EliteFreek V1.0 (ES) Peticion del foro
Replies: 10
Views: 4127

CORREGIDO Version con las correcciones necesarias para carga de datos, la web cambio el codigo fuente, ahora carga caratula aunque de baja resolucion, ya que es la que esta disponible en la web, se ha añadido algunos extras en el campo comentarios. Un saludo (****************************************...
by legrad
2010-12-20 15:20:17
Forum: Ant Movie Catalog > Scripts
Topic: Scrip lost Help
Replies: 1
Views: 957

can be "template from Erez" is very similar
by legrad
2010-12-20 14:34:40
Forum: Ant Movie Catalog > Scripts
Topic: Problem with imdb script
Replies: 4
Views: 1508

test, open the window scripting mark script IMDB test in the window under right "modifiables fields" are marked fields have to be imported.

my English is not good
I am spanish
by legrad
2010-12-19 23:58:58
Forum: Ant Movie Catalog > Scripts
Topic: Nuevo script Index-DVD(ES)v1.0
Replies: 9
Views: 3115

En el foro he colgado la nueva version
by legrad
2010-12-19 23:58:13
Forum: Ant Movie Catalog > Scripts
Topic: Script IndexDVD-IMDB V1.1
Replies: 1
Views: 984

Script IndexDVD-IMDB V1.1

Version actualizada de la anterior, esta version dispone de pantalla para elegir datos entre IndexDVD y IMDB, logicamente al escoger la opcion IMDB, el script es un poco mas lento ya que tiene que manejar una segunda web la de IMDB de esta descarga el rating y una lista mas extensa del reparto. (***...
by legrad
2010-08-23 06:47:22
Forum: Ant Movie Catalog > Scripts
Topic: script BookAffinity (ES) v1.0 más archivo de lenguaje
Replies: 2
Views: 1906

ActionPreviewPageLast.Caption=Última página ActionPreviewPageLast.Hint=Última página|Ir a última página ActionPreviewPageFull.Caption=Página entera ActionPreviewPageFull.Hint=Página entera|Zoom a Página completa ActionPreviewPageTwo.Caption=Dos páginas ActionPreviewPageTwo.Hint=Dos páginas|Zoom a d...
by legrad
2010-02-10 12:34:32
Forum: Ant Movie Catalog > Scripts
Topic: Good spanish site for Information download?
Replies: 2
Views: 1436

the best script spanish for me is alpacine or filmaffinity
by legrad
2010-01-30 19:07:08
Forum: Ant Movie Catalog > Scripts
Topic: script BookAffinity (ES) v1.0 más archivo de lenguaje
Replies: 2
Views: 1906

script BookAffinity (ES) v1.0 más archivo de lenguaje

Este es un script para bajar informacion sobre libros, por si le es de utilidad a alguien, adjunto el archivo de lenguaje para el archivo de lenguaje crear un nuevo documento de texto copiar el contenido dentro de el guardar el archivo en la carpeta languages del ant movie y renombrar la extension t...
by legrad
2009-12-21 12:45:57
Forum: Ant Movie Catalog > Scripts
Topic: FilmAffinity (ES): Fix in movie pictures server url
Replies: 19
Views: 5774

Is not necessary, simply another version belongs to filmaffinty, for that he need it.

thank
by legrad
2009-12-21 08:17:17
Forum: Ant Movie Catalog > Scripts
Topic: version Filmaffinity Legrad's (ES) V 1.0
Replies: 5
Views: 2197

Acabo de editar el script de arriba, ahora si funciona vuelvelo a copiar y prueba. Se ve que cuando lo subi cambio algo de la codificacion de caracteres ahora ya esta resuelto. Normalmente siempre hago los scripts del mismo tipo, no soy programador aunque a base de observar he podido hacerlos, es un...
by legrad
2009-12-19 08:44:26
Forum: Ant Movie Catalog > Scripts
Topic: version Filmaffinity Legrad's (ES) V 1.0
Replies: 5
Views: 2197

Verdaderamente no se si se puede decir que son cambios ya que el script esta hecho desde 0 recogiendo toda la imformacion de la pagina mas las criticas, que se añaden al campo comentarios, el tema de las caratulas parece resuelto, parece que la carga de datos es un poco mas rapida o esa es mi impres...
by legrad
2009-12-17 13:57:26
Forum: Ant Movie Catalog > Scripts
Topic: version Filmaffinity Legrad's (ES) V 1.0
Replies: 5
Views: 2197

version Filmaffinity Legrad's (ES) V 1.0

Espero pueda ser de utilidad un saludo al foro (*************************************************** Ant Movie Catalog importation script www.antp.be/software/moviecatalog/ [Infos] Authors=Legrad Title=Filmaffinity Legrad's (ES) Description= Site=www.Filmaffinity.com Language=ES Version=1.0 Requires=...
by legrad
2009-12-17 13:55:33
Forum: Ant Movie Catalog > Scripts
Topic: FilmAffinity (ES): Fix in movie pictures server url
Replies: 19
Views: 5774

Mi version filmaffinity

Esta es mi propia version de filmafinity (*************************************************** Ant Movie Catalog importation script www.antp.be/software/moviecatalog/ [Infos] Authors=Legrad Title=Filmaffinity Legrad's (ES) Description= Site=www.Filmaffinity.com Language=ES Version=1.0 Requires=3.5.0 ...
by legrad
2009-11-14 08:40:58
Forum: Ant Movie Catalog > Scripts
Topic: Nuevo script Index-DVD(ES)v1.0
Replies: 9
Views: 3115

If really version is 1.1, no the 1.0.
He is an error mine.
escusme
I do not speak well English