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

0 Members and 2 Guests are viewing this topic.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2680
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #240 on: October 25, 2020, 08:24:32 am »
IMDB_[EN][HTTPS](episodes) V 1.4.1.4 script

Same problem with series-episodes as it was with movies. I fixed some bugs in the code section for ParsePage_IMDBMovieCREDIT (Full cast and crew section except Cast section).


Quote
CHANGE LOG :
            V 1.4.1.4 (19/10/2020) Ivek23: ParsePage_IMDBMovieCREDIT (Full Cast and Crew section) = Corrected parts of the code.

IMDB_[EN][HTTPS](episodes) V 1.4.1.4 script is attached.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2680
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #241 on: October 25, 2020, 08:50:27 am »
Unfortunately, not a single IMDb script import directors of the series for me. I tried them all. Does it import directors for you?

Works with the new IMDB_ [EN] (HTTPS] (series) V 1.4.1.4 script and IMDB_ [EN] [HTTPS] (episodes) V 1.4.1.4 script.

28595 works for me to import cyrillic, but then it doesn't work to import Latin. I am absolutely positive that 65001 worked for me in the past. What could went wrong in the meantime, do you have any idea?

What about that, maybe it'll be okay now.
Quote
CODE_PAGE      =0 ;  // 0=for Autodetect   Autodetect
or maybe
Quote
CODE_PAGE      =1252 ;

Quote
1250    windows-1250    ANSI Central European; Central European (Windows)
1251    windows-1251    ANSI Cyrillic; Cyrillic (Windows)
1252    windows-1252    ANSI Latin 1; Western European (Windows)
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline afrocuban

  • Moderator
  • *****
  • Posts: 450
    • View Profile
Re: Possibles improving Custom Fields working in MOD version
« Reply #242 on: October 26, 2020, 08:11:47 pm »
This is what I get in Cinema1:

<link url="http://www.allmovie.com/movie/the-devil-all-the-time-v724198 http://www.filmaffinity.com/en/film267933.html http://www.imdb.com/title/tt7395114/fullcredits">Full Cast&Crew info names</link>
   •   Directed by
   •   Writing Credits
   •   Cast          (in credits order)
   •   Produced by
   •   Music by
   •   Cinematography by
   •   Film Editing by
   •   Casting By
   •   Production Design by
   •   Art Direction by
   •   Set Decoration by
   •   Costume Design by
   •   Makeup Department
   •   Production Management
   •   Second Unit Director or Assistant Director
   •   Art Department
   •   Sound Department
   •   Special Effects by
   •   Visual Effects by
   •   Stunts
   •   Camera and Electrical Department
   •   Casting Department
   •   Costume and Wardrobe Department
   •   Editorial Department
   •   Location Management
   •   Music Department
   •   Script and Continuity Department
   •   Transportation Department
   •   Additional Crew
   •   Thanks

Is this working correctly?

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2680
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #243 on: October 26, 2020, 09:20:54 pm »
This is what I get in Cinema1:

<link url="http://www.allmovie.com/movie/the-devil-all-the-time-v724198 http://www.filmaffinity.com/en/film267933.html http://www.imdb.com/title/tt7395114/fullcredits">Full Cast&Crew info names</link>

Thanks for reporting error. No, this is my mistake because I only tested with Imdb url addresses.
This error is present in all IMDB_ [EN] [HTTPS] scripts for movies, series and episodes. The errors will be corrected tomorrow

This is what I get in Cinema1:
.
.
.
   •   Directed by
   •   Writing Credits
   •   Cast          (in credits order)
   •   Produced by
   •   Music by
   •   Cinematography by
   •   Film Editing by
   •   Casting By
   •   Production Design by
   •   Art Direction by
   •   Set Decoration by
   •   Costume Design by
   •   Makeup Department
   •   Production Management
   •   Second Unit Director or Assistant Director
   •   Art Department
   •   Sound Department
   •   Special Effects by
   •   Visual Effects by
   •   Stunts
   •   Camera and Electrical Department
   •   Casting Department
   •   Costume and Wardrobe Department
   •   Editorial Department
   •   Location Management
   •   Music Department
   •   Script and Continuity Department
   •   Transportation Department
   •   Additional Crew
   •   Thanks

Is this working correctly?

The rest is fine.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline afrocuban

  • Moderator
  • *****
  • Posts: 450
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #244 on: October 26, 2020, 11:00:39 pm »
You are welcome and thank you for correcting it. I guess in Cinema1 we will get all the names from fullcredits page? I couldn't find description for what this field is. At the moment only occupations are imported without any name.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2680
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #245 on: October 27, 2020, 01:29:07 pm »
IMDB_[EN][HTTPS]V 1.4.1.5 script

