Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ivek23

Pages: [1] 2 3 4 5 6 ... 109
1
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: June 20, 2019, 08:19:06 am »
I'm having this since two weeks ago.

I'm scanning with IMDB.

Same error:
IMDB_[EN][HTTPS].psf V 1.4.1.0 (10/02/2019)

For now 2 movies triggered the error:
https://www.imdb.com/title/tt1210059/ Flying Lessons (2010)

https://www.imdb.com/title/tt1877647/ Ghoul (2012)

Seems the movies with this error have no Plot Keywords

Thanks for the error message. It's true, what you have already mentioned, that your movie titles have no Plot Keywords. I corrected this error.

Quote
CHANGE LOG :
            V 1.4.1.1 (20/06/2019) Ivek23: ParsePage_PLOTKEYWORDS small corrections and fix in the parts of the code 18-19/6/2019 forum alerts.
.
.
.
Function ParsePage_IMDBMoviePLOTKEYWORDS(HTML:String):Cardinal; //BlockOpen
    //Returns:
    //     Result:=prFinished; Script has finished gathering data
    //     Result:=prError; If ¿any big problem? with exit
    //Retrieve: ~Tags~
  Var
      curPos,endPos,index:Integer;
      //curPos,endPos:Integer;
      //ItemValue:String;
     ItemValue,ItemList:String;
     //Category,URL,Name:String;
     Category,Name:String;
     ItemArray:TWideArray;    
  Begin
    LogMessage('Function ParsePage_IMDBMoviePLOTKEYWORDS BEGIN======================|');
    Result:=prFinished;  //It will change to prError if any big problem with exit;   
   //Get "Plot Keywords" info
    curPos:=Pos('<h1 class="header">Plot Keywords</h1>',HTML);
    if (curPos=0) then Exit;
    EndPos:=curPos;   
   //Get "Plot Keywords" info
   //If Pos('<h1 class="header">Plot Keywords</h1>',HTML)>0 Then Begin
   curPos:=Pos('<h1 class="header">Plot Keywords</h1>',HTML);
   If 0<curPos Then Begin   
      EndPos:=curPos;   
      Category:=TextBetween(HTML,'<h1 class="header">','</h1>',True,curPos);
      LogMessage('      Get result Category:'+Category+'||');
      Name:=TextBetween(HTML,'<div class="header"><div class="nav"><div class="desc">','</div></div></div>',True,curPos);
      LogMessage('      Get result Name:'+Name+'||');
      AddCustomFieldValueByName('Plot Keywords','<link url="'+GetFieldValueXML('url')+'keywords">'+Category+'</link>'+'     '+Name);
   End;         
   //Get "Plot Keywords" info
If (Pos('It looks like we don'+Chr(39)+'t have any Plot Keywords for this title yet.',HTML)>0) then Exit;
   curPos:=Pos('<h1 class="header">Plot Keywords</h1>',HTML);
   If 0<curPos Then Begin   
      //EndPos:=curPos;
      //Go Tags list
      curPos:=Pos('<table class="dataTable evenWidthTable2Col"><tbody>',HTML);
      curPos:=curPos+Length('<table class="dataTable evenWidthTable2Col"><tbody>');
      endPos:=PosFrom('</table>',HTML,curPos);
      //ItemList:=Copy(HTML,curPos,endPos-curPos);
      ItemList:=Trim(Copy(HTML,curPos,endPos-curPos));
      curPos:=Pos('tp://ogp.me/ns#"',ItemList);
        If 0<curPos then ItemList:=Copy(ItemList,0,curPos-1);
      ItemList:=RemoveTagsEx(ItemList);      
      ItemList:=StringReplace(ItemList,'    </div>','|',True,True,False);               
      ItemList:=RemoveTags(ItemList, False);
      //LogMessage('           Parse results ('+IntToStr(curPos)+','+IntToStr(endPos)+') complex ItemList:'+ItemList+'||'+#13);         
      //LogMessage('           Parse results ItemList:'+#13+ItemList+' ||');
      //LogMessage('           Parse results ItemList: '+ItemList+' ||');
      ExplodeString(ItemList,ItemArray,'|');
      For index:=Low(ItemArray) To High(ItemArray) Do Begin        //Remember index begin in 0
            If (index=PLOTKEYWORDS_LIMIT) Then break;     //Limited depassed. Compares with = (not with >) because index begin in 0
         ItemValue:=ItemValue+ItemArray[index]+', ';
         LogMessage('    Get result Keyword: #'+IntToStr(index+1)+' | '+ItemArray[index]+', '+'||');
      End;
      index:=index+1;      
      If ItemValue <> '' then AddFieldValueXML('tags',ItemValue);
      LogMessage('      Get result Plot Keywords: '+ItemValue+'||');
    End;   
    LogMessage('Function ParsePage_IMDBMoviePLOTKEYWORDS END=====================||');
  End; //BlockClose

