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 ... 10
1
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: January 06, 2019, 12:36:34 pm »
Hello,
Thanks for your alert, you are right: nowadays the "IMDB People [EN] [HTTPS]" don't retrieve the full actor filmography from IMDB and only shows the fimography of the movies stored in the PVD.
There are several reasons for it:
  • The full person filmography can be in five pages. For instance F. Murray Abraham can be: Actor | Soundtrack | Thanks | Self | Archive footage
  • When you add filmography, PVD create a record for the movie even if it isn't in your collection. For instance, F. Murray Abraham has 188 credits!
  • Finaly, the lack of time for this feature not very much demanded. But it is a good opportunity for you to try to make this script. We will help you with it!

2
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: January 05, 2019, 03:10:50 pm »
Attached temporal Acumulative Scripts Patch date: 2019.01.05 (to copy in PVD folder for overwriting the existing files).

Changelog:
        IMDB_[EN][HTTPS]
                  V 1.4.0.0 (05/01/2019) Ivek23: Added ParsePage_PLOTKEYWORDS. Ivek23 corrections since last version (see forum).


Notes for Ivek23:
  • Not included the parameter GET_PLOTKEYWORDS_LIMIT=False because is redundant with PLOTKEYWORDS_LIMIT set in a big number
  • Not included the script part "Connections" as suggested (but we can include it with parameter GET_CONNECTIONS=False)
  • Corrected: "curPos:=curPos+43;" by "curPos:=curPos+45;" in order to get the good year (at least in Amadeus movie)
  • Not included the code part of Post:

       ImageFile:=TextBetWeenFirst(ItemList,'"image": "','._V1_.jpg",')+'._V1_UY'+IntToStr(MAX_IMAGE_HEIGTH)+'_.jpg';
       AddImageURL(itPoster,ImageFile);
       LogMessage('      Get result poster:' + ImageFile +'||');
       ItemValue1:=TextBetWeenFirst(ItemList,'"datePublished": "','-');
       //AddFieldValueXML('year',ItemValue1);
        LogMessage('      Get result year01:'+ItemValue1+'||');


    because is not needed for download the poster and the AddFieldValueXML is after // (commentary) and ItemValue1 is not more used
Tell me if I was wrong in something.

3
Support / Re: Export pictures
« on: December 29, 2018, 09:40:56 pm »
I'm not too sure of the answer.
To make multiple outputs on a field when exporting you need one auxiliary file dummy template "*.tpl" with the main file template "*.ptm"

It's hard to explain. Have you tried your export files for KODI? See post:
http://www.videodb.info/forum_en/index.php/topic,1496.msg20070.html#msg20070

I think you should use an instruction similar to (with maxvalues more than 1):

<!-- Exporting PVD movie images with a dummy template -->
{%value=poster template="KODI_Templates\images.tpl" maxvalues="1" params="full"}


with the "images.tpl" like:

