English > Scripts and Templates

AllMovie+(Ivek23)

(1/3) > >>

Ivek23:
The AllMovie site has been replaced by AllRovi.
See AllRovi movie script for Scripts and Templates board.
Post it now in AllRovi movie script for Support board.


Here is my version and

AllMovie + (Ivek23) script.


--- Code: ---CUSTOM FIELD mappings
--- End code ---


--- Code: ---
//  %* ALLMOVIE CAPTION PVD FIELD FIELD TYPE

// Production Credits Tab      Production memo
// Review Tab Review memo
//  99 Run time Original duration number
//  98 Work rating AllMovie rating rating
//  52 Attributes Attributes multiselect list
//  70 MPAA + MPAA Reasons Mpaa rate memo
//  99 Category Work type select list
//  99 Color type Color type select list
//  99 Types Types multiselect list
//  93 Flags Flags multiselect list
//  99 Keywords Keywords memo
//  97 Themes Category memo
//  98 Tones Tones memo
//  74 Moods Moods multiselect list
//  20 From book (or story) Book short text
//  42 Set in Set in multiselect list
//  89 Box office Money short text
//  99 Produced by Studios memo
//  49 Release (or Premiere) Released short text
//  60 Released by Released by memo
//   0   (Date) Updated short text

--- End code ---



--- Code: ---Percent present in Ivek23's personal database
--- End code ---

[attachment deleted by admin]

Ivek23:
Custom items in this list and work.

rick.ca:
Just so others are not confused...This is not a fundamentally different version of my Allmovie+ script. It is, rather, an adaptation—in the manner my script was meant to be adapted.

As a modification of the nostra's original script, the general purpose of Allmovie+ is to make available as many additional data elements as possible. Following is the preamble in the script (it precedes the field mapping table presented above)...


--- Quote ---CUSTOM AND NON-STANDARD FIELD MAPPINGS

All custom fields are optional. All standard fields can be suppressed using Preferences-Plugins-Overwrite fields. If custom names are changed in PVD, they must also be changed where they occur in the body of this script. The type of custom field used is also somewhat a matter of personal preference. A list which is for viewing only will do just as well in a long text as a multiselect field.
--- End quote ---

It is up to the user of the script to decide what fields the additional data is written to—thus the mapping table in the documentation. Where the field type (standard vs. custom) is changed from the "default," it is necessary to modify the code in the script. For example, Ivek wants Allmovie's "Tones" to be written to a custom field Tones instead of the standard field Tags. So he has changed...

AddFieldValue(mfTags, HTMLValues(HTML, to
AddCustomFieldValueByName('Tones', HTMLValues(HTML,.

Ivek23:
I hope that the apology be accepted.

You are right is not new.Of course,therefore,my deep sorry for this great stupid
error.

BTW:
Other things I wanted to be helpful.

rick.ca:
No apology is necessary, Ivek. I just want others to understand it's one script that needs to be modified to suit the user's particular needs. I'm sorry I didn't thank you for demonstrating how that is done.

Navigation

[0] Message Index

[#] Next page

Go to full version