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

Pages: 1 2 3 4 [5] 6 7 8 9 10 ... 23
81
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: December 03, 2022, 02:41:21 pm »
Sorry to hear. hopefully everything will go well!

82
Talk / Re: Videodb.info news
« on: December 03, 2022, 02:36:57 pm »
It's good news. this is the 10th year since nostra abandoned the project and it is still alive at first to ivek! Thank you.

Would it be a good idea to put the info on the front page for a backup location when this site dies?

83
Support / Re: IMDb [EN][HTTPS](series) issues and support
« on: February 13, 2022, 02:25:31 am »
Dear Ivek, here I am with the feedback.

Everything works perfect, and I admit I wasn't expected that, because of lot of code to change.


The only thing that doesn't work for me is Runtime for series. This piece of code doesn't import run time for me, although I renamed custom field to Run time instead of Run time1

Quote
    //Get the original "Runtime" (in minutes) as ~length~ (in seconds) instead of the duration of the user movie copy                                        //WEB_SPECIFIC.   
    curPos:=Pos('<span class="ipc-metadata-list-item__label">Runtime</span>',HTML);                                        //WEB_SPECIFIC.
    If 0<curPos Then Begin
        ItemValue1:=TextBetWeen(HTML,'<div class="ipc-metadata-list-item__content-container">','minutes</div></li>',false,curPos);  //Strings which opens/closes the data. WEB_SPECIFIC
        //ItemList:=ItemList+'Original Runtime: '+ItemValue1+' min.<br>';
        LogMessage('      Get result Original Runtime11:'+ItemValue1+'||');
      //If GET_FULL_FEATURES Then
      if ItemValue1 <> '' then
        AddFieldValueXML('length',IntToStr(60*StrToInt(ItemValue1))); //~length~ Value in seconds.
      if ItemValue1 <> '' then AddCustomFieldValueByName('Run time1',ItemValue1);
        //AddFieldValue(14,ItemValue1);  //Field number 14 = Duration, value in minutes
        if ItemValue1 <> '' then LogMessage('      Get result lenght011:'+ItemValue1+'||');
      //LogMessage('      Get result lenght012:'+HTMLValues(HTML,'<span class="ipc-metadata-list-item__label">Runtime</span>','</ul>','<li role="presentation" class="ipc-inline-list__item">','</li>',', ',endPos)+'||');     
        ItemValue00:=TextBetWeen(HTML,'<div class="ipc-metadata-list-item__content-container">','hour</div></li>',false,curPos);  //Strings which opens/closes the data. WEB_SPECIFIC   
      LogMessage('      Get result Original Runtime111:'+ItemValue00+'||');     
      if ItemValue00 <> '' then
      AddFieldValueXML('length',IntToStr(3600*StrToInt(ItemValue00))); //~length~ Value in seconds.
      if ItemValue00 <> '' then AddCustomFieldValueByName('Run time1',IntToStr(60*StrToInt(ItemValue00)));
      if ItemValue00 <> '' then LogMessage('      Get result Original Runtime111:'+ItemValue00+'||');
        if ItemValue00 <> '' then LogMessage('      Get result lenght0111:'+ItemValue00+'||');     
    End;

But, I can live without that and I am immensely grateful to you

84
Support / Re: IMDB_[EN][HTTPS].psf
« on: February 13, 2022, 02:20:40 am »
Thank you Ivek. It works perfectly!  :)

I gues it was a problem with the movies that don't have reviews. You saved me again!

85
Support / Re: IMDB_[EN][HTTPS].psf
« on: February 10, 2022, 03:38:26 pm »
Hello and thanks Ivek. Now I see that I can also import these movies to the new empty database, but if I try to do that into my existing database, it hangs while importing, the record becomes corrupted, and I have to kill PVD, but even when trying to start it again it won't make it since PVD will try to open on this record and hangs again on opening.
So what I do? I rename database for example to Movies.pvdbak, then open PVD which now opens empty, then rename the database back to Movies.pvd, then open it via PVD->Open database, so problematic record isn't selected by default. Then I search the database for the exact name of the movie, so I get single, corrupted BUT NOT SELECTED record in the list. Then I click on the empty space on the left tree view, then use CTRL+A to select problematic record, and then pres delete+CTRL on my keyboard to delete problematic record. That way I can again access my database.

This problem is only for IMDb. Allmovie, Rottentomatoes and FilmAffinity work without problem to import data for these movies.

It's not about IMDb script also, because in new database it works without problem for this movie, so it's something with the database. Do you have any idea how would I start to track the problem? What would you do if you had such a situation?

86
Support / Re: Allmovie.com https
« on: February 10, 2022, 02:57:29 pm »
Thank you for clear explanation!

87
Support / Re: Allmovie.com https
« on: February 09, 2022, 03:07:28 am »
Thank you Ivek for a lot of work! Can you please explain if some of these script is cumulative, or we have to have them all and run them all separately in order to get maximu data? Thank youin advance.

88
Support / Re: IMDb [EN][HTTPS](series) issues and support
« on: February 09, 2022, 02:59:17 am »
Thank you Ivek. I will try this!

89
Support / Re: IMDB_[EN][HTTPS].psf
« on: February 09, 2022, 02:58:00 am »
Hello.

Can someone please check if these 2 links can be imported to PVD:

https://www.imdb.com/title/tt3118664/

https://www.imdb.com/title/tt0298045/

Thank you in advance!

IMPORTANT: TEST ONLY IN NEW/EMPTY DATABASE OR IF THE LINKS DON'T WORK YOU MAY CORRUPT YOUR DATABASE!!!

90
Support / Re: IMDb [EN][HTTPS](series) issues and support
« on: December 09, 2021, 12:35:53 am »
Also, IMDB_Series-year custom field doesn't import category and year as it did until recent layout changes.

91
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???

92
Support / Re: Allmovie.com https
« on: December 08, 2021, 08:32:58 pm »

93
Support / Re: Allmovie.com https
« on: December 07, 2021, 01:12:45 am »
Hello Ivek. i know you are very busy at the moment, but just for your notice: AllMovie Synopsis: custom field looks like doesn't import anything, nor synopsis is imported to Description field. Is it only with me, or someone else can confirm too?

94
Support / Re: IMDb [EN][HTTPS](episodes) issues and support
« on: December 06, 2021, 09:45:17 pm »
Thank you!

95
Support / Re: New changes on ImdB made PVD 1.0.2.7 Unusable
« on: December 06, 2021, 09:40:39 pm »
Dear ivek,

Thanks for the tips. As usual, they were invaluable.

After experimenting and in order to get in Tree view English title and Original title, as well as Localized title in a List view of my personal skin, I had to make these changes (and only this combination works for me).

Instead of:
Quote
102  GET_ORIGINAL_TITLE  = True ;  //Download the alternate title info in your language in your country in of the principal movie page if it exists there for to replace the original title in the Title field. 
103 //  GET_ORIGINAL_TITLE  = False ;  //Download the alternate title info in your language in your country in of the principal movie page if it exists there for to replace the original title in the Title field.

it has to be:
Quote
102  //  GET_ORIGINAL_TITLE  = True ;  //Download the alternate title info in your language in your country in of the principal movie page if it exists there for to replace the original title in the Title field. 
103 GET_ORIGINAL_TITLE  = False ;  //Download the alternate title info in your language in your country in of the principal movie page if it exists there for to replace the original title in the Title field.

Instead of:
Quote
719 //AddCustomFieldValueByName('Localized title',titleValue);

it has to be:
Quote
719 AddCustomFieldValueByName('Localized title',titleValue);

And, instead of:
Quote
1386      AddCustomFieldValueByName('English title',Role);
1387      //AddFieldValueXML('title',Role);

it has to be:
Quote
1386      //  AddCustomFieldValueByName('English title',Role);
1387      AddFieldValueXML('title',Role);

Important note: I have included line numbers in order to easier find the code, those line numbers aren't part of the code. Hopefully this will be helpful to at least someone else.

Thank you so much for your patience and good will.

Best regards

96
Support / Re: IMDb [EN][HTTPS](episodes) issues and support
« on: December 06, 2021, 01:45:38 am »
Hello Ivek. Am i wrong or "Episode aired" field is still not working?

97
Support / Re: New changes on ImdB made PVD 1.0.2.7 Unusable
« on: December 06, 2021, 01:36:05 am »
Thanks a lot Ivek. I am currently testing and customizing the script (max values mostly), but please confirm if I understood you well: it's not possible with the script to import English title to a standard Title field, it's only possible if I do it manually by copying/pasting it from AKA field to Title field?

I am asking, because I just don't know non-English movies by their original, or localized title. I know them only by their English title, and I would like to have in Tree view "%N. %T (%O)" where %T would be English title. That way I could recognize movie only by scrolling Tree view, but at the moment I have to click movie by movie to check which one that was, and that is way too slow.

For example, when I am not logged in on IMDb and I go to https://www.imdb.com/title/tt8228288/ with my country IP I see English title as main, and original title too. But, when I import it to PVD with the script, then somehow Title and original title are the same. Why can't I import it as it is in browser?


Best regards

98
Support / Re: New changes on ImdB made PVD 1.0.2.7 Unusable
« on: November 30, 2021, 01:27:44 am »

You made a mistake when you renamed the old custom field to Imdb-TechSpecs. So you have this problem now. Information for Runtime, Sound Mix, Color, Aspect Ratio and nothing more is downloaded to the Imdb-TechSpecs custom box. The full TechSpecs information is transferred to the ImdbTechSpecs custom field. Rename the custom field back to the old name, it may then transfer the information correctly.


That was it, thank you!

I hope you will help me 2 more questions.

in the script code, I found:
Quote
If (Length(ItemValue)=0) Then ItemValue:=titleValue;                           //Provider hides the original title if same that title. WEB_SPECIFIC

Is there a way to unhide both origtitle and title when they're the same?

And maybe the biggest challenge for me. Is it possible to get/import English (International) title to a Title field while at the same time importing Localized Title too? Or to some other custom field for example?

99
Support / Re: New changes on ImdB made PVD 1.0.2.7 Unusable
« on: November 27, 2021, 11:33:31 am »
A new archiving/cleanup of a Scripts folder already scheduled, hahah. Thanks.

One question:  I have 2 fields in my skin. One is standard Features, and the other is custom IMDb Tech Specs field. Until recently all specs were filled in that custom field, and now the scripts fills Features field only. How can I customize the script so it would fill custom field again (or both), because otherwise I should update ~7k movies movies which is very cumbersome... I renamed old custom field to Imdb-TechSpecs already, if that matters. Maybe it's then when the script started to fill Features field only?

Thanks in advance for your advise!

100
Support / Re: Allmovie.com https
« on: November 27, 2021, 11:26:19 am »

That was really fast, thank you so much!

Pages: 1 2 3 4 [5] 6 7 8 9 10 ... 23
anything