It's attached IMDB_ [EN] [HTTPS] V 1.4.1.1 script.

2
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: June 18, 2019, 03:44:12 pm »
I'm having this since two weeks ago.

I'm scanning with IMDB.

Which IMDB version of the script, or which IMDB script you are using. Which film title is problematic for this error. We need the name and url of the movie title to help solve the problem.

3
Support / Re: How do you do series?
« on: May 20, 2019, 07:00:43 am »
I tried the Proxomitron once, I followed the instructions but it was not working for me. I never tried again. A few months later this mod apppeared and I'm coming back to complete the database

Do you remember what was wrong, that it did not work at the time? Maybe I can help you. If all Proxomitron files and PVD settings are correct, this should work for you because it works normally with me, without any problems.

Hello guys, just wondering,  I have an old PVD file, series used to have a tree with seasons and one entry for each episode, but I can't do that now.
How do you manage? Is there an option?, Is there a script?  :P

I've repaired scripts and work with the Proxomitron program.

Unfortunately, without the Proxomitron program, your problem is currently not solved.

4
Support / Re: How do you do series?
« on: May 19, 2019, 08:36:32 am »
Have you ever used the Proxomitron program? If you have used it before, it will then be easier to solve the problem, because you already know some details that are necessary for its operation. Tell us, otherwise, take a moment to look at and read Proxomitron - the next https solution for PVD topic.

5
Support / Re: How do you do series?
« on: May 19, 2019, 08:27:42 am »
Quote
Hello guys, just wondering,  I have an old PVD file, series used to have a tree with seasons and one entry for each episode, but I can't do that now.
How do you manage? Is there an option?, Is there a script?  :P
I'm using the Portable Personal Video Database 1.0.2.7 MOD

The series entries I have I made them long ago, with older versions of PDV, I can still see the entries, but I can't make any more

For Personal Video Database 1.0.2.7 MOD currently does not have any IMDb script to download and edit the episode and probably will not be in the future. There is, however, the possibility that this will work through the Proxomitron program. At the moment, I do not have much time right now, but at least I'll check if it works and let you know if it's possible to help and solve the problem.

6
Support / Re: How do you do series?
« on: May 17, 2019, 07:48:21 am »
What version of PVD are you using?

Then I will answer your question more easily.

7
Talk / Re: Videodb.info news
« on: May 07, 2019, 07:08:52 am »
Good news:
Web page videodb.info will operated for yet at least one year.


8
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: April 14, 2019, 07:16:15 am »
We will add and edit this in the following updates.
Will this be arranged with the next update, but it will be necessary to make for each script its own custom field to save the url of the address. Each update in this field changes the record and needs to be corrected. Also, in the scripts, it will be necessary to add this part of the code to the custom field.

9
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: March 21, 2019, 08:12:29 am »
We will add and edit this in the following updates.

10
Support / Re: Rottentomatoes.com [HTTPS] issue with downpage.htm
« on: March 21, 2019, 07:56:36 am »
Is it just me, or Rottentomates script doesn't get ratings anymore? Thanks in advance!

