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.


Topics - afrocuban

Pages: 1 [2] 3 4
21
Support / New FilmAffinity Script
« on: November 22, 2024, 09:13:35 pm »
At least recently, FilmAffinity script parses Movie title custom field "title1" together with movietype when the title is not movie, but series, documentary or so. For example, for https://www.filmaffinity.com/en/film348275.html for the result after <h1> we were getting


Quote
Orson Welles: The One-Man Band                documentary

Instead


Quote
Orson Welles: The One-Man Band

only.


So, using AI, I corrected this, because I confirmed that in such cases there are exactly 16 spaces between the title and movie type. So I changed this in the script. Instead of this


Code: [Select]

//Get ~title~
    curPos:=1
    ItemValue:=TextBetWeen(HTML,'<h1 id="main-title">','</h1>',false,curPos);            //Strings which opens/closes the data. WEB_SPECIFIC
    AddCustomFieldValueByName('title1',ItemValue);
    LogMessage('      Get result title:'+ItemValue+'||');


I changed with this ( I choose to use >8 spaces just in case)
Code: [Select]

// Get ~title~
curPos := 1;


// Extract the section within <h1 id="main-title"> and </h1>
ItemValue := TextBetWeen(HTML, '<h1 id="main-title">', '</h1>', false, curPos);
LogMessage('Intermediate result after <h1>: ' + ItemValue + '||');


// Check and clean up any trailing content with 8 or more spaces
curPos := Pos('        ', ItemValue); // 8 spaces here between single quotes


if curPos > 0 then
begin
    // Move the cursor to cover any additional spaces
    // This loop handles any number of trailing spaces greater than or equal to 8
    while (curPos <= Length(ItemValue)) and (ItemValue[curPos] = '        ') do // 8 spaces here between single quotes
    begin
        curPos := curPos + 1;
    end;
   
    // Extract the title up to the first non-space character after the spaces
    ItemValue := Copy(ItemValue, 1, curPos - 1);
    LogMessage('Cleaned title result: ' + ItemValue + '||');
end
else
begin
    LogMessage('No extra trailing content found.');
end;


// Trim any leading or trailing whitespace
ItemValue := Trim(ItemValue);


// Add the title to the custom field
AddCustomFieldValueByName('title1', ItemValue);


// Log the final cleaned title for verification
LogMessage('Get result title: ' + ItemValue + '||');



It would be good Ivek to officially include it in FilmAffinity script if interested in, otherwise if someone is interested in, I can post my already customized script

22
Support / Poster field
« on: November 16, 2024, 11:17:53 am »
Hello again, Ivek. I'm further customizing your script. I've got that custom director's field, but I will not post the script until some point when I will be satisfied with the level of customization.


Now I'm working on a possibility to import more than one poster at once from the site (let's say, IMDb site). Do you by any chance know if database or PVD itself allows that, so with the proper script coding, multiple posters would be parsed and populated to poster field?

23
Support / Custom actors and directors field
« on: November 12, 2024, 04:14:57 am »
Hello Ivek.


I'm creating a new skin, pretty much different than anything seen here so far. As a teaser, It'll contain all the custom fields I'm aware of, around 160 as I already mentioned earlier.


For it to work properly, I need 2 custom fields: for IMDb actors without role and directors, with values separated with: "  •  ", or with double/triple space, even better.


I can't use existing human fields for those two, because they're by design of a link memo type, and with link memo it is impossible (at least for me) to achieve even simple goals in skin engineering.


I am more than willing to learn to do it myself with your help, of course. I can recognize patterns, and I already changed separator for Tv2 custom field with aforementioned, instead comma.


Thank you in advance

24
Support / Skin Engine Help Needed
« on: November 11, 2024, 12:35:30 am »
So, if I select too many values in a multiselect list, concatenated result in a skin is that the line exceeds skin (section) width. For example, for many Netflix's movies, there are too many subtitles, so once the file is scanned, I can't see all subtitles, but only those which fit skin width.


I have tried to set "wordwrap=true" attribute both to field and to column in which the field reside, but to no avail. This might be expected, because according to Skin Engine Help Manual, "wordwrap" is mentioned only in section about labels.


Is there a way to "wordwrap" Multiselect List field, so I could see all the values?

25
Support / List of custom fields
« on: November 09, 2024, 01:48:31 am »
Hello Ivek.


Is there a way we can get a full comprehensive list of custom fields, at least from IMDb scripts, with names and types of fields?
I'd like to get it because my goal is to create a skin which will include all the fields I'm able to collect. I want to split custom fields to different tabs with different names, unlike Classic skin where all the custom fields are generated in a single section.


Thank you in advance.

26
Support / Imdb People script issues
« on: November 08, 2024, 05:09:10 pm »
Does anyone have the issue with this skin, as I do. Namely, when downloading a person's photo is taking a place, it freezes, I cannot cancel import, and the only way to continue is to kill viddb.exe process, and to restart PVD.


Thanks a bunch for a feedback.

27
Support / Merging skins
« on: November 05, 2024, 07:10:57 am »

My goal would be to add people photos (thumbnails) for people listed in Movie skin's movie record, similar like on the website(s). Is that possible, anyone has an idea?

28
Talk / AI and PVD
« on: February 07, 2024, 10:56:00 pm »
I admit - I am terrified how wrong it will go with AI at the beginning and it already started. So, I guess we need to think how to minimize the damage starting today, to protect ourselves and our families the way people hide themselves in the basement under tornado strike.


But, I thought maybe something positive can come out of all of this. AI will be very soon able to reverse engineer PVD. Do you agree?

29
Support / Metascore
« on: January 04, 2024, 03:36:56 pm »
Hello Ivek. In a new _2b script. metascore import field doesn't work. But, more importantly, when updating older PVD movie entries where I had metascore imported from the times it worked, now when I update with _2b script, the field is overwritten with empty/zero value. How to prevent this please?

30
Support / Skins
« on: December 23, 2023, 04:02:38 pm »
Here's my small contribution.


I used CG's Dark People skin and Dave C's gallery skin and combined them. I also rearranged some fields. Hopefully someone will find it useful.




31
Other Topics / At the end of 2023...
« on: December 20, 2023, 03:04:57 am »
... PVD is revived once again due to Ivek's magical takes on AllMovie and IMDb scripts?   :)


I am following other catalogues and I can tell you that neither is updated as PVD. In general they all dies...

32
Other Topics / Issues using forum
« on: November 27, 2023, 10:23:14 pm »
Hello. This could be the place to report issues regarding using forum.


We all know that beside Ivek, probably no one else can post to any other forum than to "Talk" and "Other".


The other issue I'm experiencing at the moment is that the links to the scripts aren't visible. to me at least.



For example, there's no link in this post, or anywhere else for new AllMovie:

http://www.videodb.info/forum_en/index.php/topic,4109.msg21882.html#msg21882

33
Other Topics / How many
« on: September 10, 2023, 02:11:53 am »
I wonder how many users still using PVD.


Do you think more than few dozens?

34
Other Topics / MediaInfo
« on: June 28, 2023, 10:58:21 pm »
Just a note that it looks like if you want file info to be read properly, new mediainfo.dll has to be downloaded and put into the root folder of PVD.
Download full MediaInfo here
https://mediaarea.net/en/MediaInfo
and extract/copy mediainfo.dll to a location above

35
Other Topics / PVD Alternatives
« on: May 15, 2023, 11:24:22 pm »

It looks like movie cataloguers are vanishing slowly, like everything goes online. You set everything on IMDb and goodbye privacy...
I'm looking for alternatives as a backup, and this is what I found:
1. Movienizer looks the best, but you have to pay for it, it hasn't updated since 2020, and most important - it doesn't support UTF8, and whole PVD, logically and naturally is in UTF8.
2. Ant Movie Catalogue can import from PVD exports (csv, or txt), and can have as many as wished custom fields, but it is ugly, and again, it doesn't support UTF8!?
3. At the end - emdb. It supports PVD import, it supports UTF8, but - no custom fields, only few of them, and it's not as nice as others...
4. Still checking coolllector, but it doesn't look good so far... Will be back with news
Bah... No cataloguer as PVD ever...

36
Other Topics / IMDb episodes HTTPS script
« on: May 10, 2023, 09:05:32 pm »
Hello Ivek.


1. How we can get episodes IMDB urls with this script?
2. Also, I noticed that there is no  more piece of code for custom fields TV Series, Series/Episodes like it was in (episodes)(a) script?


Is there a way we can get these two?

37
Other Topics / IMDb test 1b sctipt
« on: May 10, 2023, 09:01:39 pm »
We can write only here, so I will use this subforum.


First thank you so much for your contribution. i have sent you an email, Ivek, but it probably finished in spam. To repeat: I wish you good health, both to you and to your mom!


I just wanted to let you know that your 1b script works great, only metascore isn't imported for me anymore.


Example for instance:
https://www.imdb.com/title/tt10640346/

38
Support / IMDb [EN][HTTPS](series) issues and support
« on: December 08, 2021, 09:16:11 pm »
In all IMDB_ [EN] [HTTPS], IMDB_ [EN] (HTTPS] (series) and IMDB_ [EN] [HTTPS] (episodes) scripts, Runtime information is now incorrectly downloaded. The reason is a change in the source code of the primary Imdb web pages. I have fixed this bug and all Imdb scripts may be added to the forum tonight or tomorrow.

I have a custom field Run time for runtime. In IMDB_ [EN] [HTTPS] I added
Quote
AddCustomFieldValueByName('Run time',ItemValue);

I did analog in IMDB_ [EN] (HTTPS] (series) by adding

Quote
1104      AddCustomFieldValueByName('Run time',ItemValue1);

but for some reason it doesn't work.

Since the only way to record actual media length in PVD is to record it to Duration field, I'd prefer IMDb length to be recorded to a custom field Run time

Any help on this, please?

EDIT:

If I put
Quote
1111     AddCustomFieldValueByName('Run time',ItemValue00);

I get length 1 hour for https://www.imdb.com/title/tt8694364/, but not 60 minutes???

39
Support / IMDB_[EN][HTTPS].psf
« on: September 24, 2021, 10:46:01 am »
Hello Ivek.

Thank you so much for tremendous efforts to keep PVD live, especially with the recent IMDb and AllMovie script updates, which needed a lot of work and rewritings.

I have a question - do you, or anyone else know why "Title" isn't equal anymore with "Localized Title" when importing data? It should be the same since IMDb reads my IP and if there is localized title, it imports it in "Title" as such, making it equal with "Localized Title", right?

Or, am I missing something? I know this because of my skin. I had original "Title" field and until the end of July it always imported in that field localized title if there was one, but not anymore.

Thanks in advance for any thoughts or ideas on this.

40
Support / IMDB_[EN][HTTPS] new site layout script
« on: July 05, 2021, 09:12:43 pm »
Why is it deleted. I was lucky to download new IMDB test script and to test it. It looks like it works. Thankyou so much Ivek, that was blazingly fast. Those aka and connections links looked like they worked.

Can you please let me know where should I implement that custom Title field pice of code from previous script:


       
Code: [Select]
titleValue:=TextBetWeenFirst(ItemList,'<h1 class="">','<');       //Strings which opens/closes the data. WEB_SPECIFIC
        If titleValue = '0' then titleValue:='';
        If titleValue = '' then titleValue:=TextBetWeenFirst(ItemList,'<h1 class="long">','<');       //Strings which opens/closes the data. WEB_SPECIFIC
        AddFieldValueXML('title',titleValue);
AddCustomFieldValueByName('Title',titleValue);
AddCustomFieldValueByName('Localized title',titleValue);
        LogMessage('      Get result title:'+titleValue+'||');

Thank you in advance

Pages: 1 [2] 3 4