{%param=imgid}
{#StringReplace '{%param=imgdata}' '{%param=imgdata}' ''}


But I don't know if it works (at least in the KODI templates works for one Poster or one ScreenShot or for the string fields)

4
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: December 02, 2018, 10:41:08 am »
Well done, Ivek32.
You really master the script working flow of the PVD MOD.
I'm going to integrate the retreive of Plotkeywords in the base script of IMDB (although 100 seem to me many) and Connections when you tell me it is ready.
Now I do not have much time, but it is first in my ToDo list.

Note: If Nostra wakes up and simply compiles the actual PVD with the libraries for HTTPS, we would have powerful scripts that could be quickly adapted to the oficial version.

5
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: November 25, 2018, 08:12:13 pm »
Damn! I had corrected that error that also prevents the compilation ... but I had to upload the bad file :-[  . Thanks Ivek23.
Now I think it's fine.

Attached temporal Acumulative Scripts Patch date: 2018.11.25 (to copy in PVD folder for overwriting the existing files).

Changelog:
        IMDB_[EN][HTTPS]
        V 1.3.1.0 (22/11/2018) Ivek23: ParsePage_IMDBMovieAKA small change in the source code and was missing the name for the country.

6
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: November 23, 2018, 09:07:10 pm »
Attached temporal Acumulative Scripts Patch date: 2018.11.23 (to copy in PVD folder for overwriting the existing files).

Changelog:
        IMDB_[EN][HTTPS]
        V 1.3.1.0 (22/11/2018) Ivek23: ParsePage_IMDBMovieAKA small change in the source code and was missing the name for the country.

7
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: November 01, 2018, 10:39:17 am »
Changelog:
  • MOD V.2018.11.01; Ivek23, VVV: Important corrections and improvements (read PVD forum).
                                           IMDB_[EN][HTTPS]+IMDB_People_[EN][HTTPS] New parameter USE-SAVED-PVDCONFIG for avoid download page if
                                           the Overwrite Options of the Script in the pvdconf.ini are 'Do Nothing'. Remember that PDV only save the pvdconf.ini in exit.
                                           For recover Toolbar new 'pvdconf.ini' file and Tabs folder.
Last version always in the first post

8
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: October 29, 2018, 10:00:32 pm »
Attached temporal Acumulative Scripts Patch date:2018.10.29 (to copy in PVD folder for overwriting the existing files).
ATTENTION: For recover Toolbar it overwrite the 'pvdconf.ini' file and Tabs folder.

Changelog:
        IMDB_[EN][HTTPS]+IMDB_People_[EN][HTTPS]
            V 1.3.0.0 (28/10/2018) New parameter USE-SAVED-PVDCONFIG for avoid download page if the Overwrite Options of the Script in
                                        the pvdconf.ini are 'Do Nothing'. Remember that PDV only save the pvdconf.ini in exit.

Note: This is a release candidate.

9
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: October 29, 2018, 07:49:50 pm »
And get only Movies not TV Episodes? Is it possible?

10
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: October 26, 2018, 08:59:04 pm »
Attached temporal Acumulative Scripts Patch date:2018.10.26 (to copy in PVD folder for overwriting the existing files).
ATTENTION: For recover Toolbar it overwrite the 'pvdconf.ini' file and Tabs folder.

Changelog:
                Corrected "Date:=StringReplace(Date,'01.','1.',True,True,False);"
                Now retrive directors, authors,  composers, etc from the principal page
                Recover the Toolbar with the indispensable buttons (Delete posters, clear data,etc)

Note: This is a release candidate.

11
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: October 22, 2018, 08:39:30 am »
Quote
working with Firebird database
I think that in the MOD version there are only two modification that may to influence this functionality: it runs in portable mode and there is a dll update.
I can propose you some test (important, first make a backup of your actual instalation):

1) Replace the Scripts and Plugings folders of your current installation with the MOD folder but run it in normal mode (NOT with Portable.bat)
 With this you have a MOD working copy over your standart installation.
2) If it works, copy the MOD dll's to the current installation. If it works, I suspect that the portable mode does not allow the connection with the Firefox server, if it does not work I suspect that the problem is the new dll.

Let us know your results.

(see "Dirty" own PVD installation/collection adaptation for advanced users" for more information)

12
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: October 21, 2018, 10:08:29 am »
The same acumulative patch but with LogMessages improvements (only for the scripts developers: better tabulation, texts with the Custom Field name, etc)

13
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: October 20, 2018, 07:52:00 pm »
Attached temporal Acumulative Scripts Patch date:2018.10.20 (to copy in PVD folder for overwriting the existing script files).

Changelog: (All posted alerts treated but the last GET_FULL_CREDIT=False)

IMDB_[EN][HTTPS].psf and IMDB_People_[EN][HTTPS].psf:
V 1.2.0.3 (20/10/2018) Improvement of search stored URL. Better script flow control. Only get FULL_AKA in MediaType='Movie'. More Ivek23 corrections.

FilmAffinity_[xx][HTTPS].psf
V 4.0.0.6 (20/10/2018) VVV: Improvement of search stored URL. Added the custom field FilmAffinity_Rating. Better script flow control.

Quote
It is necessary to check " // Get Cast." GET_FULL_CREDIT = False only the info of the main movie page. " code in Function ParsePage_IMDBMovieBASE section
I agree but there is enougth info of the directors, authors,  composers, etc in the principal page for the normal user (for instance for me ;D )...
but now I have a very little amont of free time. Can anybody help with the script?  :)


 

14
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: October 08, 2018, 07:41:16 am »
Good news even if it must expend "some" manual editing time! It's true that the Grid View edition is a little bit forgotten.
Perhaps you have some especial chars in the URL's fields that the browser is capable to manage and PVD crash (for instance, the URL's must be separated by spaces not by Return, char#13).

Quote
Regardless of Ivek's and mine issue regarding "www", it is obviously solvable, one way or another.
I strongly recommend you use the standar url formats because there is other script (TheMovieDB) that use the IMDB link and is the normal way of PVD to detect the provider url (remember when PVD directly download the page when it detects the BASE_URL in the URL field, this is the reason that in the HTTPS scripts the function GetBaseURL returns BASE_URL_ROUNDABOUT in order to cheat GET PVdB funtion and rondabout the "https" fail).

And if all records are with those formats are easy to change with a SQL script because the URL field is a little bit especial, for instance, I haven't found the manner to protect it from script write or to delete all with the mass editor.

15
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: October 07, 2018, 12:23:30 pm »
I'm agree with you that the script doesn't give you any problems.
I want to say that perhaps this is because the script don't use the stored URL and it search the title in IMDB and continues scrapping.
You may see the script behaviour with the log window tool.

16
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: October 07, 2018, 10:47:29 am »
Attached non critical Acumulative Scripts Patch date:2018.10.07 (to copy in PVD folder for overwriting the existing script files).

Changelog:
IMDB_[EN][HTTPS].psf and IMDB_People_[EN][HTTPS].psf:

 V 1.2.0.2 (07/10/2018) Managed IMDB url's not finish in BASE-URL-SUF='/' and principal page download errors.

17
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: October 07, 2018, 10:44:54 am »
Quote from: Ivek23
The interesting thing is that I did not have any problems in updating the information.
Is sure that the script don't find the IMDB url. Maybe that the script are always searching the movie URL's in IMDB page but it find at first and don't ask nothing. You can see that with the Log tool. In this movies, after pass the script, don't you have two IMDB url's stored?

Quote from: afrocuban
To add to this, I hve experienced one more IMDb script issue:
- If URL doesn't have slash - "/" at the and, we get "404" error message, like URL doesn't exist on imdb.com, while actually url is valid. Please see first screenshot attached.
- After pressing OK (1-5 times, depending on how many pages are imported), script adds ghost link: - "http:/"? Please check second screenshot.
This is not easy to solve with a SQL script so I code a not critical MOD patch for you. In the next post.

18
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: October 06, 2018, 08:39:06 pm »
Quote
Is it possible then, considering your statement:
... to standardize urls in form:
[*.]imdb.com/title/ttxxxxxxx/
[*.]imdb.com/name/nmxxxxxxx/

I think to do that this is dificult because the script use the parameter
BASE_URL_PRE       = 'http://www.imdb.com/title/''
to make the url and for search if exist the url.

And this is risky because if the original PVD came to live again it use the same behavior with the Function GetBaseURL for locate the url.

But Ivek23 and you don't need add 'www' manual the SQL script (remeber, in debug mode Help/SQL, As script checked) 
update MOVIES set "url"=replace("url",'http://imdb', 'http://www.imdb');

works fine: I test it.


19
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: October 06, 2018, 01:38:02 pm »
This is easy: in both "13" and "After life"  imdb url's lacks "www" remeber the standar url is:
http://www.imdb.com/title/ttxxxxxxx/

Perhaps you can use the SQL script:

update MOVIES set "url"=replace("url",'http://imdb', 'http://www.imdb');
.

BTW, one tools that can help you is pass the db to Excel with the export template "CSVDB" and search with the excel filters some bizarre things.
Quote
Do you by any chance know what exactly optimizing will do to my database?
It will do as you select: delete duplicates entries, delete orphan persons (persons not related with your movies). You can select if it will do with all movies/people or only qith the visible (so you can protect movies with a filter and hidde it's)

20
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: October 04, 2018, 10:32:43 am »
Have you used the Tools/Optimize database ... ?
Perhaps it solved your "write protected" records but I warm you that it spend a lot, a lot of time.
With a 7.000 movies you must have more of 200.000 persons!
Perhaps you will spent one or two days with PVD working and the PC un-responding.

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