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 ... 104 105 106 107 108 [109] 110 111 112 113 114 ... 133
2161
Scripts and Templates / Re: AllRovi movie script
« on: July 25, 2011, 08:24:04 am »
I changed the Run Time it now also works in the standard 'Duration' field and custom 'Run Time' field.


  • OMG, is there nothing else? :o

Okay. Would we then be at number 3? ;)

I do not understand what was meant by this.

2162
Scripts and Templates / Re: AllRovi movie script
« on: July 24, 2011, 06:17:38 pm »
Quote
Right now I can only think of one additional thing I'd like to see, which is the ability to have the run time downloaded into the Duration field, for those who don't use the program to scan actual media.

Okay, I'll add that option.

It can also be added Awards hyperlink for custom 'Awards Link' field.
Code: [Select]
//Get Awards URL
 //addwd by Ivek23 07/24/2011 hyperlink to 'Awards' page in custom 'Awards link' field
  EndPos := Pos('"><span>awards</span>', HTML);
  if EndPos > 0 then begin
curPos := PrevPos('href="/movies', HTML, EndPos);
TmpStr := BASE_URL + Copy(HTML, curPos + 6, EndPos - curPos - 6);
  end;

 //AddFieldValue(mfFeatures, '<link url="' + TmpStr + '">Awards</link>');
  AddCustomFieldValueByName('Awards link', '<link url="' + TmpStr + '">Awards</link>');

2163
Scripts and Templates / Re: AllRovi movie script
« on: July 21, 2011, 08:44:18 pm »
The annex was also added in txt format Rovi Fields list

Open the WordPad or anything else, because they might be some changes, as it is written in txt format Rovi Fields list.

2164
Scripts and Templates / Re: AllRovi movie script
« on: July 21, 2011, 08:36:24 pm »
The annex was also added in txt format Rovi Fields list

Thank you for the file, this has been very helpful.

I have recently started to update my database and the script is running perfect.  :D Thank you very much to both of you, Ivek23 and rick.ca!

We always welcome.

2165
Scripts and Templates / Re: AllRovi movie script
« on: July 20, 2011, 02:59:29 pm »
Quote
Year in Search Results is the one piece of code which part I am not able to add search result,
I tried to say that I have not found the correct solution in previous versions to see the year in the search results dialog.

Quote
That's what I changed. The search results dialog should now include the year.
It works.


2166
Scripts and Templates / Re: AllRovi movie script
« on: July 20, 2011, 07:20:57 am »
I changed only the number of SCRIPT_VERSION

2167
Scripts and Templates / Re: AllRovi movie script
« on: July 20, 2011, 06:26:53 am »
Year in Search Results is the one piece of code which part I am not able to add search result, btw; look at it SCRIPT_VERSION  ,something is not changed.

2168
Scripts and Templates / Re: AllRovi movie script
« on: July 18, 2011, 08:31:26 pm »
I have revised the top post accordingly.

OK, that's right that there is only one version of the script, sorry, I just wanted to help, it would not be necessary to change these settings in the script.

2169
Scripts and Templates / Re: AllRovi movie script
« on: July 18, 2011, 08:08:04 pm »
Nostra advises me there's a way to do this. He'll help us with that when he finds the time. Although it's not a critical issue, it will make the script much more efficient for databases that already have allmovie URL's. I also look forward to learning the technique involved.  :)

The good news, we are happy to wait for Nostra, to help us.

2170
Scripts and Templates / Re: AllRovi movie script
« on: July 18, 2011, 12:04:57 pm »

 Thanks a lot to both of you Ivek23 and Rick for your efforts, updating my movies right now with this.

Welcome

2171
Scripts and Templates / Re: AllRovi movie script
« on: July 16, 2011, 08:17:17 pm »
I added a procedure ParseDVDReleases and now here are the DVD Links to AllRovi DVD Releases

The annex was also added in txt format Rovi Fields list

Notice:
Adding in the first post new AllRovi Script Version 0.1.0.8
This version, for those which have the same script option, as it is in Rick.ca.

RICK_CA      = True;   //Set to False for default script options

NEW:
I also added in the first post new AllRovi+ Script Version 0.1.0.8
This version, for those which have the same script option, as it is in Rick.ca. (default script options)

RICK_CA      = False;   //Set to False for default script options



Edit: AllRovi+ Script Version 0.1.0.8 has been removed from the first post because the a duplicate script with one minor change.

[attachment deleted by admin]

2172
Support / Re: Zelluloid Plugin
« on: July 14, 2011, 06:47:06 pm »
Obviously there have been changes to their side, because I noticed some time ago, that does not work Zelluloid rating .

2173
Scripts and Templates / Re: AllRovi movie script
« on: July 13, 2011, 06:12:59 pm »
I do this later to see how and what.
Would be generally the script or more for you.

In this case, I do not know help, I did not find a script with such a practical case, it would be nice if it could be somehow regulated, maybe we are Nostra mercy and help.

2174
Scripts and Templates / Re: Allmovie Script
« on: July 13, 2011, 04:44:07 pm »
The AllMovie site has been replaced by AllRovi. See AllRovi movie script.

All questions and answers are out there now.
The AllMovie site has been replaced by AllRovi.
See AllRovi movie script for Scripts and Templates board.
Post it now in AllRovi movie script for Support board.


2175
Scripts and Templates / Re: AllRovi movie script
« on: July 13, 2011, 04:34:10 pm »
Quote
No wonder I was having such a problem with the Poster messing up the Rating! I did try to move it to the end, but for some reason it then didn't work. Maybe you could give that a try.

I modified the Poster and procedures ParseSearchResults
That's all there.