I fixed some bugs in the code section for ParsePage_IMDBMovieCREDIT (Full cast and crew section except Cast section).


Quote
CHANGE LOG :
            V 1.4.1.5 (27/10/2020) Ivek23: ParsePage_IMDBMovieCREDIT (Full Cast and Crew section) = Corrected parts of the code. See the forum post: http://www.videodb.info/forum_en/index.php/topic,4134.msg21196.html#msg21196

IMDB_ [EN] [HTTPS] V 1.4.1.5 script is attached.



IMDB_[EN][HTTPS](series) V 1.4.1.5 script

Same problem with series as it was with movies. I fixed some bugs in the code section for ParsePage_IMDBMovieCREDIT (Full cast and crew section except Cast section).

IMDB_[EN][HTTPS](series) V 1.4.1.5 script is attached.




IMDB_[EN][HTTPS](episodes) V 1.4.1.5 script

Same problem with series as it was with movies. I fixed some bugs in the code section for ParsePage_IMDBMovieCREDIT (Full cast and crew section except Cast section).

IMDB_[EN][HTTPS](episodes) V 1.4.1.5 script is attached.
« Last Edit: October 27, 2020, 01:56:03 pm by Ivek23 »
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline afrocuban

  • Moderator
  • *****
  • Posts: 450
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #246 on: October 29, 2020, 10:37:23 pm »
Thanks Ivek.

So is this how it is supposed Cinema1 to contain only occupations, and not names? What would be the purpose of this field then, except for the link to full credits? Can you please upload a screenshot of this field from your database? I'd just like to compare yours and mine...



« Last Edit: October 29, 2020, 10:39:20 pm by afrocuban »

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2680
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #247 on: October 30, 2020, 06:27:04 pm »
Thanks Ivek.

So is this how it is supposed Cinema1 to contain only occupations, and not names? What would be the purpose of this field then, except for the link to full credits? Can you please upload a screenshot of this field from your database? I'd just like to compare yours and mine...


The Cinema1 custom box now has the correct information and is exactly the same as my Cinema1 custom box, so there's no reason to take a screenshot of my Cinema1 custom box. in the attachment, there is a Cinema custom field, which contains information for the credits listed below, which have names and a url link to the website.

    • Directed by
    • Writing Credits
    • Produced by
    • Music by
    • Cinematography by
    • Thanks

   • Cast (in credits order) is in the normal field for players.

A screenshot has been added for 10 Things I Hate About You movie.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline afrocuban

  • Moderator
  • *****
  • Posts: 450
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #248 on: November 01, 2020, 03:01:54 am »
Thanks Ivek! My Cinema field looks the same, as well. Still, I don't get it what's the purpose of Cinema1 field? Can you please explain it, or put a link where it is explained? Thanks in advance!

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2680
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #249 on: November 01, 2020, 08:37:19 am »
Thanks Ivek! My Cinema field looks the same, as well. Still, I don't get it what's the purpose of Cinema1 field? Can you please explain it, or put a link where it is explained? Thanks in advance!

More info at the link below.

http://www.videodb.info/forum_en/index.php/topic,4134.msg20890.html#msg20890
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2680
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #250 on: November 01, 2020, 01:04:14 pm »
IMDB_[EN][HTTPS]_(Cast&Crew) V 1.4.1.5 script

I fixed some bugs in the code section for ParsePage_IMDBMovieCREDIT (Full cast and crew section except Cast section).


Thanks Ivek! My Cinema field looks the same, as well. Still, I don't get it what's the purpose of Cinema1 field? Can you please explain it, or put a link where it is explained? Thanks in advance!

More info at the link below.

http://www.videodb.info/forum_en/index.php/topic,4134.msg20890.html#msg20890

In the Cinema1 custom box, there are only a list of records of the areas, what all was involved in the exact specific movie, series and so on. Here, this list is just for the purpose of what the areas are, but there are no names or links here like in the Custom Cinema box.

IMDB_[EN][HTTPS]_(Cast&Crew) script is attached.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline afrocuban

  • Moderator
  • *****
  • Posts: 450
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #251 on: November 01, 2020, 02:39:35 pm »
Thank you Ivek. You posted corrected script just before I clicked submit my post on old script importing results. I have now used corrected IMDB_[EN][HTTPS]_(Cast&Crew).psf and change the code as follows:
Code: [Select]
//GET_CREW_CREDIT  = True ;  //Download Cast and Credit provider page for retreive the some credits (crew) info. Otherwise set to False to only the Directors, Writers, Composers, Producers, Cinematography and Thanks info of the Cast and Credit provider page. 
  GET_CREW_CREDIT  = True ;  //Download Cast and Credit provider page for retreive the some credits (crew) info. Otherwise set to False to only the Directors, Writers, Composers, Producers, Cinematography and Thanks info of the Cast and Credit provider page.
  GET_FULL_CREW_CREDIT  = True ;  //Download Cast and Credit provider page for retreive the more  some credits (crew) info. Otherwise set to False to only the Directors, Writers, Composers, Producers and Cinematography + (GET_CREW_CREDIT = True) info of the Cast and Credit provider page.

