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 ... 102 103 104 105 106 [107] 108 109 110 111 112 ... 133
2121
Support / Re: IMDb plugin maintenance issues
« on: August 14, 2011, 01:07:44 pm »
New Imdb web style is not transferred to MPAA data, at least for me it is.

2122
Support / Re: Download of IMDB rating is broken
« on: August 14, 2011, 12:38:27 pm »
Family Matters (TV Series 1989–1998) already has the new style, Imdb rating and Imdb votes with me functioning normally and without problems.

See attached pictures

[attachment deleted by admin]

2123
Support / Re: Download of IMDB rating is broken
« on: August 14, 2011, 02:37:50 am »
Currently works for me is a page layout as shown the  image old.jpg .

2124
Support / Re: Download of IMDB rating is broken
« on: August 13, 2011, 05:15:48 pm »
Quote
Sadly, no help for me. I am wondering why this works for you?

The question is how long this will work for me. If memory does not deceive me, then according to similar problems with ratings in the past, only a few days, then no longer work.

2125
Support / Re: Download of IMDB rating is broken
« on: August 13, 2011, 07:09:55 am »
The guys from imdb have changed the layout of their website again. This results in the inability of the imdb script to download the rating. Other fields seem not to be affected.

Imdb rating works, no problems.

Added images.

Now for me does not work anymore Imdb Rating and Imdb Votes.

EDIT:
I found a solution, perhaps the only current, but it works. I removed the imdbconf in folder
C: \ Program Files \ Personal Video Database \ Plugins
and re-edited for Imdb plugin settings in
Tools > Settings > Plugins > Imdb > Configure
and running again Imdb Rating and Imdb Votes.

2126
Support / Re: Download of IMDB rating is broken
« on: August 13, 2011, 05:56:59 am »
The guys from imdb have changed the layout of their website again. This results in the inability of the imdb script to download the rating. Other fields seem not to be affected.

Imdb rating works, no problems.

Added images.

[attachment deleted by admin]

2127
Scripts and Templates / Re: Movie Summary Template
« on: August 11, 2011, 07:25:08 pm »
Test it, great view, thanks to the author of this template.
Attach a file Movie Summary Template.ptm, which the author unfortunately did not do, and annexed to test it.
Copies are: C: \ Program Files \ Personal Video Database \ Plugins \ Templates

[attachment deleted by admin]

2128
Support / Re: AllRovi movie script
« on: August 09, 2011, 09:58:37 pm »
Thank you Ivek23 it now works very well and I even discovered options I was not using. ;D

Welcome

2129
Support / Film.tv.it script does not work
« on: August 09, 2011, 07:55:25 am »
Film.tv.it script does not work anymore because procedure ParseSearchResults, which is blocked (not working) and would be corrected, so the author of this script, please correct this, because if you copy the URL in the URL box, then the script still works.

2130
Support / Re: AllRovi movie script
« on: August 09, 2011, 07:07:42 am »
If you search for Dakota (1945), you'll see it's third in the list of search results and therefore wasn't shown. Often duplicate titles are just an original movie and it's remake—so either one would be found in a list of two.

Yeah, I noticed this.

2131
Support / Re: AllRovi movie script
« on: August 09, 2011, 05:41:17 am »
When updating data with AllRovi script for the movie Dakota (1945), I could not find this title in the results table, where several movie with the same title and a different year.
The problem is procedure ParseSearchResults in this part of code:

Thanks. I've been wondering why some search result dialogs had only two entries.


Previously, I never came to such a problem with testing if the script is working properly, I have always found the movie title for testing in two entries.

2132
Support / Re: AllRovi movie script
« on: August 08, 2011, 06:47:58 pm »

 Hi Ivek23 and Rick, I already thanked you for this but hey thank you again!
 
 I have a slight problem. For some reason, Allrovi script does not gather the rating anymore. I have not changed anything to the preferences, the "additional rating" box is checked. I wonder if there was a change in the last version that caused this?

Firstly, thanks for the compliment.

I just through auto-update system transferred AllRovi script and test and Rovi rating normally works in the custom field as well as an additional rating if I change this setting
Code: [Select]

