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 ... 79 80 81 82 83 [84] 85 86 87 88 89 ... 133
1661
Changelogs / Re: 1.0.2.5 Release Candidate
« on: May 28, 2013, 08:41:22 pm »
Quote
hi with this version when trying to add custom fields , the fields are not visible any ideas??
Which skin you are using. Then it will be easier to solve the problem.
i am using pvd classic skin

This is a bit strange because the custom fields should be visible in customsection field in the skin. In this case, custom fields is are not displayed (the pvd_classic_movie skin has a errors). I found that quite a few errors (pvd_classic_movie skin).

Proper functioning pvd_classic_movie skin is attached.



Nostra:
pvd_classic_movie skin in 1.0.2.5 Release Candidate Installer is not working properly (the pvd_classic_movie skin has a errors).



[attachment deleted by admin]

1662
Changelogs / Re: 1.0.2.5 Release Candidate
« on: May 28, 2013, 05:46:00 am »
Which skin you are using. Then it will be easier to solve the problem.

1663
Scripts and Templates / Re: AllMovie.com_new movie script
« on: May 04, 2013, 03:20:39 pm »
I tried to manipulate the AllMovie_simple script with Bing search results, it has been successful and script it works. I also tried the Google search results, so far unsuccessfully. This is now the basis for a script that someone might be able to edit the script with Google search results.

AllMovie.com_Bing_Search script is attached.

[attachment deleted by admin]

1664
Scripts and Templates / Re: AllMovie.com_new movie script
« on: May 04, 2013, 06:43:52 am »
I fixed search in Bing_SearchMulti_All script. Script now find search results for both AllMovie as well as for AllRovi.

Bing_SearchMulti_All script is attached.

[attachment deleted by admin]

1665
Scripts and Templates / Re: AllMovie.com_new movie script
« on: May 03, 2013, 07:19:47 pm »
http://www.allmovie.com/movie/the-housemaid-v317173
http://www.allmovie.com/movie/el-camino-v434425

These two URLs script (AllMovie or AllRovi script) in a single search finds is verified.

Unfortunately it's not

For the first movie, original title is "Hanyo", and as I understood the script searches by <origtitle>, not by <title> - which is proved in picture 1.jpg attached by search within PVD, also the same search AllMovie.com by origtitle . Why then,script searches by original title, but not by <title>, cause obviously allmovie.com has no accurate database of original titles in "ALTERNATE TITLE" FIELD? Wouldn't be more reasonable then to search by title?

If you access the Internet over the url to the film page and with this page, copy the title of the movie in PVD, you will find the script (movie).

Is it possible to incorporate google search results in allmovie script, not to search allmovie directly, but via google, so it extracts all allmovie's url from the first ten google results that have "vxxxxxx", then deletes everything after "-vxxxxx" in such urls, and returm us search results? Such a script for all movie would hit all original titles and adult genre in first couple of matches (depending on how often original title is used in cinematography).

Sorry, too demanding application for my knowledge in computer science (I'm no programmer, I'm just a computer amateur, self-taught without a single hour of training in computer science). For my part the answer is no, maybe you can help someone else in this matter.

In the search results the you can in help also Bing_SearchMulti_All script that gets to the right connections or access to the web site and also to url addresses. Bing_SearchMulti_All script displays URLs in the search results, but does not transfer anything.

Bing_SearchMulti_All script is attached.

[attachment deleted by admin]

1666
Scripts and Templates / Re: AllMovie.com_new movie script
« on: May 03, 2013, 09:29:54 am »
http://www.allmovie.com/movie/the-housemaid-v317173
http://www.allmovie.com/movie/el-camino-v434425

These two URLs script (AllMovie or AllRovi script) in a single search finds is verified.

http://www.allmovie.com/movie/the-expendables-v474338
http://www.allmovie.com/movie/the-outlaw-v569124

These URLs script (AllMovie or AllRovi script) in a single search not at all found, it is checked. It is not in the search results on the web site.

http://www.allmovie.com/movie/loose-change-9-11-an-american-coup-v492684

This url script in a single search not at all found, it is checked. It is AllRovi script finds.

http://www.allmovie.com/movie/the-life-and-death-of-a-porno-gang-v523933

The reason, why script
  • It is possible that the film you are looking to contain inappropriate content (adult movies) and filter for the children of this film does not show in the list of search results (filter is already in primary settings). As far as I know, AllRovi websites use this filter and AllMovie new website also use this filter.
absolutely not found.

http://www.allmovie.com/movie/shanghai-v425881/

This url script in a single search not at all found, verified, because on the next page in the search results.

With a Google search, all URLs to find.

Is it possible to use this information to improve the script?

In this regard, it is as follows:
probably that or not, I do not know, I'm not a programmer, I do not have the right of replies to it.

I suggest a small solution for certain movies. I arranged AllRovi script that will find certain movies. In the URL field will instead AllRovi url added AllMovie url address. He added the title and the year of the film, but unfortunately it does not rating reviews

