Recent Posts

Pages: 1 2 3 4 [5] 6 7 8 9 10
41
Support / Re: Personal Video Database 1.0.2.7 MOD
« Last post by Ivek23 on October 14, 2018, 07:27:16 am »
Thanks for the fast response dear Ivek. I have one question. Can your IMDB_[EN][HTTPS] _000a.psf script substitute all other IMDb scripts, except IMDB_[EN][HTTPS](episodes).psf of course?
Thank you for an answer in advance.

Yes, you can, as mentioned above. Also, keep IMDB_ [EN] [HTTPS] _000.psf script if there is any problem with IMDB_ [EN] [HTTPS] _000a.psf script, just in case, that you can also use it.
42
Support / Re: Personal Video Database 1.0.2.7 MOD
« Last post by afrocuban on October 13, 2018, 08:45:43 pm »
Thanks for the fast response dear Ivek. I have one question. Can your IMDB_[EN][HTTPS] _000a.psf script substitute all other IMDb scripts, except IMDB_[EN][HTTPS](episodes).psf of course?
Thank you for an answer in advance.
43
Support / Re: Personal Video Database 1.0.2.7 MOD
« Last post by Ivek23 on October 13, 2018, 06:43:12 pm »
Yes! It seems that so far works great, dear Ivek (I'm still updating episodes)!!! Thank you so much.

Thanks.

So, of all of my 7000 movies, it left only one movie-mystery that I cannot update: Mr. Magorium's Wonder Emporium (https://www.imdb.com/title/tt0457419/)

Whether IMDb url field is empty, or I manually put IMDb url in the field, all 3 scripts give the same error 404 - please check screenshot attached. I also tried and emptied all IMDb fields except Title, but no luck to import

Can anyone of you import data for this movie?

I checked with IMDB_ [EN] [HTTPS] script, which was updated after August 20, it is not working, and the PVD or script reports an error saying that this url address does not exist. IMDB_ [EN] [HTTPS] script, which was in MOD V.2018.08.08, but limitedly transfers information. I found the error cause and this is located in the part of the script from Function GetDownloadURL to Function ParsePage_BingSearch. I replaced this code section in IMDB_ [EN] [HTTPS] script with a code section from IMDB_ [EN] [HTTPS] script, which was in MOD V.2018.08.08. This updated IMDB_ [EN] [HTTPS] script was easy and correctly downloaded all the information for this problematic movie title.

Updated IMDB_ [EN] [HTTPS] _000a script is attached.

VVV_Easy_Programing, please check out the difference between IMDB_ [EN] [HTTPS] _000 script and IMDB_ [EN] [HTTPS] _000a script in the part of the script code from Function GetDownloadURL to Function ParsePage_BingSearch.
44
Support / Re: Personal Video Database 1.0.2.7 MOD
« Last post by afrocuban on October 13, 2018, 10:04:41 am »
Yes! It seems that so far works great, dear Ivek (I'm still updating episodes)!!! Thank you so much.

So, of all of my 7000 movies, it left only one movie-mystery that I cannot update: Mr. Magorium's Wonder Emporium (https://www.imdb.com/title/tt0457419/)

Whether IMDb url field is empty, or I manually put IMDb url in the field, all 3 scripts give the same error 404 - please check screenshot attached. I also tried and emptied all IMDb fields except Title, but no luck to import

Can anyone of you import data for this movie?
45
Support / Re: Personal Video Database 1.0.2.7 MOD
« Last post by Ivek23 on October 13, 2018, 08:57:16 am »
Thanks Ivek for the update.

Thanks.

Dear VVV,

Some of my URL fields probably had some special characters in IMDb addreses, because now after I manually deleted url, than import data from imdb, I got new imdb url in url field. To test this newly imported imdb url, I applied update again with "overwrite" option on and everything went well, so obviously you were right.

Thanks Ivek for the update.

I have discovered one more issue with both IMDB_[EN][HTTPS].psf and IMDB_[EN][HTTPS] _000.psf

I can update Series record (for example http://www.imdb.com/title/tt0863046/). But I can't update it's episodes. Updating just crashes PVD.

Here's part of the debug code

Code: [Select]
allocated memory  : 99,05 MB
command line      : viddb.exe -portable -debug
executable        : viddb.exe
exec. date/time   : 2018-08-08 10:01
version           : 1.0.2.7
compiled with     : Delphi 2010
madExcept version : 3.0l
callstack crc     : $0811da24, $53dbdf84, $4ecf9cfa
exception number  : 7
exception class   : Unknown
exception message : Unknown.

main thread ($9a4):
0811da24 +000 ???
008d0d77 +a27 viddb.exe    MainU    8520 +148 TPVDMain.ExecWebImport
008c5470 +3c8 viddb.exe    MainU    5445  +60 TPVDMain.DoPluginExecute
008cc7cf +057 viddb.exe    MainU    7482  +10 TPVDMain.ExecImpBtnClick
00551163 +06f viddb.exe    Controls           TControl.Click
005dc454 +000 viddb.exe    Buttons            TSpeedButton.Click
005dc43e +0ea viddb.exe    Buttons            TSpeedButton.MouseUp
00551598 +038 viddb.exe    Controls           TControl.DoMouseUp
00551614 +070 viddb.exe    Controls           TControl.WMLButtonUp
0055151e +07e viddb.exe    Controls           TControl.WMMouseMove
00550bf8 +2d4 viddb.exe    Controls           TControl.WndProc
0055081c +024 viddb.exe    Controls           TControl.Perform
00554de8 +0ac viddb.exe    Controls           TWinControl.IsControlMouseMsg
00555338 +3e4 viddb.exe    Controls           TWinControl.WndProc
00554b5c +02c viddb.exe    Controls           TWinControl.MainWndProc
004a9b5c +014 viddb.exe    Classes            StdWndProc
755f7885 +00a USER32.dll                      DispatchMessageW
005812c9 +11d viddb.exe    Forms              TApplication.ProcessMessage
0058130e +00a viddb.exe    Forms              TApplication.HandleMessage
00581639 +0c9 viddb.exe    Forms              TApplication.Run
009af241 +b69 viddb.exe    viddb     257 +120 initialization
75e03368 +010 kernel32.dll                    BaseThreadInitThunk

thread $1828 (TWorkerThread):
77ccf8da +0e ntdll.dll                           NtWaitForSingleObject
775015c8 +92 KERNELBASE.dll                      WaitForSingleObjectEx
75e0118f +3e kernel32.dll                        WaitForSingleObjectEx
75e01143 +0d kernel32.dll                        WaitForSingleObject
005a2651 +19 viddb.exe      VirtualTrees 6002 +3 TWorkerThread.Execute
00467507 +2b viddb.exe      madExcept            HookedTThreadExecute
004a703a +42 viddb.exe      Classes              ThreadProc
00406c38 +28 viddb.exe      System        985 +0 ThreadWrapper
004673e9 +0d viddb.exe      madExcept            CallThreadProcSafe
00467453 +37 viddb.exe      madExcept            ThreadExceptFrame
75e03368 +10 kernel32.dll                        BaseThreadInitThunk
>> created by main thread ($9a4) at:
005a2596 +16 viddb.exe      VirtualTrees 5965 +1 TWorkerThread.Create

thread $1e90:
77cd0166 +0e ntdll.dll     NtWaitForMultipleObjects
75e03368 +10 kernel32.dll  BaseThreadInitThunk

thread $1d80:
77ccf8da +0e ntdll.dll       NtWaitForSingleObject
775015c8 +92 KERNELBASE.dll  WaitForSingleObjectEx
75e0118f +3e kernel32.dll    WaitForSingleObjectEx
75e01143 +0d kernel32.dll    WaitForSingleObject
6a1a29b8 +38 MSVCR80.dll     _endthreadex
75e03368 +10 kernel32.dll    BaseThreadInitThunk

thread $1590: <priority:2>
77ccf8da +0e ntdll.dll       NtWaitForSingleObject
775015c8 +92 KERNELBASE.dll  WaitForSingleObjectEx
75e0118f +3e kernel32.dll    WaitForSingleObjectEx
75e01143 +0d kernel32.dll    WaitForSingleObject
6a1a29b8 +38 MSVCR80.dll     _endthreadex
75e03368 +10 kernel32.dll    BaseThreadInitThunk

thread $15ec:
77cd1f4f +0b ntdll.dll     NtWaitForWorkViaWorkerFactory
75e03368 +10 kernel32.dll  BaseThreadInitThunk

disassembling:
[...]
008d0d67        mov     eax, [$9cb0b8]
008d0d6c        mov     eax, [eax]
008d0d6e        mov     eax, [eax+$30]
008d0d71        call    -$4c988e ($4074e8)     ; System.@LStrToPChar
008d0d76        push    eax
008d0d77      > call    dword ptr [ebp-$18]
008d0d7a        movsx   esi, ax
008d0d7d 8521   sub     esi, 1
008d0d80        jb      loc_8d17aa
008d0d86        jz      loc_8d0d9d
008d0d88        dec     esi

I suspect it has something to do with double quotes  - ". When " is in title (for the episode, importing is tried from the page which title is series name under the double qoutes, then episode name, then PVD crashes.

For example, for the http://www.imdb.com/title/tt1006987/  ,
script tries to import data from imdb page which title is (can be seen on browser tab) "Flight of the Conchords": Sally, or something similar, but it definitely has double quotes,

Hopefully I can get some advise.

As far as I can quickly figure out what causes crashes of PVD. This is the complete code for Also Known As (AKA). I attach IMDB_ [EN] [HTTPS] (episodes) script, which should fix this problem because I blocked " GET_FULL_AKA = False; ".

IMDB_ [EN] [HTTPS] (episodes) script has been added.
46
Support / Re: Personal Video Database 1.0.2.7 MOD
« Last post by Ivek23 on October 13, 2018, 07:38:12 am »
In the event that other interesting movie titles appear in the search for a particular movie, and you also want to have this information, the URL field will be downloaded for the requested address as http://www.imdb.com/title/ttxxxxxxx/ url address for the first marked movie title.
For the following tagged titles titles titles are recorded in the url field such: http://httpbin.org/response-headers?key=http://www.imd/title/ttxxxxxxx/ url title for other movie titles.

That's why I am now using this SQL script
Perhaps you can use the SQL script:

update MOVIES set "url"=replace("url",'http://imdb', 'http://www.imdb');
has been repaired and is now:

update MOVIES set "url"=replace(("url",'http://httpbin.org/response-headers?key=http://www.imdb', 'http://www.imdb');

Now, such a SQL script successfully addresses these URLs and are now corrected to such a format:
http://www.imdb.com/title/ttxxxxxxx/


I hope that users will fix certain URLs if they have anywhere in the url field.
47
Support / Re: Personal Video Database 1.0.2.7 MOD
« Last post by Ivek23 on October 13, 2018, 06:37:07 am »
BTW, I have included several 'hidden' Custom Fields of Ivek23 in the scripts.
Ivek23, perhaps can be useful for other users open a new Thread with the information "Possibles improving Custom Fields" working in MOD version, how is the information and how add in the PVD database.

To that, when I do some more tests, because I discovered some more errors and I still test some more improvements to the code sections for IMDB_ [EN] [HTTPS] script.

You can also find more information about Custom Fields in the topic Possibles improving Custom Fields working in MOD version.
48
Support / Re: Possibles improving Custom Fields working in MOD version
« Last post by Ivek23 on October 12, 2018, 06:39:11 pm »
Hidden Custom Fields in IMDB_ [EN] [HTTPS] script when added to IMDB_ [EN] [HTTPS] _000 update, but do not currently work.
  • IMDB_Movietype
  • IMDB_MPAA
  • IMDB Votes or IMDB Votes:
  • IMDBRating
Hidden Custom Fields in IMDB_ [EN] [HTTPS] script when added to IMDB_ [EN] [HTTPS] _000 update, but do not currently work.
PVD custom field for Type/Comments in Preferences/Movies/Custom Items:

  • IMDB_Movietype (Multiselect list)
  • IMDB_MPAA (Multiselect list)
  • IMDB Votes or IMDB Votes: (Number)
  • IMDBRating (Number)

Notification:
Hidden Custom Fields in IMDB_ [EN] [HTTPS] script, when added to IMDB_ [EN] [HTTPS] _000 update, but do not work at the moment, will work when users submit a proposal to operate.




Info:

IMDB_Movietype downloads info for movies, series, etc ...
IMDB_MPAA downloads info for MPAA rating


Quote
<script type="application/ld+json">{
  "@context": "http://schema.org",
  "@type": "Movie",
  "url": "/title/tt0147800/",
  "name": "10 Things I Hate About You",
  "image": "https://m.media-amazon.com/images/M/MV5BMmVhZjhlZDYtMDAwZi00MDcyLTgzOTItOWNiZjY0YmE0MGE0XkEyXkFqcGdeQXVyMTQxNzMzNDI@._V1_.jpg",
  "genre": [
    "Comedy",
    "Drama",
    "Romance"
  ],
  "contentRating": "PG-13",
.
.
.
  "description": "10 Things I Hate About You is a movie starring Heath Ledger, Julia Stiles, and Joseph Gordon-Levitt. A pretty, popular teenager can\u0027t go out on a date until her ill-tempered older sister does.",
  "datePublished": "1999-03-31",
  "keywords": "protective father,shrew,dating,shakespeare adaptation,high school shakespeare adaptation",
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingCount": 259435,
    "bestRating": "10.0",
    "worstRating": "1.0",
    "ratingValue": "7.3"

  },

Notification:
List of information that is newly added and the info is added to the normal fields and in the custom fields.
49
Support / Re: Possibles improving Custom Fields working in MOD version
« Last post by Ivek23 on October 12, 2018, 01:05:06 pm »
Hidden Custom Fields in IMDB_ [EN] [HTTPS] script
  • Bottom 100
  • Metascore
  • User Reviews
  • ImdbTechSpecs
  • IMDbID
PVD custom field for Type/Comments in Preferences/Movies/Custom Items:
  • Bottom 100 (Number)
  • Metascore (Rating)
  • User Reviews (Memo)
  • ImdbTechSpecs (Memo)
  • IMDbID (Short Text)
Hidden Custom Fields in IMDB_ [EN] [HTTPS] script when added to IMDB_ [EN] [HTTPS] _000 update.
  • IMDB Rating
  • IMDB Release Date
Hidden Custom Fields in IMDB_ [EN] [HTTPS] script when added to IMDB_ [EN] [HTTPS] _000 update.
PVD custom field for Type/Comments in Preferences/Movies/Custom Items:

  • IMDB Rating (Rating)
  • IMDB Release Date (Short Text)
You create all these custom fields if you would like to have them in the same way as they were already described.
50
Support / Re: Possibles improving Custom Fields working in MOD version
« Last post by Ivek23 on October 12, 2018, 08:49:35 am »
PVD custom field for Type/Comments in Preferences/Movies/Custom Items:
  • FilmAffinity_Votes (Number)
  • FilmAffinity_Rating  (Rating)
  • Set (Short Text)
  • TheMoviedb_Votes (Number)
  • Updated (Short Text) or (Long Text)
  • TOP_250 (Number)
  • IMDB_Votes (Number)
The blue color means that this will be added in future updates.

Notice for Custom Fields:
Custom fields in the skin where <customsection> has already been added will automatically be visible to custom fields. If you've edited the skin yourself according to your wishes or use skins where custom fields are added individually, then you must then customize the custom fields yourself, otherwise these fields will not be visible in your database.


You can also find something in the Custom Fields in Re: Personal Video Database 1.0.2.7 MOD in paragraph  "Dirty" own PVD installation/collection adaptation for advanced users:



Important:
People scripts do not have a custom field because there are no custom fields for people.

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