Now I get it that actually this field isn't for full credits as seen on original IMDb page. Names are imported in Cinema field, and Cinema1 shows all possible fields which can be imported to Cinema, as I understand.

Still, while tested for http://www.imdb.com/title/tt0058672/fullcredits these names are missing from Cinema field, and occupations are stated in Cinema1 field, or it is somehow limited

Quote
Camera and Electrical Department
Philippe Brun   ...   cameraman: second unit
René Chabal   ...   assistant cameraman (as Rene Chabal)
Gilbert Chain   ...   cameraman
Roger Corbeau   ...   stillsman
Max Lechevallier   ...   assistant cameraman
Raymond Picon-Borel   ...   cameraman: second unit

Costume and Wardrobe Department
Theoni V. Aldredge   ...   costumes (as Denny Vachlioti)

Editorial Department
Patrick Clement-Bayard   ...   editor assistant
Johnny Dwyre   ...   editor assistant
Daniele Grimberg   ...   editor assistant (as Danielle Grimberg)

Additional Crew
Jean Fouchet   ...   main title
Lucie Lichtig   ...   script

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2680
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #252 on: November 01, 2020, 03:42:05 pm »
Quote
  //GET_CREW_CREDIT  = False ;  //Download Cast and Credit provider page for retreive the some credits (crew) info. Otherwise set to False to only the Directors, Writers, Composers, Producers, Cinematography and Thanks info of the Cast and Credit provider page. 
  GET_CREW_CREDIT  = True ;  //Download Cast and Credit provider page for retreive the some credits (crew) info. Otherwise set to False to only the Directors, Writers, Composers, Producers, Cinematography and Thanks info of the Cast and Credit provider page.
  GET_FULL_CREW_CREDIT  = True ;  //Download Cast and Credit provider page for retreive the more  some credits (crew) info. Otherwise set to False to only the Directors, Writers, Composers, Producers and Cinematography + (GET_CREW_CREDIT = True) info of the Cast and Credit provider page.

Leave it as it is here. Twice you have the GET_CREW_CREDIT option to make it easier to select the option you just need or want to use (once False, which is blocked, and True, which is not already blocked).

Now I get it that actually this field isn't for full credits as seen on original IMDb page. Names are imported in Cinema field, and Cinema1 shows all possible fields which can be imported to Cinema, as I understand.

Hold this and you are also thinking in the right direction.

Quote
Camera and Electrical Department
Philippe Brun   ...   cameraman: second unit
René Chabal   ...   assistant cameraman (as Rene Chabal)
Gilbert Chain   ...   cameraman
Roger Corbeau   ...   stillsman
Max Lechevallier   ...   assistant cameraman
Raymond Picon-Borel   ...   cameraman: second unit

Costume and Wardrobe Department
Theoni V. Aldredge   ...   costumes (as Denny Vachlioti)

Editorial Department
Patrick Clement-Bayard   ...   editor assistant
Johnny Dwyre   ...   editor assistant
Daniele Grimberg   ...   editor assistant (as Danielle Grimberg)

Additional Crew
Jean Fouchet   ...   main title
Lucie Lichtig   ...   script

There really isn't that, because there is no code in the script at all. It kind of made sense to me to just add this below.
Quote
  5. Cast & Crew field info names:   
   •   Directed by
   •   Writing Credits  // NO (WGA)
   •   Cast (in credits order)  // Only data info in normal Actors field
   •   Produced by
   •   Music by
   •   Cinematography by
   •   Film Editing by
   •   Casting By
   •   Production Design by
   •   Art Direction by
   •   Set Decoration by
   •   Costume Design by
   •   Production Management
   •   Second Unit Director or Assistant Director 
   •   Special Effects by
   •   Visual Effects by
   •   Casting Department
   •   Location Management
   •   Music Department
   •   Thanks

There really isn't that, because there is no code in the script at all. It kind of made sense to me to just add this below. The rest of what is seen in the Cinema1 custom field would put too much strain on the IMDB_ [EN] [HTTPS] _ (Cast & Crew) script when transferring information, as well as the entire PVD database.

Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline afrocuban

  • Moderator
  • *****
  • Posts: 450
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #253 on: November 01, 2020, 06:51:01 pm »
Thanks for adds up, Ivek! I absolutely understand your reasons, I just needed to clear how things are working.