AllRovi_simple script is attached.

[attachment deleted by admin]

1667
Scripts and Templates / Re: AllMovie.com_new movie script
« on: May 02, 2013, 12:22:49 pm »
Zelo mi je žal, da slišim slabe stvari o dobrih ljudi, kot ste vi.

My all the best, Ivek.

Hvala.

Thanks.

1668
Scripts and Templates / Re: AllMovie.com_new movie script
« on: May 02, 2013, 07:30:35 am »
Quote
You are really one big "Lucky" and you really are very lucky because I was able to fulfill your request.

Just let me know when you're in Belgrade. Beer's on me!  ;)

Thanks for the offer, but very difficult, I doubt that I will ever even come to Belgrade. The reason - it is just a little too far for me in recent times (I am partially disabled person due to amblyopia and already almost 10 years without a job).

BTW: Already we are in the month of love, May, therefore, a beautiful and warm greetings from Slovenia.

1669
Scripts and Templates / Re: AllMovie.com_new movie script
« on: May 01, 2013, 03:52:03 pm »
Now, could you consider to create a "quick" allmovie script, just like you did for IMDb, for example? Just url, title and rating, let's say.

You are really one big "Lucky" and you really are very lucky because I was able to fulfill your request.

AllMovie.com_simple script contains, in addition to your wishes, contains a year and a poster. Otherwise, it would also be possible to script would not work properly, if year and the poster would not be added there.

If there is anything superfluous to make this easy in the script block as shown in the attached code snippet below:
Code: [Select]
//AddCustomFieldValueByName('Updated', DateToStr(CurrentDateTime));
AllMovie.com_simple script is attached.

[attachment deleted by admin]

1670
Scripts and Templates / Re: AllMovie.com_new movie script
« on: May 01, 2013, 07:56:07 am »
AllMovie.com_new script
v 0.1.1.3.


I fixed all ParseReview:
piece of code

Code: [Select]
//~Review~

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

