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 - VVV_Easy_Programing

Pages: 1 [2] 3 4 5 6 7 ... 10
21
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: September 19, 2018, 07:00:30 pm »
I'd like to request that the AdultDVDEmpire script be adapted for this mod. I've been sort of maintaining the ADE script in the past, but I can lo longer get PVD and Proxomitron to play nice together. From what I can glean from looking at the mod's scripting, the mod uses an external program to download all https:// web pages, then parses them locally. This is beyond my capabilities to adapt.
The script development has changed a little but is not far from the traditional aproach and all funtional code can be re-used ... and I can help you.

For test if your ancient script work you can follow those steps:
1) In Explorer/Firefox browse the page of one movie in your provider and "Save as" / "Web page, only HTML"  it in a text file "Example_movie.htm" in your Scripts folder
2) In your script:
     a) In the function GetDownloadURL, code the result as "Result:='http://httpbin.org/response-headers?key=Null';" (this avoid the HTTPS PVD problem)
     b) In the funtion ParsePage, recover the dowloaded provider page with "HTML:=FileToString(GetAppPath+'Scripts\'+'Example_movie.htm');"
3) After this instruction you can process the page with the script in order to get all the information.
4) When you arrive a good result for this unique movie, publish the script in the forum that I pass the code to the new download script process and then you can try it with multiple and real pages and finish the script.
Note: For process the results of the search page you can use the same method.

Let's go, you can do it!  ;)   ... and all people are invited too!  ;D

22
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: September 19, 2018, 06:25:36 pm »
Attached the Acumulative Scripts Patch date:2018.09.19 (to copy in PVD folder for overwriting the existing script files).
All Ivek23 alerts just to this messages included but:

Please, Ivek test the ~length~ question.

With ~length~ it works for me in the two PVD versions but if you don't have movie file you must edit the movie panel in order to see it (add a field by number is [deprecated] in PVD manual).

Note:  I have removed the PRESERVE_USER_MOVIE_CHARS parameter because this can be done with the 'Set Overwrite Options for the selected plugin' (the "Calendar" button, at right of the script 'Import name' in the 1.0.2.7 version and in 'Preferences/Plugin Preferences' in the 0.9.9.21).

23
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: September 18, 2018, 08:12:10 pm »
Script Movie Configuration bug for http://vvveasy.altervista.org/wp-content/uploads/2018/08/PVD_0.9.9.21_MOD-V.2018.08.08.zip
The launch of the configuration script does not work if PVD is stored in a path containing spaces (for example "D:\Personal Video Database")   see attached error.

Thanks both. I have not understood the first time. Corrected in the attached patch that oame with the TheMovie [DE] scripts too.
NOT YET the Ivek23 alerts corrected in this patch.

Two questions to Ivek23 about duration info.
1) What is the diference between  "AddFieldValueXML('length',ItemValue);" and "AddFieldValue(mfDuration,ItemValue); " with "mfDuration = 14;"
2) PVD have a command "Re-read file information" in order to fill the next fields:

Is this Duration yours field? In your PVD version is not it ~length~?
a) If yes, I have added a new script parameter in order to preserve it for the user with a movie file copy
     PRESERVE_USER_MOVIE_CHARS = True ; //Preserve the user movie copy characteristics (length and languages channels) instead of the original runtime and languages.
b) If not What PVD field is? I don't be able to find it in my PVD database or in the forum documentation and it overwrites the .


24
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: September 18, 2018, 08:34:46 am »
Quote
Please add a german version of the script - I copied the english one and modified it, works  :)
Great new to have a German user.
It's true that TMDB have a german version but I don't know german. But don't worry I'd prepared the scripts for easy translation: I use a txt file with the first line in english and the second in the 'foreign' language.
I'd done the draft of german translation with Google attached. May you correct those files in order to incorporate to the MOD version?
BTW, if there is other 'foreign' person with other language need all help are welcome.

Quote
It imports a screenshot of the movie, how to disable this?
There are two way to control the saved of information in the PVD database.
1) The PVD standard with the 'Set Overwrite Options for the selected plugin' (the "Calendar" button, at right of the script 'Import name').
2) The custom fields and others aren't included in this option so the scripts have hardcode parameters that now are easily changed launching the first script '**** Scripts Configuration ****' (you must have selected one movie or one person).
This is the way to disable the screenshot save:
a) Launch the PVD MOD Configuration Script:



b) With this the PDV MOD Script Configuration windows opens. In the wanted script sheet, Enable or disable your preference (Screenshot with a horizontal blue arrow)



c) Saved it (vertical blue arrow)

BTW you can activate or deactivate a script checking the Active box (green circle)

Quote
What about (maybe optionally) not recovering the focus of the PVD window, ...
This isn't easy because PVD interacts with the focus but I have understood your request: To work with PVD in second plane completely.
With this information I'll try to do something if possible.