So, basically, at the moment the largest possible set of IMDb data for movies would be regular IMDb + Cast&Crew + Connection (when fixed) with all custom fields defined in PVD preferences, right?

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2680
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #254 on: November 01, 2020, 08:06:49 pm »
So, basically, at the moment the largest possible set of IMDb data for movies would be regular IMDb + Cast&Crew + Connection (when fixed) with all custom fields defined in PVD preferences, right?

Yes, it's right.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline afrocuban

  • Moderator
  • *****
  • Posts: 450
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #255 on: November 01, 2020, 08:32:18 pm »
Thank you! Now, when "Connection" script is over, a huge update of my movies on the schedule, hahaha!

Offline Pacifist

  • User
  • ***
  • Posts: 65
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #256 on: November 08, 2020, 09:37:04 am »
SOS. All scripts related to the PVdBDownPage module stopped working for me. You can see that it starts up (! Pic1). And nothing more. After half a minute, a message appears about a large number of invalid Internet connections (! Pic2). I absolutely do not understand what this is connected with. Neither in the Windows settings nor in the modem settings changed anything !!! Guard!!! Note, I have not seen any problems with the Internet connection yet. A week ago, everything was normal. It seems to me that the module is blocked by something, but I have no idea how.  :'( :'( :'(

Offline Pacifist

  • User
  • ***
  • Posts: 65
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #257 on: November 08, 2020, 01:00:05 pm »
SOS. All scripts related to the PVdBDownPage module stopped working for me. You can see that it starts up (! Pic1). And nothing more. After half a minute, a message appears about a large number of invalid Internet connections (! Pic2). I absolutely do not understand what this is connected with. Neither in the Windows settings nor in the modem settings changed anything !!! Guard!!! Note, I have not seen any problems with the Internet connection yet. A week ago, everything was normal. It seems to me that the module is blocked by something, but I have no idea how.  :'( :'( :'(
P.S. Understood. I don't know why, but I had to change the value "localhost" in the settings of the PVD program to the numbers "127.0.0.1"  ???

Offline afrocuban

  • Moderator
  • *****
  • Posts: 450
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #258 on: November 08, 2020, 09:23:14 pm »
Good you resolved it, and good tip for others that might have similar issue. Numerous times in numerous apps I have had the same problems: localhost is not recognized, but 127.0.0.1...

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2680
    • View Profile
Re: Personal Video Database 1.0.2.7 MOD
« Reply #259 on: November 09, 2020, 08:56:07 am »
IMDB_[EN][HTTPS]_(Connections) V 1.4.1.6 script

Quote
CHANGE LOG :
            V 1.4.1.6 (08/11/2020) Ivek23: Added some new custom fields.

The following custom fields can be added to the IMDB_ [EN] [HTTPS] script.

Origtitle, Title and Localized title custom box.

Quote
Function ParsePage_IMDBMovieBASE(HTML:String):Cardinal; //BlockOpen
.
.
.
    LogMessage('Function ParsePage_IMDBMovieBASE BEGIN======================|');
    Result:=prFinished;  //It will change to prError if any big problem with exit;
    //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_block"','div class="plot_summary_wrapper">'); //WEB_SPECIFIC.
    If (Length(ItemList)>0) Then Begin
        //Get ~title~
        titleValue:=TextBetWeenFirst(ItemList,'<h1 class="">','<');       //Strings which opens/closes the data. WEB_SPECIFIC
        If titleValue = '0' then titleValue:='';
        If titleValue = '' then titleValue:=TextBetWeenFirst(ItemList,'<h1 class="long">','<');       //Strings which opens/closes the data. WEB_SPECIFIC
        AddFieldValueXML('title',titleValue);
      AddCustomFieldValueByName('Title',titleValue);
      AddCustomFieldValueByName('Localized title',titleValue);

        LogMessage('      Get result title:'+titleValue+'||');   
         //First normal kind get of ~year~
        ItemValue:=TextBetWeenFirst(ItemList,'<span id="titleYear">(',')</span>            </h1>');                                 //Strings which opens/closes the data. WEB_SPECIFIC     
        AddFieldValueXML('year',ItemValue);
.
.
.
        //Get ~origtitle~
        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);
      AddCustomFieldValueByName('Origtitle',ItemValue);
        LogMessage('      Get result origtitle:'+ItemValue+'||');
        ItemValue:=TextBetWeenFirst(ItemList,BASE_URL_IMAGE_PRE_TRUE,'.');

I updated the IMDB_ [EN] [HTTPS] _ (Connections) script to work again. More information is available at this link.

http://www.videodb.info/forum_en/index.php/topic,4134.msg20857.html#msg20857

IMDB_ [EN] [HTTPS] _ (Connections) script is attached.
« Last Edit: November 09, 2020, 08:57:45 am by Ivek23 »
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD