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 8 9 10
61
Talk / Re: Alternative
« on: June 08, 2018, 07:35:49 am »
We are near to publish a "complete" beta versión. Some anwsers:
Quote
It is also suggested to add the Technical Specs and User Reviews and Custom Fields codes, since these two were also in the Imdb movie plugin.
In the last beta, I put the Movie Technical Specs in the ~features~ field in all scripts. It seems the "thought" of Nostra for this field.
Today the MOD version has 5 custom fields:
Set (Short Text), TOP_250 (Number), IMDB_Votes (Number), TheMoviedb_Votes (Number), FilmAffinity_Votes (Number)
I would like to use the most of the PVD fields and not have to increase more custom fields until the version was stable.
For instance IMDB_ID is easily got from URL movie: string between the "http://www.imdb.com/title/" and "/" (line 1132-Beta 1).
Quote
... users of the Russian section ...
Great! I suppose there are many Russian PVD users. The translated versions of the scripts are made with ecobyte-ReplaceText and a file translation file text. I'll include this files in the next versión for further languages.
BTW, I don't see too many returns from the users now so I hope that when we publish the first version the people will start using it and telling us their discovers (bugs) and their wishes.
Today, I have two main "concerns": people who leave PVD because it does not work and new people who enter in the PVD page and can not find an easy functional version to use.

62
Talk / Re: Alternative
« on: June 05, 2018, 08:43:48 pm »
The Beta 1 version
http://vvveasy.altervista.org/wp-content/uploads/2018/06/PersonalVideoDB_MOD-V.Beta_.1.zip

Beta Testers: Run NOW with "debug.bat". So if you have problems, please is very important the name of the movie and attach the file: PersonalVideoDB\log.txt   

----------------------------------------------------------------------------------------------------------------
"Dirty" own collection adaptation:
Important: Make a secure copy and a test copy of your own actual PDV installation.
Unzip the beta 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)
----------------------------------------------------------------------------------------------------------------
Corrected:
1) Alexander the Great (2006) aka and poster issues.
2) The 8 Mile description issue
3) Added the ~Budget~ and ~money~ corrections (Ivek23 code)

Ivek23:
Quote
The code for Gross USA can also be used. So I have a budget code for the budget, Gross USA and a box office.
Quote
The User Reviews code could also be added.
In the base versión, I don't want add a lot of customs fields. We can let to the users reclaim it.
Quote
Also added is the IMDB Id code.
This is more a PVD work than a download parse routine work. So I put in line 1132 with a optimiced code.

Quote
IMDB_People_[EN][HTTPS]
You can add altnames, birthplace, full bio and even awards, if possible. I use the most Imdb for peoples information, and occasionally also the TMDB (which is extremely rare) is also considered.
There is a lot of work in this point. The People explotation is not very used (even it not work very well in PVD) so I want first publish a PVD_MOD funtional versión with several working languages: (EN, ES, FR in TheMovieDB) and (ES, EN in FilmAffinity)



63
Talk / Re: Alternative
« on: June 03, 2018, 02:38:06 pm »
The Alfa 9 version ONLY SCRIPT FOLDER .... we are near of Beta versión  ;D:
http://vvveasy.altervista.org/wp-content/uploads/2018/06/Scripts-V.Alfa_.9.zip

Corrected: Https in persons, AKA empty values and Change "Get Length" parameter to "Get Feautures"  to retreive original movie technical spec (RunTime, languages, aspect,etc) in all scripts (Ivek23 sugestion-code)

Change the ancient folder for the new folder. Remember run with "portable.bat" (that is with the debug mode set in this test version).
We entry in the script debug so: If you have problems, please is very important the name of the movie and attach the file: PersonalVideoDB\log.txt   

Now we are capable of change the script parameters, so I recomend see first the new Script "**** Scripts Configuration ****" (doesn't affect to database)
----------------------------------------------------------------------------------------------------------------
Important: This is a alfa version (even it not arrives beta level). Please is only for test, not mix your personal Database with this version. You may unzip in your desktop and run only in portable mode (portable.bat) without internet proxi.
----------------------------------------------------------------------------------------------------------------

Quote
Plot Keywords (~ category ~ "keywords") has not been on Imdb web sites for a long time as an area Category (also in PVD for a long time, the Category field is empty), but this information is taken as Tags and the info is transferred to the PVD Tags normal field.
In PVD there are three similar fields, with comma separated list and list filter capabilities and is not easy to differentiate.
We can see with an example, for instance with “The GodFather":
~genre~   = Genre
    IMDB= Drama, Crime
    TheMovieDB= Drama, Crime
    FilmAffinity= Drama
~category~ or ~tags~ (Plot Keywords)
    IMDB= Mafia, crime family, patriarch, organized crime, rise to power
    TheMovieDB=  Italy, loss of loved one, love at first sight, Italian american, europe, patriarch, organized crime, mafia, lawyer, crime, crime family, rise to power, mob boss, 1940s, 1950s
    FilmAffinity= Mafia. Crime. 1940s. 1950s. Family Relationships. Cult Movie.
For me, Mafia, Crime, 1940s or Cult Movie are categories of films but is true that nowadays, in internet, we use more Tags than Category.
Well how Category appears before in PVD, just below of Genre, I take this field and left Tags for a user use like own age certification.



64
Talk / Re: Alternative
« on: June 02, 2018, 11:58:56 am »
The Alfa 8 version ONLY SCRIPT FOLDER:
http://vvveasy.altervista.org/wp-content/uploads/2018/06/Scripts-V.Alfa_.8.zip

Corrected the BASE_URL_IMAGE_PRE_TRUE and the AKA errors and others (see down). Added the people script "IMDB_People_[EN][HTTPS]" (the last)

Change the ancient folder for the new folder. Remember run with "portable.bat" (that is with the debug mode set in this test version).
We entry in the script debug so: If you have problems, please is very important the name of the movie and attach the file: PersonalVideoDB\log.txt   

Now we are capable of change the script parameters, so I recomend see first the new Script "**** Scripts Configuration ****" (doesn't affect to database)
----------------------------------------------------------------------------------------------------------------
Important: This is a alfa version (even it not arrives beta level). Please is only for test, not mix your personal Database with this version. You may unzip in your desktop and run only in portable mode (portable.bat) without internet proxi.
----------------------------------------------------------------------------------------------------------------
I prefer correct the AKA no results with a comprobation in the beginnig of the subrutine:
Quote
    Result:=prFinished;
    if (Pos('It looks like we don'+Chr(39)+'t have any AKAs for this title yet.',HTML)>0) then Exit;

I think that the problema of "Buffalo Bill, l'eroe del far west" is the comma because it get the countries. It's NOT corrected but I have some ideas. Stay tunned.


65
Talk / Re: Alternative
« on: May 31, 2018, 08:22:58 pm »
The Alfa 7 version:
http://vvveasy.altervista.org/wp-content/uploads/2018/05/PersonalVideoDB_MOD-V.Alfa_.7.zip

Corrected the important error of no waiting to finish of download (see down).

Remember run with "portable.bat" (that is with the debug mode set in this test version).
We entry in the script debug so: If you have problems, please is very important the name of the movie and attach the file: PersonalVideoDB\log.txt   

Now we are capable of change the script parameters, so I recomend see first the new Script "**** Scripts Configuration ****" (doesn't affect to database)
----------------------------------------------------------------------------------------------------------------
Important: This is a alfa version (even it not arrives beta level). Please is only for test, not mix your personal Database with this version. You may unzip in your desktop and run only in portable mode (portable.bat) without internet proxi.
----------------------------------------------------------------------------------------------------------------

Now the IMDB and the FA pages are very big. curl download writing directly over the file so now "PVdBDownPage.exe" wait to have all the page to pass  to the script. In the precedent versions, with Win_7 OS is normal that you get a lot of strange problems. I have done several test and it works with my speed of line and computer. Now the INTERNET_TEST_ITERATIONS   = 5 (so 10seg). If you get some alerts of no internet conexión you may increase.

Quote
(31.5.2018 19:22:12)       Now present file: D:\MyTestPVD\PersonalVideoDB_MOD\PersonalVideoDB6\Scripts\downpage-UTF8_NO_BOM.htm
(31.5.2018 19:22:18) Compiling script: IMDB_[EN][HTTPS].psf

Ivek23: I supose that in this moment you have got the crash "StackOverflow" window: It's not possible that PVD needs to compilate in the middle of runnig of script. In this moment we get a erratic working.

66
Talk / Re: Alternative
« on: May 31, 2018, 02:28:00 pm »
Quote
When I removed the code for CAST, AWARDS and MPAA

Ivek23, If you run the first script  "**** Scripts Configuration ****" you are capable of change the script behavior of download or not the pages of AKA, CAST, AWARDS and MPAA. You don't need to remove the code.

With the Log file I see a hint of the problem: When the script try to get the downloaded movie page, PVD fails and recompliling the script. I think that this happens because the download of the page is not complete (may be for the line speed or for the weight of the page). I have some ideas to solve this. Stay tunned.

BTW, "TheMoveDB script works flawless" because it is a API script and only download the data text in a standart order. The others scripts download the "user" web page, with all the HTML code.

67
Talk / Re: Alternative
« on: May 30, 2018, 08:17:25 pm »
The Alfa 6 version:
http://vvveasy.altervista.org/wp-content/uploads/2018/05/PersonalVideoDB_MOD-V.Alfa_.6.zip

Corrected the error of spaces in PVD path and others littles improvements. TheMovieDB People script included.

Remember run with "portable.bat" (that is with the debug mode set in this test version).
We entry in the script debug so: If you have problems, please is very important the name of the movie and attach the file: PersonalVideoDB\log.txt   

Now we are capable of change the script parameters, so I recomend see first the new Script "**** Scripts Configuration ****" (doesn't affect to database)
----------------------------------------------------------------------------------------------------------------
Important: This is a alfa version (even it not arrives beta level). Please is only for test, not mix your personal Database with this version. You may unzip in your desktop and run only in portable mode (portable.bat) without internet proxi.
----------------------------------------------------------------------------------------------------------------

afrocuban:
I think I have corrected the problem with the spaces in the PVD path, so if it works for you we can pass to Beta version.

68
Talk / Re: Alternative
« on: May 28, 2018, 08:37:25 pm »
The Alfa 5 version:
http://vvveasy.altervista.org/wp-content/uploads/2018/05/PersonalVideoDB_MOD-V.Alfa_.5.zip

Corrected the error of httpss (see below). The basic movie scripts are finish. Before traslations I'm going adapt the people scripts.

Remember run with "portable.bat" (that is with the debug mode set in this test version).
If you have problems, please post the two files:
               PersonalVideoDB\log.txt   and   PersonalVideoDB\Scripts\PVdBDownPage.log

Now we are capable of change the script parameters, so I recomend see first the new Script "**** Scripts Configuration ****" (doesn't affect to database)
----------------------------------------------------------------------------------------------------------------
Important: This is a alfa version (even it not arrives beta level). Please is only for test, not mix your personal Database with this version. You may unzip in your desktop and run only in portable mode (portable.bat) without internet proxi.
----------------------------------------------------------------------------------------------------------------
Ivek23: The hint to correct de httpss problema is just in the line over your correction:
Quote
DownloadURL:=StringReplace(DownloadURL,'http','https',True,True,False); //The direct url needed (no https redirection)
It works for http:// url's but in the https:// url's you get httpss://. This happens in other parts. I changed the code including the ':'
DownloadURL:=StringReplace(DownloadURL,'http:','https:',True,True,False); //The direct url needed (no https redirection).
Ivek23:
Quote
My version of IMDB_ [EN] [HTTPS] script, which was supposed to work, has added some additional information for Sound Mix, Color, Aspect Ratio, Gross USA and Language.
Let me think that. There are several solutions:
1) Expand the GET_LENGHT option to this other infos (for the users that don't want the info of the "fisical" own copy of the movie)
2) Create new customs fields: I don't like this for a basic MOD versión because is a very particular use.
Personaly, I prefer the first option. I'll do after the people scripts.


afrocuban:
The programa detectes well your Windows "WIN_7" (the same as Ivek) but it seems that curl don't work well in yours computer.
In order to verify curl, can you run in Script folder with the cmd window (the MS-DOS window) the next command:

curl.exe -o downpage.htm https://www.imdb.com/title/tt1294969/

You should see that the page is downloaded and saved in the file "downpage.htm"
Other thing, can you post the path of the Script folder when you do the PVD MOD test? is in order to detect if there are any char (espace, language, etc) that provoque the error.



69
Talk / Re: Alternative
« on: May 27, 2018, 07:20:37 pm »
I don't understand very well, the english is a "universal" language but not easy  ;D.
Can you write me the script and the line number?

70
Scripts and Templates / Re: Script: FilmAffinity [ES] (Easy Script)
« on: May 27, 2018, 07:18:11 pm »
This topic to update FilmAffinity is nearly to close.
But don't worry, Ivek23 and me, we are in the aventure of make a Personal Video Database MOD fully funtional in the
Topic "Alternative":

http://www.videodb.info/forum_en/index.php?topic=4126.msg20555#msg20555

If you want to help us, you can be a Beta tester:
1) Make a copy of you Personal Video DataBase folder and delete the "Plugins" and "Script" folders
2) Download and unzip the MOD version
3) Copy  "Plugins" and "Script" folders of the MOD version in your copy of your collection
4) Test it.
And you can tell us your experience.  ;D

71
Talk / Re: Alternative
« on: May 27, 2018, 11:21:53 am »
The Alfa 4 version:
http://vvveasy.altervista.org/wp-content/uploads/2018/05/PersonalVideoDB_MOD-V.Alfa_.4.zip

A lot of improvements and corrections. The basic movie scripts are finish. Before traslations I'm going adapt the people scripts.

Remember run with "portable.bat" (that is with the debug mode set in this test version).
If you have problems, please post the two files:
               PersonalVideoDB\log.txt   and   PersonalVideoDB\Scripts\PVdBDownPage.log

Now we are capable of change the script parameters, so I recomend see first the new Script "**** Scripts Configuration ****" (doesn't affect to database)
----------------------------------------------------------------------------------------------------------------
Important: This is a alfa version (even it not arrives beta level). Please is only for test, not mix your personal Database with this version. You may unzip in your desktop and run only in portable mode (portable.bat) without internet proxi.
----------------------------------------------------------------------------------------------------------------
Great work, Ivek23: I have applied your three code corrections.

Quote
IMDB_ [EN] [HTTPS] script as it is now, very rare cases that it works at all, most often a window appears asking for confirmation, restarting or turning off PVD
That is the "StackOverflow" error window: Normaly it arrives because the script try to get data out of a variable reserved memory. In my experience I have this errors in to cases: 1) A hard code error, for instance, try to read a array with a index out of the limit 2) the web provider database has a exception not managed by the script, for instance, the movie has no title and the scritpt work with it.
Normaly, the first case arrives always and is easy to detect. For the second case, in order to analyse the error, is very important to know the movie that crash the script. You can see the title in the PVD status bar.
Quote
It may be a mistake, but when you want to add something to IMDB_ [EN] [HTTPS] script, then it will appear a window with the request to confirm, restart or turn off the PVD. I've added a change with Notepad ++ as well as when I added the change with Notepad.
I think that this appears because those version runs in debug mode. You can go to Help and must be a Log option to see the script runs. I didn't appear to me but I always recompile the scripts in the Log window after a editor modification and before to run.
May be other source of this: the new script "**** Scripts Configuration ****" must re-write all the listed scripts when you save. So the editors detects the change of text (and if you re-read you lost the editor changes). Normaly , the user don't have the script open with an editor.




72
Talk / Re: Alternative
« on: May 23, 2018, 09:04:37 pm »
The Alfa 3 version:
http://vvveasy.altervista.org/wp-content/uploads/2018/05/PersonalVideoDB_MOD-V.Alfa_.3.zip

A lot of improvements and corrections of yours detected problems

Remember run with "portable.bat" (that is with the debug mode set in this test version).
If you have problems, please post the two files:
               PersonalVideoDB\log.txt   and   PersonalVideoDB\Scripts\PVdBDownPage.log

Now we are capable of change the script parameters, so I recomend see first the new Script "**** Scripts Configuration ****" (doesn't affect to database)
----------------------------------------------------------------------------------------------------------------
Important: This is a alfa version (even it not arrives beta level). Please is only for test, not mix your personal Database with this version. You may unzip in your desktop and run only in portable mode (portable.bat) without internet proxi.
----------------------------------------------------------------------------------------------------------------
Ivek23: I rewrite the IMDB script for easy Proxomitron adaptation (In the place of call function Download page, you may use the traditional script modes for make PVD download every page in the same script).
Ivek23: Show the posters in SearchList is now a script parameter, use new Script "**** Scripts Configuration ****" to switch. I didn't see the advantage of use 'http://www.imdb.com/find?q=' in the place of 'https://www.imdb.com/search/title?title=' because I get a lot of "false" results. We can analyse this later.
Afrocuban: The FilmAffinity in english is not ready but now you have a script parameter that allows set FilmAffinity rating (or TheMovieDB rating) as user rating, so you have the possibility of three ratings: IMDB, user and other ratting. Three customs fields are setting for save the  votes).

73
Scripts and Templates / Re: Script editing with NotePad++
« on: May 23, 2018, 08:51:03 pm »
The PVD script language is very similar to the Free Pascal (often I use the internet documentation of this language to solve questions of PVD).
So I had used PSPad for editing but, with the udl file, NotePad is very much better.

Note: Please, if you can pin the TOPIC in the forum, I think it would be good for all people.