Notice:
Adding in the first post new AllRovi Script Version 0.1.0.7
Quote
I do not know if I have understood this...

No, that's not what I mean. Using your example, your 8 Mile record now has the AllRovi URL recorded: http://www.allrovi.com/movies/movie/8-mile-v261159. If you run the script again, the function GetDownloadURL will retrieve that from the record and use it to access the page directly—no search will be done. It's able to select that URL from the URL field—which may contain many URL's—because we've provided the BASE_URL: http://www.allrovi.com.

I don't understand the logic of the script, but there must be a way use this function like this:


Just to be clear, the only thing different here is step 2. And I don't think the script has much to do with step 4—the main application downloads the page (whatever it is) and ParsePage handles it. For the same reason, I have difficulty seeing a point at which step 2 might be inserted. Unless this is straightforward, it's probably not worth the bother. But I think it would be very helpful generally if we understood how things like this work. :-\

BTW, the Scripting Manual has some interesting tidbits hidden in it—like this one:

"If you download poster in a movie information script or a photo in a person information script then make sure URL to an image is passed after all other pages are retrieved!"—found at the end of the GetDownloadURL example.


I do this later to see how and what.
Would be generally the script or more for you.

2176
Scripts and Templates / Re: AllRovi movie script
« on: July 13, 2011, 04:23:43 pm »
I trying to test yours script but I think I get lost in with all these codes  :o. I have downloaded the version 0.1.0.5 from Ivek's first post and a version from rick.ca (0.1.0.4). My question is if I have to add custom items to the database? I have added a characteristic memo field and that works. But I am not sure if I need more items to test the full possible range of your scripts.

Sorry for the delay with the response that for those custom fields, what you use and the start script as follows
Code: [Select]
AddCustomFieldValueByName(' ... );for others this
Code: [Select]
AddFieldValue(mf... ); custom fields do not need.

2177
Scripts and Templates / Re: AllRovi movie script
« on: July 13, 2011, 12:30:46 pm »
Quote
I just posted version 6, so I'll let you add this to version 7. If it improves the handling of ambiguous titles, that would be great. As I've been testing (generally updating movies already in my database), I've noticed it can make a bad selection from the search results. My old AllMovie+ script did that too, so I thought this might be something we have to live with. It would, of course, be much better if it asked if there were more than one movie in the search results.

More than one (with at least two similar or same title unless there where only one) movie in the search results.

2178
Scripts and Templates / Re: AllRovi movie script
« on: July 13, 2011, 11:04:21 am »
Quote
Another thing I was wondering... For existing movies previously updated with Allmovies, would it be possible to get the saved Allmovie URL and convert it to a Rovi URL? If so, then a search and this sort of error could be avoided.

I do not know if I have understood this, but I now update 8 Mile (2002), url in the url field has remained, while in the field will be overwritten by custom, add pictures.

[attachment deleted by admin]

2179
Scripts and Templates / Re: AllRovi movie script
« on: July 13, 2011, 07:22:11 am »
The problem is finding movies where there are at least two films with the same titles find a movie which was first written:
 What I think is so beautiful example Along Came a Spider .
Your movie with this title, Looking for which was built in 2001, However, it is found as the first from year 1970. If, however, such as manually added the correct URL is okay

Try this code ...

Code: [Select]
procedure ParseSearchResults(HTML : String);
var
 curPos, EndPos : Integer;
 Title, Year, URL : String;
begin
 curPos := Pos('<div id="main" class="search-results movies">', HTML);
 if curPos < 1 then
  Exit;
 
 LogMessage('Parsing search results...'); 

  curPos := PosFrom('<a href="http://www.allrovi.com/movies/', HTML, curPos);
 while curPos > 0 do begin
  EndPos := PosFrom('" class="title">', HTML, curPos);
  URL := Copy(HTML, curPos + 31, EndPos - curPos - 31);
 
  URL := BASE_URL + URL;
  curPos := PosFrom('" class="title">', HTML, curPos);
  EndPos := PosFrom('</a>', HTML, curPos);
  Title := Copy(HTML, curPos+16, EndPos - curPos-16);
  EndPos := PosFrom('</dd>', HTML, curPos);
  Year:= ''
 
  AddSearchResult(Title, '', Year, URL, '');

  curPos := PosFrom('" href="/movies/', HTML, curPos);
 end;


 curPos := Pos('<div class="results">', HTML);
 if curPos < 1 then
  Exit;
 
curPos := PosFrom('<a href="http://www.allrovi.com/movies/', HTML, curPos);
 while curPos > 0 do begin
  EndPos := PosFrom('">', HTML, curPos);
  URL := Copy(HTML, curPos + 31, EndPos - curPos - 31);
 
   URL := BASE_URL + URL;

  curPos := PosFrom('">', HTML, curPos);
  EndPos := PosFrom('</a>', HTML, curPos);
  Title := Copy(HTML, curPos+2, EndPos - curPos-2);
  EndPos := PosFrom('</td>', HTML, curPos);
  Year:= ''
 
  AddSearchResult(Title, '', Year, URL, '');

   curPos := PosFrom('" href="/movies/', HTML, curPos);
 end;
end;

2180
Scripts and Templates / Re: AllRovi movie script
« on: July 13, 2011, 05:34:47 am »
The problem is finding movies where there are at least two films with the same titles find a movie which was first written:
 What I think is so beautiful example Along Came a Spider .
Your movie with this title, Looking for which was built in 2001, However, it is found as the first from year 1970. If, however, such as manually added the correct URL is okay

Pages: 1 ... 104 105 106 107 108 [109] 110 111 112 113 114 ... 133