Personal Video Database
English => Development => Scripts and Templates => Topic started by: Ivek23 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:
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]
-
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:
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. (http://www.videodb.info/forum_en/index.php/topic,3370.msg17051.html#msg17051)
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]
-
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: (http://www.videodb.info/forum_en/index.php/topic,3370.msg17088.html#msg17088)
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 (http://www.videodb.info/forum_en/index.php/topic,3382.msg18360.html#msg18360), IMDB Movie(Additional scripts) details Part 2 (http://www.videodb.info/forum_en/index.php/topic,3382.msg18362.html#msg18362) and IMDB Movie(Additional scripts) details Part 3 (http://www.videodb.info/forum_en/index.php/topic,3382.msg18363.html#msg18363).
More detail is here. (http://www.videodb.info/forum_en/index.php/topic,3370.msg17088.html#msg17088)
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]
-
Release Dates Imdb page individual script
Individual script for the following additional Imdb page:
Imdb Movie(releaseinfo) script is to transfer of information only from Imdb Release Dates page.
Imdb Movie(releaseinfo) script
Currently it works:
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
-
Technical Specifications Imdb page individual script
Individual script for the following additional Imdb page:
Imdb Movie(tech specs) script is to transfer of information only from Imdb Technical Specifications page.
Imdb Movie(tech specs) script
Currently it works:
and data transfer:
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
-
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.
-
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!
-
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
//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.
-
Thanks a lot Ivek. You're cool as usual. 8)
-
Thanks a lot Ivek. You're cool as usual. 8)
Thank you very much.
-
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.
-
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.
-
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 ...
//~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;
-
Release Dates Imdb page individual script
It was made a small correction.
Imdb Movie(releaseinfo) script is attached in fourth post (http://www.videodb.info/forum_en/index.php/topic,3382.msg17193.html#msg17193).
-
IMDB Movie(Additional scripts) is found here (http://www.videodb.info/forum_en/index.php/topic,3382.msg17093.html#msg17093).
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: (http://www.videodb.info/forum_en/index.php/topic,3382.msg17197.html#msg17197)
Release Dates details is here: (http://www.videodb.info/forum_en/index.php/topic,3382.msg17193.html#msg17193)
Also the above-mentioned here: (http://www.videodb.info/forum_en/index.php/topic,3370.msg17088.html#msg17088)
Taglines details
Taglines Imdb page individual script
Individual script for the following additional Imdb page:
Imdb Movie(taglines) script is to transfer of information only from Imdb Taglines page.
Imdb Movie(taglines) script
Currently it works:
and data transfer:
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:
Imdb Movie(soundtrack) script is to transfer of information only from Imdb Soundtracks page.
Imdb Movie(soundtrack) script
Currently it works:
and data transfer:
Individual script for Soundtracks Imdb page is data transfer for:
- Soundtracks (custom "Imdb Soundtracks" field)
-
IMDB Movie(Additional scripts) is found here (http://www.videodb.info/forum_en/index.php/topic,3382.msg17093.html#msg17093).
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:
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:
Imdb Movie(parentsguide) script is to transfer of information only from Imdb Parents Guide page.
Imdb Movie(parentsguide) script
Currently it works:
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)
-
IMDB Movie(Additional scripts) is found here (http://www.videodb.info/forum_en/index.php/topic,3382.msg17093.html#msg17093).
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:
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:
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)
-
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.