Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Subject:
Message icon:

Attach:
(Clear Attachment)
(more attachments)
Allowed file types: gif, jpg, png, txt, tpl, lng, ini, pvd, psf, ini, cfg, csv, zip, xml, pas, 7z
Restrictions: 4 per post, maximum total size 1024KB, maximum individual size 1024KB
Note that any files attached will not be displayed until approved by a moderator.
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
How many words are in this question?:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: VVV_Easy_Programing
« on: June 16, 2018, 10:14:35 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
Posted by: VVV_Easy_Programing
« on: September 27, 2017, 08:56:49 pm »

CHANGELOG (23/09/2017):
            V 1.0.0.0  VVV: Completely redone.
                                   New PHOTO_URL_IN_TRANSNAME option to use the Field ~transname~ for storing the URL to the person photo, for send to KODI in a Template.
                                   New ACTORS_LIMIT  option (by default = 25) Limit of number of actors retrieved.

Attached the new version.
Posted by: Ivek23
« on: August 08, 2017, 05:24:57 pm »

CHANGE LOG :
            V 0.2.0.8 (27/07/2017)  VVV:Eliminated GET_PERSON_INFO_URL option (for KODI better use TheMovieDB People [ES])
                                                       Fixed bug with ~genre~ field (the field name is in singular not in plural) and directors url.

Attached the new version.

Works great.
Posted by: Ivek23
« on: July 28, 2017, 05:39:43 pm »

In the message ... ;D

I just doing a little changes without change the version.
You are very fast Ivek23  ;D

It was just a coincidence.
Posted by: VVV_Easy_Programing
« on: July 28, 2017, 03:39:42 pm »

In the message ... ;D

I just doing a little changes without change the version.
You are very fast Ivek23  ;D
Posted by: Ivek23
« on: July 28, 2017, 02:19:27 pm »

Attached the new version.

Where is this new version?
Posted by: VVV_Easy_Programing
« on: July 28, 2017, 01:34:09 pm »

CHANGE LOG :
            V 0.2.0.8 (27/07/2017)  VVV:Eliminated GET_PERSON_INFO_URL option (for KODI better use TheMovieDB People [ES])
                                                       Fixed bug with ~genre~ field (the field name is in singular not in plural) and directors url.

Attached the new version.

(Edito: New version down)
Posted by: VVV_Easy_Programing
« on: July 25, 2017, 08:37:09 am »

Thank you, Ivek23 for the alert.
I take the subject and I'll try to solve early ;D
Posted by: Ivek23
« on: July 16, 2017, 09:59:44 am »

CHANGE LOG :
            V 0.2.0.7 (14/07/2017)  VVV:Fixed bug when movies with IMDB URL in PVD.

Attached the new version.

Script works properly, thanks.

It looks like the genres does not work.

However, there are errors in the Casablanca movie or Chisum movie that the url of the director does not appear correctly.

Example for:

Incorrectly
Michael Curtiz
http://www.themoviedb.org/person/redit_id":"52fe4233c3a36847f800b83b"

Correct
Arthur Edeson
http://www.themoviedb.org/person/2005


Or

Incorrectly
Andrew V. McLaglen
http://www.themoviedb.org/person/redit_id":"52fe46dd9251416c9106258d"
Posted by: VVV_Easy_Programing
« on: July 14, 2017, 08:45:42 pm »

CHANGE LOG :
            V 0.2.0.7 (14/07/2017)  VVV:Fixed bug when movies with IMDB URL in PVD.

Attached the new version.

(Edito: New version down)

Posted by: VVV_Easy_Programing
« on: June 12, 2017, 09:53:05 pm »

CHANGE LOG :
            V 0.2.0.6 (12/06/2017)  VVV:Fixed bug with the order of the search mode.

Attached the new versión.

(Edito: New version down)
Posted by: Ivek23
« on: January 08, 2016, 07:10:50 pm »

(Thanks again Ivek23)

Thank you for the new version.
Posted by: VVV_Easy_Programing
« on: January 08, 2016, 03:07:57 pm »

CHANGE LOG (08/01/2016):
            V 0.2.0.5   VVV: Fixed bug with the "total_results" detection (before it was the last information now "total_pages" is the last).
                             Adjust to the new order of received informations for "Parsing search Movies"
                             Eliminate "2014" from name.

Attached the new versión.

(Thanks again Ivek23)

(Edito: New version down)
Posted by: Ivek23
« on: December 28, 2015, 05:00:29 pm »

The script does not work anymore (search results).
Posted by: VVV_Easy_Programing
« on: December 27, 2014, 08:11:05 pm »

CHANGE LOG (27/12/2014):
            V 0.2.0.3   VVV: Fixed bug with movie list search URL when the poster is 'null' (Ivek23 detected)
                                    Add the "keywords" as "tags" (Ivek23 proposition)
                                    Add (needs Custom Field ~TheMoviedb_Votes~) "vote_count" (Ivek23 proposition)
Attached the new versión.

(Thanks Ivek23)

(Edito: New version down)
Posted by: Ivek23
« on: December 26, 2014, 07:23:35 pm »

(If some movie fails, please send me the title, the bad information and the search language. Thank you.)

Yes, I found bugs in Search Results:

Code: [Select]
LANG_STR      = '?language=es';
in this movie World Trade Center find a cosmetic bug in Search Results:

