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

Pages: [1]
Scripts and Templates / Re: Script: FilmAffinity [ES] (Easy Script)
« on: May 27, 2018, 02:12:05 pm »
Could you please share the last curl version of your script? Thank You!

Talk / Re: news
« on: May 07, 2018, 08:48:50 pm »
Great news!

Support / Re: PVD freezes using certain script.
« on: April 30, 2018, 10:05:17 pm »
Hi Ivek:

The problem is in the spaces and line feeds they put between elements. Also the <p> now comes before the <span itemprop="description" part, not after like before (I found and old page I had saved and saw the differences. I changed the description code to this:

curPos := Pos('<h2>Storyline</h2>', HTML)
If Pos('<h2>Storyline</h2>', HTML) > 0 then begin
EndPos := PosFrom('<span itemprop="description">', HTML,curPos);
//curPos := PosFrom('<p>', HTML, EndPos);
    curPos := curPos + Length('<span itemprop="description">');
   EndPos := PosFrom('<em class="nobr">', HTML, curPos);
   TmpStr00 := RemoveTags(Trim(Copy(HTML, curPos, endPos - curPos)), false);
   if TmpStr00 <> '' then AddFieldValueXML('description', TmpStr00);

The sql command I used was:

UPDATE MOVIES SET "description"='' WHERE "mid"=4946

where 4946 was the id of the movie corrupted.

But I don't know exactly how to do it inside the program,in my case just as I opened PVD it hanged, so I had to use an external database program: I connected to the movies database with odbc, and sent the command. If someone can't open the program that it hangs, and has a database under 2gb, he could send it to me with wetransfer and I could clean that description.

Support / Re: PVD freezes using certain script.
« on: April 30, 2018, 10:46:12 am »
Hi, Ivek: thanks for allyour great work!

I'm having this problem with the movie, with the script Imdb Top 250, IMDb Rating and Studio (2). I have made a few tests and in fact the script is finishing correctly, the trouble is that is getting a lot of text and HTML code on the description. By cleaning the description field with a sql command the program opens again.

Thank you Ivek!

Support / Re: Skins: when is <section> mandatory?
« on: September 26, 2016, 10:17:13 am »
Thank you! As always you're very kind and knowledgeable. It worked, but putting a font 2 points less than the one I wanted. So, if I want size=10 I have to write size=8. Then it works.

Support / Re: Skins: when is <section> mandatory?
« on: September 24, 2016, 08:58:41 am »
Thank you, but I already had corrected these. I wanted to understand the logic. I'll try to mix these two skins and then see if the elements are visible or not.

Another thing: in the image attached, I don't know if you can see thet the font in the audio section looks bigger than all the rest. It happens in my pc with ALL the skins, maybe because I have put big fonts in windows. But I don't think there is a solution for that.

Support / Re: Skins: when is <section> mandatory?
« on: September 23, 2016, 09:14:45 pm »
What I'd like to do is esentially the "PVD Simple White Movie Skin" combined with the title and poster style of "PVD Zwhite". From this skin I also like the idea of having just two sections, one with almost everything and the other with just the screenshoots. Attached below is my idea (done in Photoshop). So I was asking because at first I tried to have just the two sections but nothing was visible. Then when I had three nested levels with section tags it didn't worked either.

Support / Skins: when is <section> mandatory?
« on: September 23, 2016, 01:53:30 pm »
I'm trying to make my customized skin, and rows and columns I think I understand. But I don't fully get when is obbligatory to enclose the objects in a section.

Support / Re: Help wanted at Script -postersfolderjpg_en-
« on: September 23, 2016, 01:46:08 pm »
I'm glad it works!

Support / Re: Help wanted at Script -postersfolderjpg_en-
« on: September 23, 2016, 04:36:07 am »
Hve you tried my script? It puts the movie_poster.jpg in the poster section and the movie_thumbnail.jpg in the cover section (you can easily correct the section).

Support / Re: Help wanted at Script -postersfolderjpg_en-
« on: September 22, 2016, 03:10:34 pm »
If I have understood what you wanted, I think this should work. It's not a Poster script but a movie script that only loads the poster and cover images, as I haven't found a way to load more than one image with the poster scripts.

After looking at the FilmAffinity script, I managed to get AddImageURL to work. It works when mode=smNormal, not with mode=smPoster.

Thank you very much! You're very kind! I'll adapt it to my needs.


I can't seem to find this script in the forum, does anybody have it?

Also, I'm trying to import posters on my local HD with AddImageURL, but it doesn't happens anything. I have verified the path is right, but maybe that command doesn't works with local files? I'm on PVD

Pages: [1]