English > Scripts and Templates
AllRovi movie script
Ivek23:
--- Quote from: minolotus on July 21, 2011, 08:31:46 pm ---
--- Quote from: Ivek23 on July 16, 2011, 08:17:17 pm ---The annex was also added in txt format Rovi Fields list
--- End quote ---
--- End quote ---
Open the WordPad or anything else, because they might be some changes, as it is written in txt format Rovi Fields list.
rick.ca:
--- Quote ---The annex was also added in txt format Rovi Fields list
--- End quote ---
This has been added to the script itself—as part of it's "self-documentation." We'll maintain it there.
--- Code: ---FIELD USE:
Rovi data: PVD field: Type:
AMG ID AMG WID short text
Category Work type multiselect list
Cast Cast memo
Characteristics Characteristics memo
Country mfCountry standard multiselect list *
Director mfDirector standard multiselect list *
Flags Flags multiselect list
Run time Run time number
Genres mfGenres standard multiselect list *
MPAA rating MPAA rating short text
Produced mfStudio standard short string *
Production(crew) Production memo
Rovi rating Rovi rating rating
Review Review memo
Release date Released short text (multiple dates)
OR Released Released short text (more common single date)
Releases mfFeature standard memo (link to Rovi Releases tab saved)
OR DVDs RoviLink memo (link each Rovi DVD page saved)
Released by Released by short text
Synopsis mfDescription standard memo
Sub-Genres Types multiselect list
Title mfTitle standard short text
Year mfYear standard number
OR Year short string (or revise code to save as integer)
Themes Themes multiselect list
OR mfCategory standard multiselect list (RICK_CA option)
Updated Updated long text
URL mfURL standard memo *
* In many cases where data is saved to a standard field,
the script also saves the data to custom field of the same name.
This allows a number of options:
1. Use the data saved to the standard field (normally the default) and ignore the custom field.
Data saved to a non-existent custom field goes nowhere.
2. Ignore the data entirely by disabling the standard field in the "Overwrite fields" options.
3. Add the custom field to PVD and disable the standard field so it's free for use by another plugin or script.
These optional custom fields are named the same as their standard counterparts.
To avoid confusion, you may wish to rename them (i.e., in the script, in PVD and your skin).
For example, change "Year" to "Rovi Year"--so as to not be confused with the standard field used by another source.
--- End code ---
Hopefully it will be clear—maybe from the notes at the bottom—this is only meant to point the user in the right direction. There's no avoiding the inherent complexity involved in getting data from a secondary source (most of us will get data from Rovi in addition to a primary source like IMDb). The user must decide what information they want and were to put it. This will very likely involve modifying the script to suit their personal preferences. This is one of the reasons for providing a scripting engine—so options, fields used and minor modifications can be made directly to the script by the user. Other than the standard Overwrite fields options, no script options are available in the UI.
RazorHall:
Hey guys, thanks for your hard work on this script. I'm having some problems, though. When I add a new movie, I'm getting information in most fields, but I'm not getting the Rovi Rating, cast, or run time. I've made no changes to the script itself and made sure that the appropriate boxes are selected in the "overwrite fields" section. Any idea what might be keeping the above info from being downloaded?
rick.ca:
--- Quote ---but I'm not getting the Rovi Rating, cast, or run time.
--- End quote ---
These all require custom fields. Have you added them to the database (at Preferences>Movies>Custom items)? Are they of the right type (rating, memo and number)?
RazorHall:
--- Quote from: rick.ca on July 22, 2011, 06:57:16 pm ---These all require custom fields.
--- End quote ---
Oh, okay. So, why are the custom fields needed instead of that info going into the Additional Rating, Actors, and Duration fields as they did with the old AllMovie script? If this can be explained in simple terms, anyway. ;)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version