GET_RATING = False; //Set to True to add 'Rovi rating' as the standard 'Additonal rating' field

as seen above.

Well look what settings you have, there is probably key to solving the problem.

To demonstrate that everything works properly, the attached images.



[attachment deleted by admin]

2133
Support / Re: AllRovi movie script
« on: August 08, 2011, 06:26:18 pm »
When updating data with AllRovi script for the movie Dakota (1945), I could not find this title in the results table, where several movie with the same title and a different year.
The problem is procedure ParseSearchResults in this part of code:
Code: [Select]

...

//if there are more movies with the same or similar title...

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);

curPos := PosFrom('<td class="year">', HTML, curPos);
endPos := PosFrom('</td>', HTML, curPos);
Year := Trim(Copy(HTML, curPos + 17, endPos - curPos - 17));

AddSearchResult(Title, '', Year, URL, '');
curPos := PosFrom('" href="/movies/', HTML, curPos);
end;

end;

function NextMode(curMode : Integer) : Integer;


When I am this one snippet of code  curPos := PosFrom('" href="/movies/', HTML, curPos); replaced by tiny fraction of the code curPos := PosFrom('<a href="http://www.allrovi.com/movies/', HTML, curPos);, now in the results table also previously found above the movie title.

Now this piece of code looks like this:
Code: [Select]

...

//if there are more movies with the same or similar title...

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);

curPos := PosFrom('<td class="year">', HTML, curPos);
endPos := PosFrom('</td>', HTML, curPos);
Year := Trim(Copy(HTML, curPos + 17, endPos - curPos - 17));

AddSearchResult(Title, '', Year, URL, '');
curPos := PosFrom('<a href="http://www.allrovi.com/movies/', HTML, curPos);
end;

end;

function NextMode(curMode : Integer) : Integer;


As well as images attached as evidence of how the before and after correcting codes.




[attachment deleted by admin]

2134
Support / Re: AllRovi movie script
« on: August 08, 2011, 05:00:17 am »
Quote
I'll upload version 1.1 now. The change is referenced to your message above, so there's no need to post a script or explanation anywhere else.
OK, I understand.

2135
Support / Re: AllRovi movie script
« on: August 07, 2011, 06:20:27 am »
I'm seeing a few movies that aren't getting the Characteristics info, such as Phantom Love.

Same cases a major part in Bounty Huntress 2 (2002).
Synopsis will be postponed until the end ParseMovie As mentioned here, follows attempts:

this code
Code: [Select]
//'Synopsis' saved to ~mfDescription~

curPos := PosFrom('<span>', HTML, curPos);
endPos := PosFrom('</span>', HTML, curPos);
TmpStr5 := TextBetween(HTML, '<span>', '</span>', True, curPos);

curPos := PosFrom('<span>by', HTML, curPos);
endPos := PosFrom('</span>', HTML, curPos);
TmpStr3 := TextBetween(HTML, '<span>by ', '</span>', True, curPos)

curPos := PosFrom('<strong>', HTML, curPos);
endPos := PosFrom('</strong>', HTML, curPos);
TmpStr4 := TextBetween(HTML, '<strong>', '</strong>', True, curPos);

curPos := PosFrom('<p>', HTML, curPos);
endPos := PosFrom('</p>', HTML, curPos);
TmpStr := Copy(HTML, curPos, endPos - curPos);
TmpStr1 := StringReplace(TmpStr, ' -- ', '—', True, True, False);
TmpStr2 := StringReplace(TmpStr1, ' --- ', '—', True, True, False);
TmpStr := StringReplace(TmpStr2, '--', '—', True, True, False);
TmpStr1 := StringReplace(TmpStr, #13#13#13#13, #13#10#13#10, True, True, False);
TmpStr2 := RemoveTagsEx(TmpStr1);

if (TmpStr4 = 'synopsis') AND (Pos('©', TmpStr2) = 0) then
AddFieldValue(mfDescription, TmpStr2 + #13 + '—' + TmpStr3)
else
if (TmpStr4 <> 'synopsis') OR (Pos('©', TmpStr2) = 1) then
LogMessage(' Synopsis: Not available');

Copy here as shown in the attached code
Code: [Select]
//~AMG ID~

TmpStr := HTMLValues(HTML,
'<dt>AMG ID</dt>', '</dd>',
'<pre>', '</pre>',
', ', endPos);
AddCustomFieldValueByName('AMG ID', TmpStr);


//'Synopsis' saved to ~mfDescription~

curPos := PosFrom('<span>', HTML, curPos);
endPos := PosFrom('</span>', HTML, curPos);
TmpStr5 := TextBetween(HTML, '<span>', '</span>', True, curPos);

curPos := PosFrom('<span>by', HTML, curPos);
endPos := PosFrom('</span>', HTML, curPos);
TmpStr3 := TextBetween(HTML, '<span>by ', '</span>', True, curPos)

curPos := PosFrom('<strong>', HTML, curPos);
endPos := PosFrom('</strong>', HTML, curPos);
TmpStr4 := TextBetween(HTML, '<strong>', '</strong>', True, curPos);

curPos := PosFrom('<p>', HTML, curPos);
endPos := PosFrom('</p>', HTML, curPos);
TmpStr := Copy(HTML, curPos, endPos - curPos);
TmpStr1 := StringReplace(TmpStr, ' -- ', '—', True, True, False);
TmpStr2 := StringReplace(TmpStr1, ' --- ', '—', True, True, False);
TmpStr := StringReplace(TmpStr2, '--', '—', True, True, False);
TmpStr1 := StringReplace(TmpStr, #13#13#13#13, #13#10#13#10, True, True, False);
TmpStr2 := RemoveTagsEx(TmpStr1);

if (TmpStr4 = 'synopsis') AND (Pos('©', TmpStr2) = 0) then
AddFieldValue(mfDescription, TmpStr2 + #13 + '—' + TmpStr3)
else
if (TmpStr4 <> 'synopsis') OR (Pos('©', TmpStr2) = 1) then
LogMessage(' Synopsis: Not available');

end;


procedure ParseSearchResults(HTML : String);

and this for me this works perfectly, how it works for you now.

2136
Scripts and Templates / Re: AllMovie script for People:Questions
« on: August 06, 2011, 01:32:08 pm »
The AllMovie site has been replaced by AllRovi.

2137
Scripts and Templates / Re: AllMovie DVD:Script and skin
« on: August 06, 2011, 01:29:24 pm »
The AllMovie site has been replaced by AllRovi.

2138
Support / Re: NASTY bug in IMDb People plugin!
« on: August 05, 2011, 08:20:58 pm »
This is a very important announcement, which is good to know before you do any updating of data with any IMDB plugin.

2139
Support / Re: AllRovi movie script
« on: August 05, 2011, 07:52:23 pm »
Quote
I think the new update field is a really good idea (it would be nice if a similar field for the imdb script exists ... but that’s another point). Unfortunately, the date format is not similar to the date format of the "added" and "modified" fields.  

"Added" field does not change, remaining from the date of entry when the entry was added, while in the "Modified" field is changing the date in it with every change made ​​to any of the saved in PVD database.

Quote
I have another issue with the "modified" field. I am not sure if this is related to the script or a more general problem of PVD.
I think, this is more
Quote
a more general problem of PVD

What about the custom "Updated" field, there are certain data change.
See attached pictures.


[attachment deleted by admin]

2140
Scripts and Templates / Re: AllRovi movie script
« on: August 03, 2011, 07:44:36 pm »
Quote
I'm not worried. I know my co-author will monitor the situation closely, and make changes before I even realize they're necessary.

I will monitor if any changes, unless something unexpected comes in between that I could not.

Quote
Once again, Ivek, thanks very much for your hard work and persistence in making this script possible.

Pleased to meet you and thank you too Rick.ca for substantial help in correcting that right now the script works better and looks for the correct text in it.

Quote
Quote
This is it and ready for all other registered or unregistered users in the Download section.

It should be included in the auto-update system. Nostra would have to explain to us how and where to upload updated scripts. I assume they just need to be put in a particular directory (and it may be the same as that used for files in the Download section), but I don't know.

Would not it be bad that the explain how to upload.




Pages: 1 ... 102 103 104 105 106 [107] 108 109 110 111 112 ... 133
anything