25
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: September 16, 2018, 08:28:04 am »
Today the scripts configuration parameters are hardcode in the script. This is not a good practice (and BTW is the reason why PVD must restart after use **** Scripts Configuration ****).

In the pluging system there are two funtions (CanConfig, Configure) in order to activate and use de 'Configure Selected pluging' buttom (the "Tool" buttom, at right of the 'Import name', between 'Launch Import' buttom and 'Set Overview Options') (see Programming own plugins).

Somebody know how do that for the Scripts?

26
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: September 13, 2018, 09:55:30 pm »
Attached the files and scripts with the next changelog:
IMDB_[EN][HTTPS]
        V 1.2.0.0 (11/09/2018) VVV: PVdBScriptConfig.ini -> Bug corrected "GET_FULL_FEATURES"
           Ivek23: ParsePage_IMDBMovieCREDIT (Full Cast and Crew section) = Repaired pieces of code for transmitting actors information
           Ivek23: ParsePage_IMDBSearchTitle = Corrected missing posters in search movies results.
           Ivek23: ParsePage_IMDBMovieMPAA = Corrected parts of the code.
           Ivek23: ParsePage = Added compatibility with CustomFields ~IMDbID~, ~Updated~ (last needed because is not possible save in ~moddate~).
           Ivek23,VVV: ParsePage_IMDBMovieBASE = Corrected to the API evolution. Now get "keywords" in ~tags~ (not in ~category~). Get ~origlang~.
                       Added compatibility with CustomFields ~Bottom 100~, ~Metascore~, ~User Reviews~
                      New script parameter PRESERVE-PVD-DESCRIPTION-SETTING = Avoid double use of ~description~ and ~comment~ using only the user check fields table selection otherwise try get "Storyline" and "plot_Summary".
           Ivek23,VVV: New script parameter PRESERVE-USER-MOVIE-CHARS = Preserve the user movie copy characteristics (length and languages channels) instead of the original runtime and languages.
           Ivek23,VVV: ParsePage_IMDBMovieTECHNICAL = Added compatibility with CustomFields ~ImdbTechSpecs~ (original PVD ~features~ can be disabled in the program check fields table)
TheMovieDB_[XX][API]
        V 1.0.0.1 (11/09/2018)  VVV: TheMovieDB "keywords" info goes to ~tags~ PVD field (Ivek23 suggestion). Added ~Updated~ field.
FilmAffinity_[XX][HTTPS]
            V 4.0.0.4 (11/09/2018) VVV: Added ~Updated~ field

Some commentaries:
It will be added the custom field ~Updated~(Short text)  to the standard database because the PVD give problems with the ~moddate~ but the other custom fields, even if the scripts write the information, will not be added because are provider oriented.
There are two database uses:
1) the use at the same time of ~description~ and ~comments~
2) set the original lengh movie and lenguage that over the user file movie copy
that are not standart. Now there is two script parameters to allow the user this behavior.

Ivek23, may you test the script in order to verify if it work as you expect even with your custom fields?
When all work I' ll publish a new MOD version. Please, as me if you have any doubt.  ;D

27
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: September 09, 2018, 02:25:35 pm »
Ivek23 you had done an extraordinary work. It will take me some weeks to put in in a new MOD version.

I have one question in order to set un standart for ~genre~ / ~category~ / ~tags~. I try to summary:
~genre~ = Present as "genre" in IMDB, TheMovieDB, FilmAffinity,AllMovie
~tags~   = Present as "keywords" in IMDB, AllMovie, TheMovieDB
~category~ = Not present in IMDB neither TheMovieDB but
     FilmAffinity have the information "Genre1.Genre2 | Category1.Category2"
     AllMovie have the information Theme1 | Theme2 | Theme3 | Theme4 |
Are you agree?

I have other questions over the custom fields but I must study one by one.

28
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: September 09, 2018, 01:52:45 pm »
Quote
Is it possible to hide the flickering windows or run them minimized?
unfortunately not because the PVD makes the launch. The MOD tries to hide it and recover the focus of windows PVD, but it can not be done more.
Quote
Is it normal that importing from IMDb is very slow ...
As Ivek23 responded, the IMDB script can arrive to download to 6 pages per movie. In addition, IMDB increase the response time when it detects multiple queries of an IP user.
Have you tried the TheMovieDB script? This free provider is specially designed for this type of programs: download only the precise information in text mode, so it works very fast.

29
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: August 14, 2018, 07:54:48 pm »
 :) The problem of the hurry. It will be corrected in the next version. Thank you.

30
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: August 13, 2018, 05:35:30 pm »
I think that what is the problem: can you edit the PVdBScriptConfig.ini with notepad and change GET_FUL_FEATURES by GET_FULL_FEATURES with two L and try again ?
Thank you for your help.

