Author Topic: Personal Video Database 1.0.2.7 MOD  (Read 426 times)

0 Members and 1 Guest are viewing this topic.

Offline VVV_Easy_Programing

  • Power User
  • ****
  • Posts: 144
    • View Profile
Personal Video Database 1.0.2.7 MOD
« on: June 16, 2018, 09:31:27 am »
The last oficial version has been the 1.0.2.7 published in the 05 November 2013 by Nostra, the oficial programer and owner of the program.
After this date, the information providers has changed his pages and, the more important, they have passed to a secure protocol HTTPS:  PVD is not prepared for this protocol and crashes with a “IO Handler Value is not Valid” error.

Ivek23, the person that have supported the forum and the scripts programs with a important personal effort, thank you very much, has surrounded this problem installing and configuring a proxy, Proxomitron, but this require some computer skills and PVD is no longer portable.

So, we have made a MOD version of PVD 1.0.2.7 with the next characteristics:
  • Portable (run with portable.bat) and not others installations needed
  • Clean of not working plugings and scripts providers.
  • Script over Plugin preference. This allow open source code of scripts.
  • Secondary, designed for basic use and in connection with KODI.
To surround the HTTPS problem, it has been necessary to make an intermediate download in the file of the pages. This makes HTTPS scripts slower than with the Proxomitron solution, you must choose which solution to use because they are not compatible.

Until Nostra awakens from his Odinsleep, we pray to God that it will be soon, this is our humble contribution to this superb program, the most flexible and powerful movie data base:

http://vvveasy.altervista.org/wp-content/uploads/2018/06/PVD_1.0.2.7_MOD-V.2018.06.16.zip

« Last Edit: June 25, 2018, 07:45:02 pm by VVV_Easy_Programing »

Offline VVV_Easy_Programing

  • Power User
  • ****
  • Posts: 144
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #1 on: June 16, 2018, 09:31:52 am »
Usage:
  • Download and unzip the last version file included in the first post.
  • Run PVD in portable mode (portable.bat) without internet proxi.
  • Launch the firs movie (or people) script "**** Scripts Configuration ****" in order to adapt the scripts to your own needs (for instance uncheck Active for no used languages)
  • The rest operations are the same that PVD

Important advice: TheMovieDB is the recomended script, for speed and reliability. Take notice, that your are downloading full pages of internet with image, ad's, etc. For instance if you retreived all IMDB info, your are dowloading 1+4 pages for each movie.
« Last Edit: June 16, 2018, 09:57:43 am by VVV_Easy_Programing »

Offline VVV_Easy_Programing

  • Power User
  • ****
  • Posts: 144
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #2 on: June 16, 2018, 09:32:47 am »
Adaptation:

Perhaps, there may be many PVD users who do not want to start over. For them, we suggest the following steps. Let us know your problems to be able to improve the guide:

"Dirty" own PVD installation/collection adaptation for normal users:
  • Important: Make a secure copy and a test copy of your own actual PDV installation.
  • Unzip the download file versión and change the folders: Scripts and Plugings of your test copy.
  • Run PVD in portable mode (portable.bat) without internet proxi.
  • In Preferences/Movies/Custom Ítems add the fields:
    Set (Short Text), TOP_250 (Number), IMDB_Votes (Number), TheMoviedb_Votes (Number), FilmAffinity_Votes (Number)


Note: By Ivek23 request, below is included the adaptation of version 0.9.9.21.  It does not have the same guarantees as 1.0.2.7 especially because this version of PVD has a different scripting engine and the People part is less developed.
http://vvveasy.altervista.org/wp-content/uploads/2018/06/PVD_0.9.9.21_MOD-V.2018.06.16.zip
« Last Edit: June 25, 2018, 07:47:00 pm by VVV_Easy_Programing »

Offline VVV_Easy_Programing

  • Power User
  • ****
  • Posts: 144
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #3 on: June 16, 2018, 09:39:03 am »
Changelog:
  • MOD V.2018.06.16; VVV, Ivek23: First public working release.
« Last Edit: June 16, 2018, 09:44:39 am by VVV_Easy_Programing »

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2071
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #4 on: June 16, 2018, 11:39:26 am »
Other solutions and scripts will be ready for the near future, according to the users' wishes. You can also visit the VVV_Easy Blog web site of our VVV_Easy_Programing user at the link below.

