Author Topic: Imdb Movie Script for Additional Information  (Read 24382 times)

0 Members and 2 Guests are viewing this topic.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2711
    • View Profile
Imdb Movie Script for Additional Information
« on: June 24, 2013, 08:14:29 pm »
Imdb Movie Script for Additional Information

Additional Information Imdb Movie Script is to transfer of information only from Imdb Main Details page.

Currently it works:
  • search results
and data transfer:
  • URL
  • Imdb rating
  • Imdb votes
  • ImdbID
  • Top 250
and more data transfer:
  • Title (title, original title and year)
  • Language (all language)
  • Release Date (release date and country - Imdb Main Details page)
  • Studio (all)
  • Runtime (Imdb Main Details page)
  • Aspect Ratio

Added is also URL links to the some Additional Imdb sites.



For the  "URL" ,  "Imdb rating" ,  "Studio" ,  "Original title"  and  "Original Language"  transfer of information is the standard field,

Data transfer for standard field:

  • URL (standard "URL" field)
  • Imdb rating (standard "Imdb rating" field)
  • Studio (standard "Studio" field)
  • Original title (standard "Original title" field)
  • Language (standard "Original Language" field)

the rest is transfer of information in custom fields:


Imdb data:                                           custom field:
---------------                                       -------------------

Imdb votes                                           IMDB Votes      
ImdbID                                                 IMDbID
Top 250                                                Top 250:
Title
 (title, original title and year)              Imdb Title
Language
 (all language)                                      Language:
Release Date
 (release date and country
 - Imdb Main Details page)                   Imdb Release Date
Runtime
(Imdb Main Details page)                    Imdb Runtime
Aspect Ratio                                          Imdb Aspect Ratio


Notice:
Custom field Imdb votes and Top 250:  is or should be the same as described in Imdb plugin settings.



Imdb Additional Movie Information Script is attached.



For guests :
There below is a link to the Russian part of the forum where you can get IMDB Movie(Additional scripts) 7z file.

http://www.videodb.info/forum_ru/index.php/topic,430.msg14639.html#msg14639



[attachment deleted by admin]
« Last Edit: March 30, 2014, 01:53:52 pm by Ivek23 »
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2711
    • View Profile
Re: Imdb Movie Script for Additional Information
« Reply #1 on: June 30, 2013, 12:39:37 pm »
Additional Information Imdb Movie(1) Script is to transfer of information from Imdb Main Details page, Combined, Release Dates and Technical Specifications Imdb page.

Currently it works:
  • search results
and data transfer:
  • URL
  • Imdb rating
  • Imdb votes
  • ImdbID
  • Top 250
and more data transfer:
  • Title (title, original title and year)
  • Language (all language)
  • Release Date (release date and country - Imdb Main Details page)
  • TV Series & etc ...
  • Studio (all)
  • Runtime (Imdb Main Details page)
  • Sound Mix
  • Color
  • Aspect Ratio
and more additional data transfer:
  • Aka (all)
  • Release Dates (release date and country - all)
  • Technical Specifications
  • Business Page
    • Production Dates
    • Filming Dates
    • Copyright Holder
  • Tagline (all)
  • MPAA
  • Country MPAA Certification

Added is also URL links to the some Additional Imdb sites.



For the  "URL" ,  "Imdb rating" ,  "AKA" ,  "Tagline" ,  "Studio" ,  "Original title" ,  "Year"  and  "MPAA"  transfer of information is the standard field,

Data transfer for standard field:

  • URL (standard "URL" field)
  • Imdb rating (standard "Imdb rating" field)
  • Studio (standard "Studio" field)
  • Original title (standard "Original title" field)
  • Year (standard "Year" field)
  • AKA (standard "AKA" field)
  • Tagline (standard "Tagline" field)
  • MPAA (standard "MPAA" field)

the rest is transfer of information in custom fields:


Imdb data:                                           custom field:
---------------                                       -------------------

Imdb votes                                           IMDB Votes      
ImdbID                                                 IMDbID
Top 250                                                Top 250:
Title
 (title, original title and year)              Imdb Title
Language
 (all language)                                      Language:
Release Date
 (release date and country
 - Imdb Main Details page)                  Imdb Release Date
Runtime
(Imdb Main Details page)                    Imdb Runtime
Aspect Ratio                                          Imdb Aspect Ratio

TV Series & etc ...                                 Tv
Sound Mix                                              Sound Mix:
Color:                                                     Imdb Color