AddCustomFieldValueByName('Review', TmpStr2 + #13 + '—' + TmpStr3);
changed in this part of the code
Code: [Select]
//~Review~

//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('</div>', 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);

//AddCustomFieldValueByName('Review', TmpStr2 + #13 + '—' + TmpStr3);

curPos := PosFrom('<span itemprop="itemreviewed">', HTML, curPos);
endPos := PosFrom('</span>', HTML, curPos);
TmpStr5 := TextBetween(HTML, '<span itemprop="itemreviewed">', '</span>', True, curPos);
curPos := PosFrom('<span itemprop="rating">', HTML, curPos);
endPos := PosFrom('</span>', HTML, curPos);
TmpStr4 := TextBetween(HTML, '<span itemprop="rating">', '</span>', True, curPos);
curPos := PosFrom('<span itemprop="reviewer">', HTML, curPos);
endPos := PosFrom('</span>', HTML, curPos);

TmpStr3 := TextBetween(HTML, '<span itemprop="reviewer">', '</span>', True, curPos)

curPos := PosFrom('<span itemprop="description">', HTML, curPos)+ 29;
endPos := PosFrom('</span>', HTML, curPos);
TmpStr := Copy(HTML, curPos, endPos - curPos);

AddCustomFieldValueByName('Review', TmpStr + '—' + TmpStr3);

Prior to this change in the code, the transmission of info only to the first paragraph from the Review tab. After this change in the code, the transmission of info for all Review paragraphs from the Review tab (full review).

Notice:
The new version of the script is added to the Download page.

1671
Scripts and Templates / Re: AllMovie.com_new movie script
« on: May 01, 2013, 07:54:50 am »
BTW, neither version found the movie until I added the URL manually.

There are also variants of the script did not find the movie:
  • It is possible that the film you are looking to contain inappropriate content (adult movies) and filter for the children of this film does not show in the list of search results (filter is already in primary settings). As far as I know, AllRovi websites use this filter and AllMovie new website also use this filter.
  • It is possible that the movie you are looking for is not listed in the AllMovie database. When I some time ago update my movie database with AllMovie_new script, I had a few examples of movies when AllMovie_new script did not find the movie, but with AllRovi script was found.

1672
Scripts and Templates / Re: AllMovie.com_new movie script
« on: April 30, 2013, 07:20:17 pm »
Thanks.

Thank you for all the feedback.

1673
Scripts and Templates / Re: AllMovie.com_new movie script
« on: April 30, 2013, 03:42:56 pm »
Ivek,

v0113 is better than v0112. It now deletes extra paragraph spaces added when importing to a "Review" field, where the photos were on the site review tab. Great work, thank you!

Thank you.

I have a very, very personal and selfish appeal to you. Is it reasonable for you to save All Movie synopsis to some other field by default ("Comments", for eample). Is it possible, in addition to offer custom field for synopsis. Thanks in advance.

No problem, can be transferred to a custom field.

There are several possibilities:

Some of it is added to the script.

For example:
Quote
Code: [Select]
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');

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

Code: [Select]
//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');

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

Code: [Select]
if (TmpStr4 = 'synopsis') AND (Pos('©', TmpStr2) = 0) then
AddCustomFieldValueByName('AllMovie Synopsis', TmpStr2 + #13 + '— ' + TmpStr3)
else
if (TmpStr4 <> 'synopsis') OR (Pos('©', TmpStr2) = 1) then
LogMessage(' Synopsis: Not available');

Another simple solution is to add "AllMovie Synopsis" custom field and in the settings set the way you AllMovie synopsis transferred to this custom field (see example in the attached picture - sshot-0, sshot-1 and sshot-2).

[attachment deleted by admin]

1674
Scripts and Templates / Re: AllMovie.com_new movie script
« on: April 30, 2013, 02:23:00 pm »
BTW, neither version found the movie until I added the URL manually.

Yes, the movie in the search results may not have been on the first page on which the script returns results. The problem of finding results at AllMovie new web pages is that the movie you are looking for, shown only the first 10 results on the first search page. If the search results in more than 10 hits, it is here the second page or multiple pages with 10 hits. The remaining pages of the search hits are AllMovie script not found and is required to manually enter the URL to the script then finds. These errors, which rarely occurs (at least I think so) in the search results, I do not know how to resolve this problem. Maybe someone can help solve this problem?

1675
Support / Re: IMDb Movie Connections
« on: April 30, 2013, 12:52:04 pm »
There is some problem with the IMDb plugin (0.9.8.18) or the program (1.0.2.5) when Movie Connections is selected in the plugin configuration. The page is downloaded okay, but the update takes a very long time and often hangs the program. If "Followed by" only is selected, the problem does not occur.

Yes, it is true, I have the same problem described.

1676
Support / Re: FilmAffinity not working anymore
« on: April 30, 2013, 06:33:24 am »
I will fix FilmAffinity plugin probably shortly after release of the next PVD version.

1677
Scripts and Templates / Re: AllMovie.com_new movie script
« on: April 30, 2013, 06:16:07 am »
I changed a little piece of code to Review info. Now I wonder if this also works fine. I wonder also what is now the difference in text in Review custom field between AllMovie.com 0.1.1.2 script version and AllMovie.com 0.1.1.3 script version. In AllMovie.com 0.1.1.2 script version the transferred original Review information where the Review fields on web pages added pictures. In AllMovie.com 0.1.1.3 script version the passed unseen Review information,  which is not visible in Review fields on web pages. They are, however Review information in both cases exactly the same written. I am interested in your opinion because I'm a better version then added to the Download page.

AllMovie.com 0.1.1.3 script version is attached.

[attachment deleted by admin]

1678
Scripts and Templates / Re: Previewing movie URLs in skin
« on: April 28, 2013, 04:44:02 pm »
So, it means it's impossible to do such thing with predefined "url" field?

That's right. A hyperlink can only be created in a multiselect list or memo field. If you could turn the URLs in [URL] into hyperlinks, the plugins and scripts that rely on them wouldn't work.

Thank you, Rick for the explanation. I also learned something new from this explanation.

1680
I found a way to get this:

1. Import local title and original title from imdb.com
2. Define custom field in PVD, for instance "English Title"
3. Set Ivek's AllMovie.com_new script in PVD->Preferences->Plugins, not to overwrite "Title"
4.  Modify Ivek's AllMovie.com_new script like this, for example, in order to import Title (which is always English title) to a custom field "English Title":
Code: [Select]
//~mfTitle~ or ~Title~

curPos := Pos('<title>', HTML) + Length('<title>');

//if Pos('- Trailers, Reviews, Synopsis, Showtimes and Cast - AllMovie</title>', HTML) > 0 then
// endPos := PosFrom('- Trailers, Reviews, Synopsis, Showtimes and Cast - AllMovie</title>', HTML, curPos)
//else
// endPos := PosFrom('- Cast and Crew - AllMovie</title>', HTML, curPos);

if Pos('(', HTML) > 0 then
endPos := PosFrom('(', HTML, curPos);
TmpStr1 := Copy(HTML, curPos, endPos - curPos);

AddFieldValue(mfTitle, TmpStr1); 
AddCustomFieldValueByName('English Title', TmpStr1);

5. Import data with modified Ivek's AllMovie.com_new script

Voila!

6. Make a batch file IMDB+AllMovie to automate the process
7. If you don't want to import anythiing else except English Title from Allmovie.com, then set up  Ivek's AllMovie.com_new script in Preferences, and modify it to import only English Title

Hope this helps.
 8)

afrocuban, nice and commendable, yes, this will be helpful to other users.

Pages: 1 ... 79 80 81 82 83 [84] 85 86 87 88 89 ... 133