http://vvveasy.altervista.org/personal-video-database/?doing_wp_cron=1525497049.1403949260711669921875
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2071
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #5 on: June 16, 2018, 11:49:33 am »
In the field NEWS I gave this record to all users of our forum as a notice.
Quote
Personal Video Database 1.0.2.7 MOD is now public available:
http://vvveasy.altervista.org/wp-content/uploads/2018/06/PVD_1.0.2.7_MOD-V.2018.06.16.zip
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21


Offline meriator

  • User
  • ***
  • Posts: 52
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #6 on: June 22, 2018, 01:20:55 pm »
thank you   :)
I will try it out as soon as possible
while 1000 thanks crawling after one....they may never reach...the journey is the reward

Offline Am-rA

  • Member
  • *
  • Posts: 19
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #7 on: June 30, 2018, 08:38:47 pm »
 :o
thanks my friends, i´m  impressed, in a moment i install it

Offline clandher

  • Member
  • *
  • Posts: 8
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #8 on: July 08, 2018, 11:52:21 am »
Hi

This is a very good job, but I have a simple question. How could I made a simple search using a word to know if there is or not in the database (titles) ? I couldn't find this option.

Thanks

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2071
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #9 on: July 10, 2018, 09:54:00 am »
Hi

This is a very good job, but I have a simple question. How could I made a simple search using a word to know if there is or not in the database (titles) ? I couldn't find this option.

Thanks

Search tab, then proceed as shown in the picture [Title and to write the title of the movie you want to check in the empty box  (see sshot-52)] for an example of a Robin Hood title search. This should give you a result if a particular address is already in your database.
« Last Edit: July 10, 2018, 09:59:27 am by Ivek23 »
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21


Offline clandher

  • Member
  • *
  • Posts: 8
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #10 on: July 11, 2018, 01:56:18 am »
Thanks and sorry. It was my mistake. Some how I downloaded and install PVD_0.9.9.21_MOD-V.2018.06.16

Offline jondak

  • Member
  • *
  • Posts: 22
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #11 on: July 17, 2018, 01:30:35 pm »
PVD_0.9.9.21_MOD-V.2018.06.16

When opening the database i had used till the mod in 0.9.9.21 it gave the error that is found in atachement..

I just replaced fbembed.dll with the one from the default install that is version 2.51.26351 and it open the database without problems.

I don't remember if I updated the file manually or was updated when i installed firebird server or when i tested 1.0.27 version.

So in case someone has a similar problem this can help.


Question:

its there a way to rename the IMDB_Votes custom field to IMDB Votes that i had from the original script?


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2071
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #12 on: July 17, 2018, 02:17:45 pm »
PVD_0.9.9.21_MOD-V.2018.06.16

Question:

its there a way to rename the IMDB_Votes custom field to IMDB Votes that i had from the original script?

Yes, of course, open the script, find the '' // Get ~ imdbrating ~, ~ IMDB_Votes ~ '' code section, and add or change [(depending on you) - see the added quote code section]. You can then use the original IMDB Votes custom box.