Release Date
 (release date and country - all)            Release dates
Aka (all)                                                 Imdb Aka
Technical Specifications                         Technical Specs:
Production Dates                                     Production Dates
Filming Dates                                          Filming Dates
Copyright Holder                                     Copyright Holder
MPAA                                                       Imdb MPAA
Runtime (all)                                           Imdb Runtime1
Country MPAA Certification (all)            MPAA:


Notice:
Custom field Sound Mix: , Imdb Color, Imdb votes and Top 250:  is or should be the same as described in Imdb plugin settings.



More detail is here.



Imdb Additional Movie Information(1) Script is attached.



For guests :
There below is a link to the Russian part of the forum where you can get IMDB Movie(Additional scripts) 7z file.

http://www.videodb.info/forum_ru/index.php/topic,430.msg14639.html#msg14639


[attachment deleted by admin]
« Last Edit: March 30, 2014, 01:53:24 pm by Ivek23 »
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2711
    • View Profile
Re: Imdb Movie Script for Additional Information
« Reply #2 on: June 30, 2013, 12:40:07 pm »
IMDB Movie(Additional scripts)

Individual script for the following additional Imdb page:

The package contains in addition to the already presented:

  • Technical Specifications
  • Release Dates
also the above-mentioned here:
  • Taglines
  • Soundtracks
and the remaining:
  • Combined(cast&combined)
  • Combined
  • External Sites
    • Miscellaneous Sites
    • Photographs
  • Parents Guide

Each script is transferred:
  • url
  • transfer the desired information with certain additional IMDB page

IMDB Movie(Additional scripts) is attached to 7z format.

Details is found in IMDB Movie(Additional scripts) details Part 1, IMDB Movie(Additional scripts) details Part 2 and IMDB Movie(Additional scripts) details Part 3.



More detail is here.



For guests :
There below is a link to the Russian part of the forum where you can get IMDB Movie(Additional scripts) 7z file.

http://www.videodb.info/forum_ru/index.php/topic,430.msg14639.html#msg14639


[attachment deleted by admin]
« Last Edit: July 07, 2014, 03:23:19 pm by Ivek23 »
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2711
    • View Profile
Re: Imdb Movie Script for Additional Information
« Reply #3 on: September 05, 2013, 08:22:36 pm »
Release Dates Imdb page individual script

Individual script for the following additional Imdb page:
  • Release Dates
Imdb Movie(releaseinfo) script is to transfer of information only from Imdb Release Dates page.



Imdb Movie(releaseinfo) script

Currently it works:
  • search results
and data transfer:
  • Aka
  • Release Dates (release date and country)


Individual script for Release Dates Imdb page is data transfer for:
  • Aka (standard "Aka" field)
  • Release Dates (custom "Release dates" field)
  • Aka (custom "Imdb Aka" field)
Custom "Imdb Aka" field  is disabled.

Notice:
Script it is best to use for existing Imdb movie URLs which have been stored in the Databases. New URLs script does not save.




Imdb Movie(releaseinfo) script is attached.



For guests :
There below is a link to the Russian part of the forum where you can get IMDB Movie(Additional scripts) 7z file (Imdb Movie(releaseinfo) script).

http://www.videodb.info/forum_ru/index.php/topic,430.msg14639.html#msg14639
« Last Edit: March 30, 2014, 01:57:02 pm by Ivek23 »
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2711
    • View Profile
Re: Imdb Movie Script for Additional Information
« Reply #4 on: September 07, 2013, 07:40:10 pm »
Technical Specifications Imdb page individual script

Individual script for the following additional Imdb page:
  • Technical Specifications

Imdb Movie(tech specs) script is to transfer of information only from Imdb Technical Specifications page.



Imdb Movie(tech specs) script

Currently it works:
  • search results
and data transfer:
  • Technical Specifications


Individual script for Technical Specifications Imdb page is data transfer for:
  • Technical Specifications (custom "Technical Specs:" field)
Notice:
Custom field Technical Specs:  is or should be the same as described in Imdb plugin settings.

Script it is best to use for existing Imdb movie URLs which have been stored in the Databases. New URLs script does not save.




Imdb Movie(tech specs) script is attached.



For guests :
There below is a link to the Russian part of the forum where you can get IMDB Movie(Additional scripts) 7z file (Imdb Movie(tech specs) script).

http://www.videodb.info/forum_ru/index.php/topic,430.msg14639.html#msg14639
« Last Edit: January 07, 2017, 09:09:52 am by Ivek23 »
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline facinlaburo

  • Member
  • *
  • Posts: 12
    • View Profile