74
Talk / Re: Alternative
« on: May 22, 2018, 06:50:05 pm »
I see that you can use a big parts of the HTTPS the scripts for your Proxomitron solution: I will change my scripts schema and i'm going to programate in funtions that you can use easily.

BTW see the post 'Script editing with NotePad++':
http://www.videodb.info/forum_en/index.php/topic,4133.msg20546.html#msg20546

beacuse the highlight and the folding is a very good help for the script programmer.
Note: If you can pin in the forum the NotePad post I think it would be good for all people.

75
Scripts and Templates / Script editing with NotePad++
« on: May 22, 2018, 06:22:06 pm »
Hello,
When you are programming you need a good editor that highligh the code and allow folding (colapse coherent parts of code, for instance a function).
Notepad++ with the attached "udl-Notepad++PVD_Script.xml" you can changed your code vision of
Without:

With Notepad++ and 'udl-Notepad++PVD_Script.xml':



You must:
1)Download the minimalist portable NotePad++ from https://notepad-plus-plus.org/repository/7.x/7.5.6/npp.7.5.6.bin.minimalist.7z

2)In Notepad++ import the attached here udl file (udl-Notepad++PVD_Script.xml) as described in: http://docs.notepad-plus-plus.org/index.php/User_Defined_Language_Files#How_to_install_user_defined_language_files.

When you open the *.psf PDV script file, Notepad++ do the rest.

Note: You can use the comentaries //BlockOpen  and //BlockClose for folding functions, comentaries, etc.

Updated 23/05/2018: HighLight Field Names.

76
Talk / Re: Alternative
« on: May 15, 2018, 09:08:24 pm »
The Alfa 2 versión:
http://vvveasy.altervista.org/wp-content/uploads/2018/05/PersonalVideoDB_MOD-V.Alfa_.2.zip

A lot of improvements and corrections of yours detected problems (The IMDB script download all pages, the awards page got me nearly become crazy).
Remember run with "portable.bat" that in this test version is with the debug mode set. If you have problems, please post the two files:

PersonalVideoDB\log.txt   and   PersonalVideoDB\Scripts\PVdBDownPage.log

Don't worry if I answer late, I'm decided to finish the PVD_MOD but I have and idea that give a lot of work but it's worth it

PS: Ivek, I just see your message with the search url. Taken note for the next version, sorry.

77
Talk / Re: Alternative
« on: May 13, 2018, 09:11:07 pm »
Thank you very much for your help.
I have some ideas to correct the problems but there is a  lot of work.
Stay tunned  ;D .

78
Talk / Re: Alternative
« on: May 10, 2018, 09:32:30 pm »
Well, I see that all have our own solution.
Personaly I prefers the more near of software FOS (Free Open Source): I use PVD for store all of my collection and with the template Export to XBMC:
http://www.videodb.info/forum_en/index.php/topic,1496.msg20102.html#msg20102
I create the *.nfo  files to read with KODI scrapers in "Local Information Only" and I can renovate the saved information in PVD every time that I want.

BTW, afrocuban, I think that the Filmaffinity [EN][HTTPS] will arrive early but now I'm workin in Personal DB-MOD. Here the first alfa version:
http://vvveasy.altervista.org/wp-content/uploads/2018/05/PersonalVideoDB_MOD-V.Alfa_.1.zip

I need alfa-testers  ;D for the general program working (not for the retreived info, I must adapt the Ivek IMDB  scripts).
You can unzip in your desktop and run only in portable mode (portable.bat) without internet proxi.

 ;D Eager of knowing the results of your first tests ;D

79
Talk / Re: Alternative
« on: May 09, 2018, 02:00:17 pm »
Unfortunately, we are still here because we believe there isn't alternative for PVD. None of other programs, and I tried them so many in last 15-20 years is not even close to PVD.
I agree with afrocuban, not other programs are so flexible as PVD.
With periodic updates you can try "Ant Movie Catalog", "Filmotech" and the cited by Ivek EMDB "Eric's Movie Database".
If you want test without install, you can use SyMenu, a portable menu launcher https://www.ugmfree.it/Default.aspx
But, if you wait a little I'm trying to make a PVD MOD that works without much problems  ;D

80
Scripts and Templates / Re: Script: FilmAffinity [ES] (Easy Script)
« on: May 08, 2018, 08:23:33 pm »
Thank you very much Ivek. ;D
I'm working in a PVD MOD versión with the patch included more easy to try.
Stay tunned.

Pages: 1 2 3 [4] 5 6 7 8 9 10
anything