Quote
Function ParsePage_IMDBMovieBASE(HTML:String):Cardinal; //BlockOpen
    //Returns:
    //     Result:=prFinished; Script has finished gathering data
    //     Result:=prError; If not results
    //Retrieve: ~title~, ~year~, ~origtitle~, ~poster~ / ~imdbrating~, ~IMDB_Votes~ (Custom Field) / ~TOP_250~(Custom Field) /
    //          If Not(GET_FULL_CREDIT): ~crew~ctDirectors,ctWriters,ctComposers,ctProducers(Not in base page), ctActors
    //         ~description~ / ~category~ "keywords" / ~tagline~ / ~genre~
    //         If Not(GET_FULL_MPAA) ~mpaa~
    //         ~country~ / ~rdate~ in contry provider local IP geolocation
    //         If Not(GET_FULL_AKA) ~aka~.
    //         ~budget~ / ~money~ / ~studio~ "Production Co"
    //         If GET_FEATURES ~features~
  Var
      curPos,endPos,index:Integer;
      ItemValue,ItemList,ImageFile:String;
      titleValue:String;
      Name,Role,PersonURL:String;
  Begin
    LogMessage('Function ParsePage_IMDBMovieBASE BEGIN======================|');
    //Because the script don't retreives the data in the page order a token search for the first curPos position or block select is mandatory
    //Get ~title~, ~year~, ~origtitle~, ~poster~
    //Get all "raw" title summary (in raw because we need the hidden links, we avoid "complete" token in strings which opens/closes)
    ItemList:=TextBetWeenFirst(HTML,'<div class="title_wrapper"','div class="plot_summary_wrapper">'); //WEB_SPECIFIC.
    If (Length(ItemList)>0) Then Begin           
        titleValue:=TextBetWeenFirst(ItemList,'<h1 itemprop="name" class="">','<');       //Strings which opens/closes the data. WEB_SPECIFIC
        AddFieldValueXML('title',titleValue);
        LogMessage('      Get result title:'+titleValue+'||');
        ItemValue:=TextBetWeenFirst(ItemList,'(',')');                                 //Strings which opens/closes the data. WEB_SPECIFIC
        AddFieldValueXML('year',ItemValue);
        LogMessage('      Get result year:'+ItemValue+'||');
        ItemValue:=TextBetWeenFirst(ItemList,'<div class="originalTitle">','<');          //Strings which opens/closes the data. WEB_SPECIFIC
        If (Length(ItemValue)=0) Then ItemValue:=titleValue;                           //Provider hides the original title if same that title. WEB_SPECIFIC
        AddFieldValueXML('origtitle',ItemValue);
        LogMessage('      Get result origtitle:'+ItemValue+'||');
        ItemValue:=TextBetWeenFirst(ItemList,BASE_URL_IMAGE_PRE_TRUE,'.');                 //Get poster code. Strings which opens/closes the data. WEB_SPECIFIC
        If (Length(ItemValue)>0) then begin
            ItemValue:=BASE_URL_IMAGE_PRE_TRUE + ItemValue;                             //Base poster URL without '.jpg'. WEB_SPECIFIC
            ImageFile:=GetAppPath+'Scripts\'+BASE_DOWNLOAD_FILE_IMAGE_NAME+'-Poster.jpg'
            // Avoid HTTPS redirection: Download https image to file  OutPutFile=
            If (1=DownloadImage(ItemValue + '._V1_UY' + IntToStr(MAX_IMAGE_HEIGTH) + '_.jpg',ImageFile)) then begin  //Dowload in the selected user max size. WEB_SPECIFIC
                AddImageURL(itPoster,ImageFile);    //Get the photo from a file even if the next line we log the true URL.
                LogMessage('      Get result poster:'+ItemValue + '._V1_UY' + IntToStr(MAX_IMAGE_HEIGTH) + '_.jpg'+'||');
            end else if (1=DownloadImage(ItemValue +'.jpg',ImageFile)) then begin  //Dowload in the web base size. WEB_SPECIFIC
                AddImageURL(itPoster,ImageFile);    //Get the photo from a file even if the next line we log the true URL.
                LogMessage('      Get result poster:' + ItemValue + '.jpg'+'||');
            end;       
        end;
    End;
    //Get ~imdbrating~, ~IMDB_Votes~
    curPos:=Pos('<span itemprop="ratingValue">',HTML);                      //WEB_SPECIFIC.
    If 0<curPos Then Begin                         
       ItemValue:=TextBetWeen(HTML,'<span itemprop="ratingValue">','<',false,curPos);   //Strings which opens/closes the data. WEB_SPECIFIC
       ItemValue:=StringReplace(ItemValue,',','.',True,True,False);                           //Decimal comma spanish separator to point english separator.
       AddFieldValueXML('imdbrating',ItemValue);
       LogMessage('      Get result imdbrating:'+ItemValue+'||');
       ItemValue:=TextBetWeen(HTML,'<span class="small" itemprop="ratingCount">','</span>',false,curPos);   //Strings which opens/closes the data. WEB_SPECIFIC
       ItemValue:=StringReplace(ItemValue,'.','',True,True,False);            //Remove thousand point spanish separator.
       ItemValue:=StringReplace(ItemValue,',','',True,True,False);            //Remove thousand comma english separator.
       AddCustomFieldValueByName('IMDB_Votes',ItemValue);
       AddCustomFieldValueByName('IMDB Votes',ItemValue);
       LogMessage('      Get result IMDB_Votes:'+ItemValue+'||');
    End;

Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21


Offline jondak

  • Member
  • *
  • Posts: 22
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #13 on: July 17, 2018, 05:40:13 pm »
Thank you Ivek23. Modified and works well.

Found a minor bug:

Movie:  Ratatouille (2007) https://www.imdb.com/title/tt0382932/

MPAA retrieved: Rated PG for mild action                                                                        Edit     

It adds the "Edit" at the end of the MPAA rating retrived. Other movies works well. Will continue testing.

Cheers.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2071
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #14 on: July 18, 2018, 06:00:01 am »
Found a minor bug:

Movie:  Ratatouille (2007) https://www.imdb.com/title/tt0382932/

MPAA retrieved: Rated PG for mild action 

A minor bug will be corrected at the next update of the script.
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21