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

Pages: 1 ... 98 99 100 101 102 [103] 104 105 106 107 108 ... 143
2041
Feature Suggestions / Re: TheMovieDB.org
« on: September 01, 2012, 11:51:48 am »
A small correction in the original language: 
for this display of  'en' is now in the 'English'.

They are also examples of how to add info in the custom field.

Original script is here.

[attachment deleted by admin]

2042
Feature Suggestions / Re: TheMovieDB.org
« on: September 01, 2012, 07:43:57 am »
In Cast data not transmit data only for players, but also as Crew information for art, camera, etc.
This is a bit difficult. PVD supports the following person types: actor, director, writer, composer, producer
TMDb groups the crew into departments and jobs.
Departments are (the ones i found): Actors, Directing, Writing, Sound, Production, Art, Camera, Editing, Costume+Make-Up, Crew
The list of jobs is pretty large - i don't really want to deal with them :P
What the script does atm is putting the department actors into actor, directing into director, writing into writer, sound into composer (this is already an ugly match) and production into producer (not perfect because production contains stuff like casting etc).
The other departments aren't handled at all - i could add them to a custom field if you like.

Yes, please other info in a custom field,but for this type of script I can not write new pieces of code or  I do not know how writing a new script (I'm not a computer programmer, just an amateur self-taught, so I asked for help).

Thanks for the comprehensive explanation.

2043
Feature Suggestions / Re: TheMovieDB.org
« on: August 31, 2012, 10:49:34 am »
I wonder how the MPAA, orating, rdate and Status
added in the custom field.
I don't quite understand what you mean.
I use the AddFieldValueXML function and the fields according to this: http://www.videodb.info/help/hlp_scripting.html#fields
So no custom fields - just the standard ones.

Yeah, I know that there is no custom fields. Would be nice to have them, since certain info data different than IMDB info data.

Examples for the MPAA or rdata, how can to is data info added in the custom field:
Code: [Select]
procedure ParseMovie(HTML: string);
var
  Released, MPAA, Mstatus: string;
  Runtime: Integer;
  DateParts: TWideArray;
begin
  .
  .
  .
Released := HTMLValue(HTML, 0, 0, '<released>', '</released>');
  if Released <> '' then
  begin
    ExplodeString(Released, DateParts, '-');
    Released := DateParts[2] +'.'+ DateParts[1] +'.'+ DateParts[0];
    LogMessage('rdate: '+ Released);
    AddFieldValueXML('rdate', Released);
AddCustomFieldValueByName('Release Info', Released);
  end else
    LogMessage('rdate not found');


  MPAA := HTMLValue(HTML, 0, 0, '<certification>', '</certification>');
  if MPAA <> '' then
  begin
    MPAA := MPAA;
    LogMessage('mpaa: '+ MPAA);
    AddCustomFieldValueByName('MovieDB rate', MPAA);
  end else
    LogMessage('mpaa not found');

I can not find any solution for it Status, I tried with this part code,
Code: [Select]
  Mstatus := HTMLValue(HTML, 0, 0, '<status>', '</status>');
  if Mstatus <> '' then
  begin
    Mstatus := Mstatus;
    LogMessage('status: '+ Mstatus);
    AddCustomFieldValueByName('Status', Mstatus);
  end else
    LogMessage('status not found');
but it does not work. Is there a solution to this problem.

BTW:
Other corrections are in order, properly transmit the data. However, in
aka data only one alternative address out there on the web site is usually a number of alternative titles. In Cast data not transmit data only for players, but also as Crew information for art, camera, etc.

2044
Scripts and Templates / Re: AdultDVDEmpire script
« on: August 28, 2012, 07:30:23 pm »
btw what do you guys think about moving this and other scripts/plugins to a project hosting site (e.g. google code, github, sourceforge)?
not having the code under version control makes me nervous.

There are therefore versions and updates. You can then also final or updated version added to for the auto-update system.

We'll see, what he says to this Nostra or Moderator.

2045
Development / Re: Other Adult plugins
« on: August 16, 2012, 03:21:20 pm »
I need only help or introduction for create this script.

Help or introduction for create script:
http://www.videodb.info/help/hlp_scripting.html

2046
Scripts and Templates / Re: CDUniverse script
« on: August 14, 2012, 02:37:15 pm »
Thank you for your review Ivek !

Welcome and thank you to modify the script.

The comment field could be put together the following information:
- DVD Encoding
- Discs
- Movie Details


Code: [Select]
AddFieldValueXML('comment', fullinfo);
How to combine multiple information in one field, it is a nice illustrated in the following scripts:

IAFD people or
Egafd people+ script or
Egafd movie+ script


2047
Scripts and Templates / Re: CDUniverse script
« on: August 03, 2012, 12:31:05 pm »
Duration also does not work.

It is necessary to add this one piece of code,
Code: [Select]
//K_MOVIE_RUNNING_TIME_TRT = '">Running Time</td>';
//K_MOVIE_RUNNING_TIME_BGN = '<td>';
//K_MOVIE_RUNNING_TIME_END = ' Minutes</td></tr>';
        .
        .
        .
        .
        .
{ Movie running time }
lText := FloatToStr(StrToFloat(HTMLValues2(HTML, '">Running Time</td>', '</tr>', '<td>', ' Minutes</td></tr>', ', ', lPosEnd)) * 60); 
AddFieldValueXML('length', lText);
LogMessage('Running time : ' + lText);
and will it work this time.

2048
Scripts and Templates / Re: CDUniverse script
« on: August 01, 2012, 04:45:04 pm »
Rating does not work.

It is necessary to add this one piece of code,
Code: [Select]
//AddFieldValue(K_MOVIE_MPAA, lText);
AddFieldValueXML('mpaa', lText);
or example, this
Code: [Select]
{ Movie mpaa }
lPosition := Pos(K_MOVIE_MPAA_TRT, HTML);
lText := TextBetween(HTML, K_MOVIE_MPAA_BGN, K_MOVIE_MPAA_END, False, lPosition);
//AddFieldValue(K_MOVIE_MPAA, lText);
AddFieldValueXML('mpaa', lText);
LogMessage('lMoviempaa : ' + lText);
and will it work this time.

You can add this -  DVD Features:
Code: [Select]
K_MOVIE_DVD_TRT = ' DVD Features</span></span></h2>';
K_MOVIE_DVD_BGN = '<p>';
K_MOVIE_DVD_END = '</p></div>';
        .
        .
        .
        .
        .
{ Movie dvd }
lPosition := Pos(K_MOVIE_DVD_TRT, HTML);
lPosBgn := PosFrom(K_MOVIE_DVD_BGN, HTML, lPosition);
lPosEnd := PosFrom(K_MOVIE_DVD_END, HTML, lPosBgn);
lText := Trim(Copy(HTML, lPosBgn+3, lPosEnd - lPosBgn-3));
AddFieldValue(K_MOVIE_FEATURES, lText);
LogMessage('lMovieDvd : ' + lText);

2049
Scripts and Templates / Re: CDUniverse script
« on: August 01, 2012, 03:25:27 pm »
Thank you, Isolki.
You can add anything else, for example Rating, Running Time or the Release Date.

For Release Date  use this one piece of code:
Code: [Select]
AddFieldValueXML('release', lText);
To help the attached list.

PVD XML List attached.

[attachment deleted by admin]

2050
Scripts and Templates / Re: AdultDVDEmpire script
« on: July 14, 2012, 06:16:24 am »

2051
Scripts and Templates / Re: Use BING as default search result
« on: July 03, 2012, 10:42:41 am »
None of these scripts does not work anymore. There have been major changes in the search results (major changes in source code page). I tried to fix it, but without success.
Maybe someone can help solve the problem.

I fixed search results in attached Scripts:

Bing_SearchMulti version 0.0.0.2
Bing_SearchMulti(people)(Imdb)  version 0.0.0.4

and new Bing_SearchMulti_All   version 0.0.0.2




[attachment deleted by admin]

2052
Scripts and Templates / Re: Use BING as default search result
« on: June 29, 2012, 02:50:47 pm »
None of these scripts does not work anymore. There have been major changes in the search results (major changes in source code page). I tried to fix it, but without success.
Maybe someone can help solve the problem.

2053
Scripts and Templates / Re: adultdvdempire.com search not working
« on: June 26, 2012, 01:56:41 pm »
Quote
Do not expect that it will take the fast way to edit the script. Thank you. Maybe, somehow, do not rush, trivia fix?
Actors are added with the wrong links.
For example, the
http://www.adultdvdempire.com <a href = "/ 631043/barbie-white-pornstars.html"
And before you know the script, and on persons to correct?
Reported this bug I found in the Russian part of the Forum, so I forwarded the reported error in English part of the forum.
I apologize and I hope that this is not nothing wrong when I reported error intervened in the English part of the forum.

2054
Support / Re: No Movie Images from New Movie Master
« on: June 23, 2012, 05:36:15 am »
Any news on IMP Awards?
We will see. I think it was somewhere already mentioned, that are highly modified form of web page. Nostra will tell if this can be corrected in IMP Awards plugin.

2055
Scripts and Templates / Re: AllMovie.com - new movie script
« on: June 23, 2012, 05:06:22 am »
Quote
http://www.imdb.com/title/tt0034583/
http://www.allmovie.com/work/casablanca-8482
http://web.archive.org/web/20090324024706/http://www.allmovie.com/work/casablanca-8482
http://www.allrovi.com/movies/movie/casablanca-v8482
redirect AllRovi url to AllMovie

Quote
http://www.imdb.com/title/tt0034583/ 
http://web.archive.org/web/20090324024706/http://www.allmovie.com/work/casablanca-8482
http://www.allmovie.com/work/casablanca-8482
http://www.allrovi.com/movies/movie/casablanca-v8482/
open AllRovi url at AllRovi

Correction for this interpretation - the correct interpretation is as follows:

Quote
http://www.imdb.com/title/tt0034583/ 
http://web.archive.org/web/20090324024706/http://www.allmovie.com/work/casablanca-8482
http://www.allmovie.com/work/casablanca-8482
http://www.allrovi.com/movies/movie/casablanca-v8482/
Redirect AllRovi url to AllMovie.

This example:

Quote
http://www.imdb.com/title/tt0034583/ 
http://web.archive.org/web/20090324024706/http://www.allmovie.com/work/casablanca-8482
http://www.allmovie.com/work/casablanca-8482
http://www.allrovi.com/movies/movie/casablanca-v8482
And works, open AllRovi url at AllRovi.

If it does not work, then do this:
I use Mozilla Firefox as your default browser. Today I had trouble opening AllRovi URLs because it worked again AllRovi URLs redirect to AllMovie page. A simple solution - I cleaned up history of browser (memory) and again normal works (AllRovi URLs redirect to AllRovi web site).
and works.

2056
Scripts and Templates / Re: AllMovie.com - new movie script
« on: June 22, 2012, 02:20:10 pm »
If I'm not mistaken it for AllRovi need to add this / at the end of the url that redirects to AllRovi web site. If this is not the end of the url, then redirect to AllMovie web site.
I am wrong, part of this statement is not true.

True is, If add this / at the end of the url, that redirect to AllMovie web site. If this is not the end of the url, then movie url redirects to AllRovi web site.

2057
Scripts and Templates / Re: AllMovie.com - new movie script
« on: June 19, 2012, 06:01:31 am »
Quote
http://www.imdb.com/title/tt0034583/ 
http://web.archive.org/web/20090324024706/http://www.allmovie.com/work/casablanca-8482
http://www.allmovie.com/work/casablanca-8482
http://www.allrovi.com/movies/movie/casablanca-v8482/
AllMovie New Script works - the transfer of data
and certainly very encouraging, at least so far, that normal works - open AllRovi url at AllRovi.
I use Mozilla Firefox as your default browser. Today I had trouble opening AllRovi URLs because it worked again AllRovi URLs redirect to AllMovie page. A simple solution - I cleaned up history of browser (memory) and again normal works (AllRovi URLs redirect to AllRovi web site).

2058
Scripts and Templates / Re: AllMovie.com - new movie script
« on: June 18, 2012, 02:07:24 pm »
I don't understand. I use our AllRovi script to get data from http://www.allrovi.com/movies/movie/casablanca-v8482. I don't see any useful additional data at http://www.allmovie.com/movie/casablanca-v8482/. Rovi abandoned some data that was available on the old site. This data is still available via the Wayback Machine—if the pages were saved—at http://web.archive.org/web/http://www.allmovie.com/work/casablanca-8482. I only use that URL manually; I don't attempt to get the additional data with a script. Thankfully, in most cases, I already have it.
The Wayback Machine URL - I have always saved there for check old AllMovie data (if I need a url address, we do not need to look again - a precaution just in case).

I don't understand. I use our AllRovi script to get data from http://www.allrovi.com/movies/movie/casablanca-v8482. I don't see any useful additional data at What is very odd is if http://www.allrovi.com/movies/movie/casablanca-v8482 is used manually, or as a link on an AllRovi page (e.g., search results), it's redirected to the new AllMovie page (i.e., both of the first two URL's above go to the same page). But our AllRovi script still works, apparently still accessing the AllRovi pages. I suppose that may only be temporary, and this script will become the only one that works.
Hopefully, that will have successfully operate both of the scripts.

2059
Scripts and Templates / Re: AllMovie.com - new movie script
« on: June 18, 2012, 01:28:29 pm »
Good feature of this script is, that it works on old AllMovie URLs. Script of each of these URLs, not deleted or overwritten, so they remain in the URLs box. They also in the URL field added to the new URLs, which script transferred from the AllMovie new web site.

The problem arises where the order URLs such is for example, is this one order of
Quote
Old AllMovie URLs like...
http://www.allmovie.com/work/casablanca-8482 or
http://www.allmovie.com/work/8482
(this url again now operate normally and move to a new AllMovie page)
Quote
Most of the movies in my database can be found in the WayBack Machine web archive using a URL like...
http://web.archive.org/web/http://www.allmovie.com/work/casablanca-8482.
order of the URLs such that the script is looking for information through by WayBack Machine web archive url.

However, where the order of the URLs such an this
Quote
http://web.archive.org/web/http://www.allmovie.com/work/casablanca-8482.
Quote
http://www.allmovie.com/work/casablanca-8482 or
http://www.allmovie.com/work/8482
the script is looking for information by AllMovie new web site,
I just wanted to explain and demonstrate how important is actually recording the order of the URLs in PVD url field for data transmission with AllMovie new web pages.

Quote
http://www.imdb.com/title/tt0034583/
http://www.allmovie.com/work/casablanca-8482
http://web.archive.org/web/20090324024706/http://www.allmovie.com/work/casablanca-8482
http://www.allrovi.com/movies/movie/casablanca-v8482
AllMovie New Script works - no data transfer
and redirect AllRovi url to AllMovie


Quote
http://www.imdb.com/title/tt0034583/ 
http://web.archive.org/web/20090324024706/http://www.allmovie.com/work/casablanca-8482
http://www.allmovie.com/work/casablanca-8482
http://www.allrovi.com/movies/movie/casablanca-v8482/
AllMovie New Script works - the transfer of data
and certainly very encouraging, at least so far, that normal works - open AllRovi url at AllRovi.

2060
Scripts and Templates / Re: AllMovie.com - new movie script
« on: June 18, 2012, 11:37:38 am »
If I'm not mistaken it for AllRovi need to add this / at the end of the url that redirects to AllRovi web site. If this is not the end of the url, then redirect to AllMovie web site.

For example:

http://www.allrovi.com/movies/movie/casablanca-v8482  redirect to AllMovie

http://www.allrovi.com/movies/movie/casablanca-v8482/    normal at AllRovi

Pages: 1 ... 98 99 100 101 102 [103] 104 105 106 107 108 ... 143
anything