Re: Imdb Movie Script for Additional Information
« Reply #5 on: September 10, 2013, 11:02:50 pm »
Thanks Ivek, you're really grosso.
In the tech specs script I changed the name of the custom field to "Datos Técnicos" and it works OK.
The standard AKA field is now filled OK with the releaseinfo script.
Great improvement for me.

Offline afrocuban

  • Moderator
  • *****
  • Posts: 468
    • View Profile
Re: Imdb Movie Script for Additional Information
« Reply #6 on: September 11, 2013, 02:08:32 pm »
Is this needed because IMDb plugin wasn't updated? If that was the case, does that mean techspecs won't be included in IMDb plugin anymore?

So, if that is the case, once again, is it possible, Ivek, to make a batch file, so called IMDb-all-in-one, and to update it, too? It's hard for a regular user to track which fields are included and which aren't in IMDb plugin. Especially because when IMDb tech specs were included in IDMb plugin, all of us gave different name to a custom field (for example, I gave it a name "IMDb Tech Specs"), so whenever you update this script, I have to edit it to change correspondent custom field name, or to change a skin I use to accommodate appropriate techspecs field name and to run the script again, right?

Thanks in advance!
« Last Edit: September 11, 2013, 02:13:35 pm by afrocuban »

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2711
    • View Profile
Re: Imdb Movie Script for Additional Information
« Reply #7 on: September 11, 2013, 08:11:10 pm »
Is this needed because IMDb plugin wasn't updated?

Of course, by the time that as long as Nostra not fix Imdb plugin. It can also be used to update only techspecs without updating the rest of the data. I'll use the script to update only techspecs data for about 500 movies in more Databases.

If that was the case, does that mean techspecs won't be included in IMDb plugin anymore?

No, it's not, I think it will not happen.

So, if that is the case, once again, is it possible, Ivek, to make a batch file, so called IMDb-all-in-one, and to update it, too?

No, not a problem, imdb+Imdb Movie(tech specs) Batch file is created and attached in  zip  and  7z  format.

It's hard for a regular user to track which fields are included and which aren't in IMDb plugin. Especially because when IMDb tech specs were included in IDMb plugin, all of us gave different name to a custom field (for example, I gave it a name "IMDb Tech Specs"), so whenever you update this script, I have to edit it to change correspondent custom field name, or to change a skin I use to accommodate appropriate techspecs field name and to run the script again, right?

It is true that after each update script to change the name of techspecs custom fields. An easier way to change the name [enter your name ("IMDb Tech Specs") for techspecs custom field] techspecs for custom fields is to just open the script with Notepad and change this part of code

Code: [Select]
//if fullinfo <> '' then AddCustomFieldValueByName('Technical Specs:', fullinfo);
if fullinfo <> '' then AddCustomFieldValueByName('IMDb Tech Specs', fullinfo);

  curPos := EndPos;
end;

end;

procedure ParseSearchResults(HTML : String);

and all the work is done without further intervention in the skin.

That's all you will need to do, when the new update for script.
« Last Edit: September 13, 2013, 03:56:18 am by Ivek23 »
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline afrocuban

  • Moderator
  • *****
  • Posts: 468
    • View Profile
Re: Imdb Movie Script for Additional Information
« Reply #8 on: September 11, 2013, 08:27:44 pm »
Thanks a lot Ivek. You're cool as usual.  8)

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2711
    • View Profile
Re: Imdb Movie Script for Additional Information
« Reply #9 on: September 12, 2013, 05:35:45 am »
Thanks a lot Ivek. You're cool as usual.  8)

Thank you very much.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline firefox

  • Member
  • *
  • Posts: 10
    • View Profile
Re: Imdb Movie Script for Additional Information
« Reply #10 on: October 18, 2013, 01:44:25 pm »
Many thanks Ivek for a great script.
I want to add a custom item (ex.: Series) like Studio item but it open url in browser when click on text.
I can get url and text for 'Series' from script but cannot make it open url in browser when click on text.
Can you help me to write a script to do that?
Thank you for your help.
« Last Edit: October 18, 2013, 02:22:46 pm by firefox »

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2711
    • View Profile
Re: Imdb Movie Script for Additional Information
« Reply #11 on: October 19, 2013, 07:25:18 am »
Many thanks Ivek for a great script.

Thanks.

I want to add a custom item (ex.: Series) like Studio item but it open url in browser when click on text.
I can get url and text for 'Series' from script but cannot make it open url in browser when click on text.
Can you help me to write a script to do that?
Thank you for your help.

Why do you need this?
Can you describe a little bit more, and backed up by pictures. because I can not exactly figure out what you have in mind. Then it easier to reply and help you solve the problem. If you have already made ​​a draft of the script, add it to the post to see it, then it will be easier to continue.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2711
    • View Profile
Re: Imdb Movie Script for Additional Information
« Reply #12 on: October 23, 2013, 07:12:58 am »
Would this be helpful.
Example code for the custom field with a url link to a web page when you click on the text that is displayed in a custom box.

Code for TV Movie, TV Mini Series, TV Series, TV Episode, Video etc ...
Code: [Select]
//~TV Series & etc ... ~
curPos := PosFrom('<div class="infobar">', HTML, EndPos);
if curPos > 0 then begin
    curPos := curPos + Length('<div class="infobar">');
EndPos := PosFrom('-', HTML, curPos);
if (EndPos < 1) OR (EndPos > PosFrom('<span title="', HTML, curPos)) then
EndPos := PosFrom('<span title="', HTML, curPos);
if (EndPos < 1) OR (EndPos > PosFrom('<time', HTML, curPos)) then
EndPos := PosFrom('<time', HTML, curPos);
// TmpStr2 := Trim(Copy(HTML, curPos, endPos - curPos));
TmpStr2 := RemoveTags(Trim(Copy(HTML, curPos, endPos - curPos)), false);
TmpStr2 := StringReplace(TmpStr2, '                                                                         -', '', True, True, False);
TmpStr2 := StringReplace(TmpStr2, '            ', '', True, True, False);
// if TmpStr2 <> '' then AddCustomFieldValueByName('Tv2', TmpStr2);
if TmpStr2 <> '' then AddCustomFieldValueByName('Tv2', '<link url="' + MovieURL + '">' + TmpStr2 + '</link>');
end;
« Last Edit: December 06, 2013, 09:00:04 pm by Ivek23 »
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2711
    • View Profile
Re: Imdb Movie Script for Additional Information
« Reply #13 on: March 29, 2014, 03:39:46 pm »
Release Dates Imdb page individual script

It was made a small correction.

Imdb Movie(releaseinfo) script is attached in fourth post.

Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2711
    • View Profile
Re: Imdb Movie Script for Additional Information
« Reply #14 on: March 29, 2014, 07:59:22 pm »
IMDB Movie(Additional scripts) is found here.



IMDB Movie(Additional scripts) details:

Part 1:


Individual script for the following additional Imdb page:

The package contains in addition to the already presented:

  • Technical Specifications
  • Release Dates

Technical Specifications details is here:
Release Dates details is here:



Also the above-mentioned here:
  • Taglines
  • Soundtracks

Taglines details

Taglines Imdb page individual script

Individual script for the following additional Imdb page:
  • Taglines
Imdb Movie(taglines) script is to transfer of information only from Imdb Taglines page.



Imdb Movie(taglines) script

Currently it works:
  • search results
and data transfer:
  • Taglines


Individual script for Taglines Imdb page is data transfer for:
  • Taglines (standard "Taglines" field)



Soundtracks details

Soundtracks Imdb page individual script

Individual script for the following additional Imdb page:
  • Soundtracks
Imdb Movie(soundtrack) script is to transfer of information only from Imdb Soundtracks page.



Imdb Movie(soundtrack) script

Currently it works:
  • search results
and data transfer:
  • Soundtracks


Individual script for Soundtracks Imdb page is data transfer for:
  • Soundtracks (custom "Imdb Soundtracks" field)
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2711
    • View Profile
Re: Imdb Movie Script for Additional Information
« Reply #15 on: March 30, 2014, 12:35:40 pm »
IMDB Movie(Additional scripts) is found  here.



IMDB Movie(Additional scripts) details:

Part 2:


Individual script for the following additional Imdb page:

The package contains in addition to the remaining:

  • Combined(cast&combined)
  • Combined
  • Parents Guide

Combined details for the two below mentioned script
  • Combined(cast&combined)
  • Combined

Combined details

Combined Imdb page individual scripts

Individual script for the following additional Imdb page:
  • Combined(cast&combined)
  • Combined
Imdb Movie(cast&combined) script and Imdb Movie(combined) is to transfer of information only from Imdb Combined page.



Imdb Movie(cast&combined) script and Imdb Movie(combined) script