31
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: August 08, 2018, 10:31:31 am »
Changelog:
  • MOD V.2018.08.08; VVV, Ivek23: Proxy support (if configured in PVD).
                                           IMDB Movie now retrieve Movie Technical Specs page (Ivek23) and use EventYear in awards.
                                           IMDB People now retrieve full biography page (Ivek23), use EventYear in awards and image bug with full awards solved.
                                           FilmAffinity change the ~poster~ begin string because API change.
Last version always in the first post

32
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: August 08, 2018, 08:18:10 am »
Is the famous problem with downloading images in the people PVD part. I have forgotten to keep the rondabout result througth the awards part. It will be solved easily.

33
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: August 06, 2018, 10:55:59 am »
Well, I don't understand all of your arguments but I "buy" : Return to the first solution for the movie
Quote
AddAward(EventName, AwardName, AwardCategory, AwardRecipient, EventYear, AwardWon);

and the same use EventYear for the People script in order to warrant the same data (I have done the test with Casablanca and Michael Curtiz).

Ivek, thank you very much for your explanation (I attach the scripts and the screenshots).

BTW, I want to publish a new release the next Wednesday, 8/8/2018 (nice date, isn't it?) with those scripts, proxy support and other bugs corrected.

Dear users, please, tell me all you bug discovers in order to correct it fast for this next version (and the 9/8/2018 we'll can go in holidays  ;D )

34
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: August 03, 2018, 07:44:24 am »
Really this is a correction of a first version error. The Script Manual says:

    procedure AddAward(Event, Award, Category, Recipient, Year : String; const Won : Boolean);
    Adds an award to a record. Parameters:
    Event = name of the event
    Award = award name
    Category = award category
    Recipient = for movie records this variable should contain the name of a specific person who won the award and
                     for people records the variable should contain the title of a movie for which the person won the award
    Year = release year of a movie (only applicable when adding award to a person record)
    Won = set to true if the recipient won the award and to false otherwise


In the first version the movie script added the "EventYear" (normally is the next year of the movie). But now we can add awards with the people script and then the year must be the movie year so we could have the same award with different years. So, in order to respect the Script Manual, the movie scripts doesn't write the year and is the people scripts who writes the year.
BTW, I have hesitated to write the year of the movie instead of leaving it blank but I do not know the consistency of the data. What do you think?

35
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: August 01, 2018, 01:41:27 pm »
Changelog:
  • MOD V.2018.08.01; VVV: DLL renovation (Firebird and SQLite).
                                           Change values of CHEAT-PREFIX-URL (better server the ancient sometimes fails in Win10) and DUMMY-HTML-FILE (always Portable.bat).
                                           IMDB_People_[EN][HTTPS] Awards retrieve developed.
                                           Other little improvements.
Last version always in the first post

36
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: August 01, 2018, 12:15:25 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?

You give me a idea: In the next MOD version I'll tried to update all possible dll. Please alert me if with this change appears news bugs.

BTW, I advise you to keep the names of the fields instead of changing the scripts: It’s to work once but it remains forever.
If you want to preserve your DB, you can do it without data loose in Preferences / Movies / Custom Items, select the field, push the “Rename” button and write the new standard MOD name.
The use of spaces in the name of fields is not a very good idea. I changed it many years ago, I think because it gave me problems with the Export Templates.

37
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: August 01, 2018, 08:54:49 am »
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.

When you post this bug I read the IMDB page and I saw that there was a commentary in the Parents Guide that said "Proposed MPAA: Rated PG for mild action". I think that this caused the confusion of the script. Today this comment has disappeared and I am not able to reproduce the error for correct it.
Thank you very much for your alert.

38
Talk / Re: Alternative
« on: June 16, 2018, 10:17:06 am »
Happily, we have finished the "Beta" phase in the PVD MOD and move on to "Release" state.
So, we closed this topic now and we continue in the new topic:

Personal Video Database 1.0.2.7 MOD
http://www.videodb.info/forum_en/index.php/topic,4134.0.html

See you all there.  ;D



39
Happily, we have finished the "Beta" phase in the PVD MOD and move on to "Release" state.
So, we closed this topic now and we continue in the new topic:

Personal Video Database 1.0.2.7 MOD
http://www.videodb.info/forum_en/index.php/topic,4134.0.html

See you all there.  ;D

40
Happily, we have finished the "Beta" phase in the PVD MOD and move on to "Release" state.
So, we closed this topic now and we continue in the new topic:

Personal Video Database 1.0.2.7 MOD
http://www.videodb.info/forum_en/index.php/topic,4134.0.html

See you all there.  ;D

Pages: 1 [2] 3 4 5 6 7 ... 10