Problematic is the following piece of code,
Code: [Select]
            curPos:=PosFrom('"poster_path":"',HTML,endPos)+Length('"poster_path":"');               //WEB_SPECIFIC
            endPos:=PosFrom('"',HTML,curPos);                                                       //WEB_SPECIFIC
            PreviewURL:='http://image.tmdb.org/t/p/w92'+Copy(HTML,curPos,endPos-curPos);            //WEB_SPECIFIC. w92,w185,w300,w342,original.
            LogMessage('      Parse Results PreviewURL:'+PreviewURL+'||');
when displaying search results, only three addresses are correct, the fourth, which link does not work, and the fifth title of the copies of the first and second title in search results.

After correcting this part of the code
Code: [Select]
function ParsePage(HTML:String;URL:AnsiString):Cardinal;
    var
      curPos,endPos,NumbResult:Integer;
      Title,OriTitle,Year,MovieURL,PreviewURL1,PreviewURL,ItemValue,ItemList,Name,Role,PersonURL:String;     
    begin
.
.
.
            LogMessage('      Parse Results Year:'+Year+'||');
            curPos:=PosFrom('"poster_path":',HTML,endPos)+Length('"poster_path":');               //WEB_SPECIFIC
            endPos:=PosFrom('"popularity"',HTML,curPos);                                                       //WEB_SPECIFIC
            PreviewURL1:='http://image.tmdb.org/t/p/w92'+Copy(HTML,curPos,endPos-curPos);            //WEB_SPECIFIC. w45,w92,w185,w300,w342,original.
            PreviewURL1 := StringReplace(PreviewURL1, '"', '', True, True, False);
PreviewURL1 := StringReplace(PreviewURL1, 'null', '', True, True, False);
            PreviewURL:=PreviewURL1;            //WEB_SPECIFIC. w45,w92,w185,w300,w342,original.
            LogMessage('      Parse Results PreviewURL:'+PreviewURL+'||');           
.
.
.
but now the search results with the correct movie titles.

In this movie Blade find a cosmetic bug in Search Results:

Search results the appear with larger the number of movie titles,then occurs several times the same set of movie titles, actually a four times.

Code: [Select]
//Not Implemented get information of "popularity" "vote_count" "keywords" "images"
"keywords" also means "tags" and the normal Tags field in PVD
Code: [Select]
AddFieldValueXML('tags',ItemValue);
"vote_count"  it can be custom TheMoviedb Votes field in PVD.

It may help this one piece of code:
Code: [Select]
//~Votes~
 curPos := PosFrom('"vote_count":', HTML, EndPos);
 if curPos > 0 then begin
  curPos := PosFrom('"vote_count":', HTML, EndPos);
endPos := PosFrom(',"alternative_titles"', HTML, curPos);
    TmpStr1 :=  TextBetween(HTML, '"vote_count":', ',"alternative_titles"', True, curPos);
 if TmpStr1 = '0' then
TmpStr1 := '';
   AddCustomFieldValueByName('TheMoviedb Votes', TmpStr1);
 if TmpStr1 = '' then
TmpStr1 := 'vote unknown';
 end;
Posted by: Ivek23
« on: December 25, 2014, 04:58:42 pm »

CHANGE LOG (25/12/2014):
            V 0.2.0.2   VVV: Fixed bug (search URL) with movies with stored IMDB URL.
                                    Fixed bug with URL get (Ivek23 detected)
Attached the new versión.

Thanks.

Merry Christmas!

Same to you.
Posted by: VVV_Easy_Programing
« on: December 25, 2014, 12:14:34 pm »

CHANGE LOG (25/12/2014):
            V 0.2.0.2   VVV: Fixed bug (search URL) with movies with stored IMDB URL.
                                    Fixed bug with URL get (Ivek23 detected)
Attached the new versión.

Merry Christmas!

(Edito: New version down)
Posted by: VVV_Easy_Programing
« on: December 21, 2014, 09:49:14 am »

CHANGE LOG (21/12/2014):
            V 0.2.0.1   VVV: Adjust search list Posters width.
                                    Add a comprobation translated LANG_API_STR overview (Description) (User Option TRASLATED_OVERVIEW)
                                    Add the first ~rdate~ Release Date (Ivek23 proposition)
Attached the new versión

(If some movie fails, please send me the title, the bad information and the search language. Thank you.)
(Edito: New version down)
Posted by: Ivek23
« on: December 15, 2014, 12:05:23 pm »

If you change this
Code: [Select]
  //LANG_API_STR         = '&language=es';                                  //WEB_SPECIFIC
  LANG_API_STR       = '&language=en';                                  //WEB_SPECIFIC
  //LANG_API_STR       = '&language=fr';                                  //WEB_SPECIFIC
and with that part of the code
Code: [Select]
      //Get ~url~
      curPos:=Pos('"homepage":"","id":',HTML)+Length('"homepage":"","id":');    //WEB_SPECIFIC
      endPos:=PosFrom(',',HTML,curPos);                                         //WEB_SPECIFIC
      ItemValue:=Copy(HTML,curPos,endPos - curPos);                                 
      if (0=Pos('null',ItemValue)) then begin                                   //WEB_SPECIFIC. But it's impossible not 'homepage'.
         ItemValue:=StringReplace(ItemValue,'"','',True,True,False);
         ItemValue:=BASE_URL_TRUE+Copy(HTML,curPos,endPos - curPos);
         AddFieldValueXML('url',ItemValue);
         LogMessage('      Get result url:'+ItemValue+'||');
      end;
occur under certain movie to wrong url address
Code: [Select]
http://www.themoviedb.org/movie/ckdrop_path":"/17zArExB7ztm6fjUXZwQWgGMC9f.jpg"
anything