Currently it works:
  • search results
and data transfer:
  • Full cast and crew
    • Directors
    • Writers
    • Producers
    • Original Music
    • Cinematography
    • Film Editing
    • Casting
    • Production Design
    • Art Direction
    • Set Decoration
    • Costume Design
    • Production Management
    • Second Unit Director or Assistant Director
  • Combined
    • Imdb MPAA Certification
    • Additional Details
      • MPAA
      • Runtime
      • Country MPAA Certification
        • Australia MPAA Certification
        • Canada MPAA Certification
        • Italy MPAA Certification
        • Ireland MPAA Certification
        • USA MPAA Certification
        • UK MPAA Certification



Individual script for Combined Imdb page is data transfer for:

  • Full cast and crew (custom "Imdb Full cast and crew" field)
    • Directors (custom "Imdb Directed" field)
    • Writers (custom "Imdb Writers" field)
    • Producers (custom "Imdb Producers" field)
    • Original Music (custom "Imdb Original Music" field)
    • Cinematography (custom "Imdb Cinematography" field)
    • Film Editing (custom "Imdb Film Editing" field)
    • Casting (custom "Imdb Casting" field)
    • Production Design (custom "Imdb Production Design" field)
    • Art Direction (custom "Imdb Art Direction" field)
    • Set Decoration (custom "Imdb Set Decoration" field)
    • Costume Design (custom "Imdb Costume Design" field)
    • Production Management (custom "Imdb Production Management" field)
    • Second Unit Director or Assistant Director (custom "Imdb Second Unit Director or Assistant Director" field)
  • Combined
    • Imdb MPAA Certification (custom "Imdb rate2" field)
    • Additional Details
      • MPAA (custom "Imdb MPAA" field)
      • Runtime (custom "Imdb Runtime1" field)
      • Country MPAA Certification (custom "MPAA:" field)
        • Australia MPAA Certification (custom "Imdb rate" field)
        • Canada MPAA Certification (custom "Imdb rate5" field)
        • Italy MPAA Certification (custom "Imdb rate0" field)
        • Ireland MPAA Certification (custom "Imdb rate1" field)
        • USA MPAA Certification (custom "Imdb rate3" field)
        • UK MPAA Certification (custom "Imdb rate4" field)



Parents Guide details

Parents Guide Imdb page individual script

Individual script for the following additional Imdb page:
  • Parents Guide
Imdb Movie(parentsguide) script is to transfer of information only from Imdb Parents Guide page.



Imdb Movie(parentsguide) script

Currently it works:
  • search results
and data transfer:
  • MPAA
  • Country MPAA Certification



Individual script for Parents Guide Imdb page is data transfer for:
  • MPAA (custom "Imdb MPAA" field)
  • Country MPAA Certification (custom "MPAA:" field)
« Last Edit: May 22, 2014, 05:50:53 pm by Ivek23 »
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2711
    • View Profile
Re: Imdb Movie Script for Additional Information
« Reply #16 on: March 30, 2014, 01:12:05 pm »
IMDB Movie(Additional scripts) is found  here.



IMDB Movie(Additional scripts) details:

Part 3:


Individual script for the following additional Imdb page:

The package contains in addition to the remaining:

  • External Sites
    • Miscellaneous Sites
    • Photographs

External Sites details

External Sites Imdb page individual script

Individual script for the following additional Imdb page:
  • External Sites
Imdb Movie(misclinks) script and Imdb Movie(pmisclinks) script is to transfer of information only from Imdb External Sites page.



Imdb Movie(misclinks) script and Imdb Movie(pmisclinks) script

Currently it works:
  • search results
and data transfer:
  • External Sites
    • Miscellaneous Sites
    • Photographs



Individual script for External Sites Imdb page is data transfer for:
  • External Sites
    • Miscellaneous Sites (custom "Imdb Links" field)
    • Photographs (custom "Imdb Photo Links:" field)
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2711
    • View Profile
Re: Imdb Movie Script for Additional Information
« Reply #17 on: March 30, 2014, 05:06:40 pm »
Imdb Movie(misclinks) script and Imdb Movie(pmisclinks) script is to transfer of information only from Imdb External Sites page.

Added only a few url links to some important and interesting web pages (links only to secure web pages, links, but not to non-functioning or blocked, suspicious and unwanted web pages [blocked, suspicious and unwanted web pages - antivirus protection]), where to find additional movie information as well as some screenshots and posters of movies.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


 

anything