News:

SMF - Just Installed!

Main Menu

Recent posts

#1
Talk / Re: Hello
Last post by Ivek23 - 2 21 June, 2026, 02:25:40 PM
Here is a link to a Blog VVV_Easy copy in the "Internet Archive"

Blog VVV_Easy in the "Internet Archive"

https://web.archive.org/web/20250417142244/http://vvveasy.altervista.org/personal-video-database/?doing_wp_cron=1525497049.1403949260711669921875


#2
Support / Re: Imdb and curl problem
Last post by Ivek23 - 7 08 June, 2026, 07:51:52 AM
More info in this topic: Python (+Selenium) Chrome (chromedriver.exe)

http://mailmirdoch.net/index.php?topic=68.0
#3
PVD Python Scripts / Re: PVD Selenium v4.3 All Scri...
Last post by afrocuban - 9 06 June, 2026, 09:34:06 PM
Be careful of the
curPos := Pos('>Plot keywords<', HTML);

Thanks for the CustomStringReplace. I hated so much those manual StrinReplaces, but never had enough strentgh and will to clean them, although prepared to clean them at some point in the future. Also, to reduce obvious duplicates... I am not sure I will do that in the near future for myself and can't focus on your mods at the moment... It was exausting to keep all the scripts updated while testing them for months.
#4
Support / Re: Personal Video Database 1...
Last post by afrocuban - 9 06 June, 2026, 09:16:22 PM
Thank you Ivek! I hope to test them asap.
#5
Support / Personal Video Database 1.0.2...
Last post by Ivek23 - 5 06 June, 2026, 05:06:06 PM
Here are the updated TheMovieDB_[EN][API].psf and TheMovieDB_[EN][API] _TV.psf for the Personal Video Database 1.0.2.7 MOD version of the program and they work to transfer information from TheMovieDB API version of the website.

I haven't tested the scripts yet, but they should work, otherwise errors should occur.
#6
PVD Python Scripts / Re: PVD Selenium v4.3 All Scri...
Last post by Ivek23 - 4 06 June, 2026, 04:56:51 PM
Below is my slightly corrected and with some corrections and additions to the code IMDB_Movie_[EN][Selenium]-v4.psf script. Some information is now in a nicer form in the fields and therefore has a better appearance.

The IMDB_Movie_[EN][Selenium]-v4 MOD.7z file has been added so that it will be known that it is my version. When the file is unpacked, you will have IMDB_Movie_[EN][Selenium]-v4.psf script.

And this.

All comment fields in the script must be blocked or the comment fields must be removed, otherwise the information will still be written to the comment field, even if you set the option to write to the comment field in the Script Configurator to false.
#7
PVD Python Scripts / Re: PVD Selenium v4.3 All Scri...
Last post by afrocuban - 2 05 June, 2026, 02:23:17 PM
Here's fixed FA Movie Script, FA Related Movies field just got new html layout
#8
PVD Python Scripts / Re: PVD Selenium v4.3 All Scri...
Last post by afrocuban - 10 04 June, 2026, 10:16:59 PM
Quote from: Ivek23 on  4 04 June, 2026, 04:16:20 PMHowever, there was a problem when I selected only the main page in the Script Configurator, the Script Configurator did not save the settings and there was no restart of PVD. It also warned for the PlotSummary page that at least one field associated with this page must be checked. When I checked the fields associated with PlotSummary as well as the PlotSummary additional page, the Script Configurator saved the settings and restarted PVD.
If you don't want plot summary page then you should uncheck ALL of the Parse_xxx_SUMMARY boxes in Configurator and then click on "No" and PVD would restart then. It is not enough to unchek downloading pages only. You need to uncheck parsing those pages too in Configurator. This is the message on that dialog box:
QuoteTo enable downloading the plot summary page by IMDb Movie Script,
you ALSO need to check at least one of the XXX_SUMMARY boxes.
To disable downloading the plot summary page, you also need to uncheck
ALL of the Parse_xxx_SUMMARY boxes.
Press 'Yes' to go back to Configurator and set them accordingly,
or press 'No' to continue restarting PVD with leaving them as they were.
#9
PVD Python Scripts / Re: PVD Selenium v4.3 All Scri...
Last post by afrocuban - 8 04 June, 2026, 08:04:16 PM
Good. Is "trailer" fragile, because not all titles have trailers?
#10
PVD Python Scripts / Re: PVD Selenium v4.3 All Scri...
Last post by Ivek23 - 4 04 June, 2026, 04:16:20 PM
After restarting PVD, I checked the Overwrite Tags option when I selected Main Page Only in the Script Configurator.

However, there was a problem when I selected only the main page in the Script Configurator, the Script Configurator did not save the settings and there was no restart of PVD. It also warned for the PlotSummary page that at least one field associated with this page must be checked. When I checked the fields associated with PlotSummary as well as the PlotSummary additional page, the Script Configurator saved the settings and restarted PVD. Then I checked the Overwrite All Tags option and the keywords from the main page were also transferred.

I also noticed that jondak's Selenium_Chrome_People_Additional_pages_v4.py script may be a little faster at transferring data.

It works with the help of this code in Function ParsePage_IMDBMovieBASE .

Quote//Get ~imdbrating~~IMDB Rating~~IMDBRating~
                ItemValue := TextBetWeenFirst(ItemList,'"worstRating":1,"ratingValue":','},"');  //Strings which opens/closes the data. WEB_SPECIFIC
                //ItemValue := FloatToStr((StrToFloat(ItemValue) * 1));
                AddFieldValueXML('imdbrating',ItemValue);
                AddCustomFieldValueByName('IMDB Rating',ItemValue);
                AddCustomFieldValueByName('IMDBRating',ItemValue);
                LogMessage('Function ParsePage_IMDBMovieBASE - Get result ratingValue ~imdbrating~ (CF~IMDB Rating~~IMDBRating~):|' + ItemValue + '||');
            End;  //If Not (ReferencePageDownloaded) Then Begin should end here
           
            //(*
            If Not (ReferencePageDownloaded) And Not (KeywordsPageDownloaded) Then Begin
                //Get ~tags~ "keywords" (field with multiple values in a comma separated list)
                //curPos := Pos('","keywords":"', HTML);  //WEB_SPECIFIC
                //If 0 < curPos Then Begin
                //    endPos := curPos;
                    //EndPos := PosFrom('","trailer":', HTML, curPos);
                    //ItemValue := HTMLValues(HTML, '"keywords":{', '"TitleKeywordConnection"', '"text":"', '","', ', ', endPos);
                    //ItemValue := TextBetWeen(HTML,'","keywords":"','","trailer":',false,curPos);
                    ItemValue := TextBetWeenFirst(ItemList,'","keywords":"','","');
                    AddFieldValueXML('tags', ItemValue);
                    LogMessage('Function ParsePage_IMDBMovieBASE - Get results Tags:|' + ItemValue + '||');
                //End;  //If 0 < curPos Then Begin should end here
            End;  //If Not (ReferencePageDownloaded) And Not (KeywordsPageDownloaded) Then Begin should end here       
            //*)