Not only for you, this applies to anyone using the Rottentmatoes script.

Quote
... and Rottentmatoes script doen't get ratings any more, I will not use batch files, because it's useless. Thank you...

Yes,  Rottentmatoes script needs more code corrections due to changes in source code on wer pages.

11
Support / Re: AllMovie Https?
« on: March 21, 2019, 07:51:35 am »
Thank you for your answer dear Ivek. Whenever it would be feasible I'd be happy to use this script in PVD MOD without Procomitron.

Thank you, but we will see what to do in the future, but, as far as I can see quickly, with a lot of effort and problems due to the specificity of the AllMovie website. Primary AllMovie web pages are not as problematic as secondary AllMovie websites (such as Review and others).

12
Support / Re: .BATCH files
« on: March 21, 2019, 07:42:47 am »
Hello Ivek. I'm using PVD_1.0.2.7_MOD-V20180922. You were right, it's not about .dll files, it was something with .batch files that I don't understand:

This batch file works:

NAME=AllMovie.com+RottenTomatoes HTTPS
DESC= AllMovie.com+RottenTomatoes HTTPS
TYPE=2
EXECUTE=FilmAffinity_[EN][HTTPS].psf|IMDB_[EN][HTTPS].psf|

This .batch file is OK and works.

and this one doesn't:

NAME=AllMovieHTTPS+RottenTomatoesHTTPS+IMDBFull
DESC= AllMovieHTTPS+RottenTomatoesHTTPS+IMDBFull
TYPE=2
EXECUTE=AllMovie.com HTTPS.psf|Rottentomatoes_[HTTPS].psf|Imdb Title, Original Tile and Year.psf|FilmAffinity_[EN][HTTPS].psf|Imdb Url on the first page and IMDbID.psf|IMDB_[EN][HTTPS].psf|


... while basically there is no differences between them except about the scripts that are used. Weird.

This .batch file is not ok and does not work due to IMDB_ [EN] [HTTPS] .psf (proxy connection problem).

In PVD settings, the proxy Internet connection must be turned off, otherwise IMDB_ [EN] [HTTPS] .psf script does not work properly.

Removing IMDB_ [EN] [HTTPS] .psf from the .batch file should solve the problem.

But, since it's not possible at the moment to make AllMovie script without Proxomitron, and Rottentmatoes script doen't get ratings any more, I will not use batch files, because it's useless. Thank you...

Yes and Rottentmatoes script needs more code corrections due to changes in source code on wer pages.

13
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: March 16, 2019, 09:11:59 am »
Quote from: VVV_Easy_Programing
Quote from: Ivek23
Attach it (in 7z or zip formats) to a forum in this topic for other users, which is then added as custom.lng to its PVD program folder.
This is a good idea: If people attach here his Custom.lng files I'll include its in the MOD version (even perhaps I can do a little batch program in order to ask to user and tralate PVD auto).

Slovenian.lng file for PVD and PVD MOD 1.0.2.7 version you will find on this link:

http://www.videodb.info/forum_en/index.php/topic,1752.msg20918.html#msg20918

14
Development / Re: Slovenian language
« on: March 16, 2019, 09:04:58 am »
Slovenian translation for PVD 1.0.2.7.

Small fixes.

Slovenian.lng is renamed to custom.lng and copied to the program folder. PVD and PVD MOD 1.0.2.7 version then works in the Slovenian language.

Slovenian.lng is attached.

15
Support / Re: Possibles improving Custom Fields working in MOD version
« on: March 08, 2019, 09:22:23 pm »
Hello, and thank you, thank you, thank you for your great work, guys!

I wanted to ask you if it's possible to include custom fields "IMDb.com", "AllMovie.com", "Rottentomatoes.com" and "FilmAffinity.com" in the scripts?

Thank you in advance!

Of course, it depends on why you will need them, or for what purpose is the transfer of information that you need (what you will download to these custom fields).

16
Support / Re: AllMovie Https?
« on: March 08, 2019, 08:31:10 am »
Hello guys and please receive our bow to your great work!

Thanks.

I wanted to ask you if there is possibility to use AllMovie.com HTTPS.psf script without Proxomitron in PVD MOD? If there is possibility, but it is too much work for you, how we, without programming knowledge, could achieve it?

Any feedback is greatly appreciated.

Thank you in advance.

Of course it exists, but it would be a great deal worth putting in to make the script reorder for the PVD MOD version. Without programming knowledge more difficult. Currently, it does not go without Proxomitron.

Otherwise, I have now little or I do not have time for this, but also when there are moments that I have time, I am fixing and doing many tests on multiple IMDB scripts.

This is definitely a big challenge for the adaptation of the AllMovie.com HTTPS script. We will see in the future what can be done in this direction. Of course, some other users would also want to use this script in the PVD MOD version.

17
Support / Re: .BATCH files
« on: March 08, 2019, 07:42:46 am »
Which version of PVD is used. The PVD MOD version does not use original .dll files, but only .psf files (this is scripts). We need a PVD version to help you solve the problem.

18
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: March 07, 2019, 03:44:07 pm »
Nice work and congratulations that something has just succeeded.

Ok
i'm translating language file
as soon as i will end it, i will give it to you, so that you can include it also in the installation files.

You do not send it to me, because I can not add it to the installation files. Attach it (in 7z or zip formats) to a forum in this topic for other users, which is then added as custom.lng to its PVD program folder.

just another thing
i read in the script that:
"TheMovieDB "keywords" info goes to ~tags~ PVD field"
but i can see that all the tags (TheMovieDB Keywords) are still in english (see image attached)

can you suggest to me how to solve it ?

It will probably be everywhere because it is not translated into the Italian language. Unfortunately, this can not be corrected. There is, however, the possibility that it will be OK when the website is also translated into the Italian language.

19
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: March 07, 2019, 08:22:20 am »
Hallo
first of all, thanks for this grat job
i discovered it only now

Thanks for the name of the program's author and others, who help the program continue to work in some way.

1) is there a localized version of PVD in Italian ? if not, is there a way to contribute to create it ?

If you use 0.9.9.21 version, it already has an Italian translation. V1.0.2.7 does not have an Italian translation. However, there is a possibility to translate the english.rc file into the Italian language and rename it to custom.lng and copy it to the program folder. Now PVD will be in your language.

More info:
http://www.videodb.info/forum_en/index.php/topic,3186.msg15802.html#msg15802


The english.rc file is attached.


2) i would like to have the search script work for italian movie (so to add also [IT] language to script, but i don't know what to do.

In the script, add the following as shown below
Quote
  SCRIPT_LANG  = $09; //English //$0a es-Spanish   $0c fr-French   $09 en-English   $10 it-Italian
of course, if the website supports or is in the Italian language. A good example of this is TMDB web page.

There is currently no operating script for the PVD MOD version in the Italian language.

Perhaps what works in v0.9.9.2.1 and v1.0.2.7 with the help of
Proxomitron program, where it is necessary to add certain web pages in default.cfg, so that everything works together.

Write the addresses and links for which web pages you need, then we will then see what can be edited and helped.

20
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: March 01, 2019, 08:54:27 pm »
IMDB_People_ [EN] [HTTPS] script
    V 1.3.3.0 (01/03/2019)


Some code corrections:
Quote
Function DownloadPage(URL:AnsiString):String; //BlockOpen
//Returns the URL page text. If error returns empty string
  Var
    i:Integer;
    ScriptPath,WebText:String;
    Begin
.
.
.
         i:=i+1;
         If i=INTERNET_TEST_ITERATIONS Then Begin
            if 2=MessageBox('Too many faulty attempts to internet connection.'+Chr(13)+ 'Retry or Cancel?',SCRIPT_NAME,5) then begin
               LogMessage(Chr(9)+Chr(9)+'Function DownloadPage END with NOT INTERNET connection ===============|');
               Result:='';
               Exit;
            End;
            i:=0;
         End;
.
.
.
    if (Pos('405 Method not allowed',Result)>0) then begin  //Banned IP. WEB_SPECIFIC.
        If BYPASS_SILENT Then ShowMessage('The URL has HTTP method problems (405 Method not allowed).'+Chr(13)+'Go to the provider web in order to in order to'+Chr(13)+'find the good page',SCRIPT_NAME);
        LogMessage(Chr(9)+Chr(9)+'      405 Method not allowed|');
        Result:=''; //Fatal error
    End;
    if (Pos('Too many request',Result)>0) then begin  //Banned IP. WEB_SPECIFIC.
        If BYPASS_SILENT Then ShowMessage('The provider has banned your IP (Too many request).'+Chr(13)+'Go to the provider web and resolve the captcha in order to'+Chr(13)+'demostrate you are not a robot',SCRIPT_NAME);
        LogMessage(Chr(9)+Chr(9)+'      Banned IP|');
        Result:=''; //Fatal error
    End;
    LogMessage(Chr(9)+Chr(9)+'Function DownloadPage END======================|');
    exit;
  End; //BlockClose
Function DownloadImage

Lots of fixes of Filmography code and added code for Genres links in the Comment box.
Quote
   //Get ~Genre index URL~
   //http://www.imdb.com/filmosearch?sort=moviemeter&explore=genres&role=nm0000122&ref_=nm_ql_flmg_5
   EndPos:=Pos('class="link" ><span class="ghost">by</span> Genre</a>',HTML);
   If endPos>0 Then Begin
      ItemValue0:='<link url="http://www.imdb.com/filmosearch?sort=moviemeter&explore=genres&role='+PersonID+'&ref_=nm_ql_flmg_5">Genres</link>';
      If ItemValue0 <> '' then ItemList:=ItemList+#13+ItemValue0;
      LogMessage('      Parse Results Genre URL:'+ItemValue0+'||');
   End;

A new code has also been added to download information for genres in the Genres field.

Quote
//Retreive Data Config
  USE_SAVED_PVDCONFIG  = True ;  //Use the Overwrite Options of the script saved in pvdconf.ini for avoid download not used pages. Remember PVD only save in exit.
  GET_FULL_BIO  = True ;  //Download Biography provider page for retreive the info. Otherwise only the info of the principal movie page.
   GET_FULL_GENRES  = True ;  //Download Genres provider page for retreive the info. Otherwise only the info of the principal movie page.
Quote
Function ParsePage_IMDBPeopleGENRES(HTML:String):Cardinal; //BlockOpen
    //Returns:
    //     Result:=prFinished; Script has finished gathering data
    //     Result:=prError; If żany big problem? with exit;
    //Retrieve: ~genres~ Genres from "Genres" IMDB section
  Var
    curPos,endPos:Integer;
    ItemValue:String;
  Begin
    LogMessage('Function ParsePage_IMDBPeopleGENRES BEGIN=====================||');       
    Result:=prFinished;  //It will change to prError if any big problem with exit;
   //http://www.imdb.com/filmosearch?sort=moviemeter&explore=genres&role=nm0000122&ref_=nm_ql_flmg_5
   //Get ~Genres~
   If Pos('<strong>Genres</strong>',HTML)>0 Then Begin
      curPos:=Pos('<strong>Genres</strong>',HTML);
      EndPos:=curPos;
      ItemValue:=HTMLValues2(HTML,'<fieldset data-join="and" name="genres">','</fieldset>','<span class="faceter-facet-text">','</span>',', ',EndPos);            
      AddFieldValueXML('genre',ItemValue);    
      curPos:=EndPos;
      LogMessage('      Get result Genres (from People Genres):'+ItemValue+'||');
   End;   
    LogMessage('Function ParsePage_IMDBMovieGENRES END=====================||');
  End; //BlockClose

Minor correction also Bio Codes.

IMDB_People_ [EN] [HTTPS] script is attached.

Pages: [1] 2 3 4 5 6 ... 109
anything