/* indiancine.ma Settings You can edit this file. */ { /* "annotations" configures the annotation panel. "showUsers": If true, include list of users in menu, so that annotations by specific users can be turned on and off */ "annotations": { "separator": ";", "showUsers": true }, /* "cantPlay" specifies the UI for clips or videos that a user is not allowed to play. "icon": Symbol name (see https://oxjs.org/#examples/symbols/live) "link": URL loaded on click (for example "/rights", if "rights" is defined in "sitePages") "text": Text shown on mouseover */ "cantPlay": { "icon": "NoCopyright", "link": "/rights", "text": "This movie is still under copyright." }, /* "capabilities" are permissions per user level. Depending on the capability, this is either global: {level: true} means a user of that level has the capability or related to the rights levels of items or texts: {level: x} means a user of that level has the capability for items or texts of a rights level up to and including x */ "capabilities": { "canAddItems": {"researcher": true, "staff": true, "admin": true}, "canAddDocuments": {"researcher": true, "staff": true, "admin": true}, "canDownloadVideo": {"guest": -1, "member": -1, "researcher": 3, "staff": 3, "admin": 3}, "canEditAnnotations": {"staff": true, "admin": true}, "canEditDocuments": {"researcher": true, "staff": true, "admin": true}, "canEditEntities": {"staff": true, "admin": true}, "canEditEvents": {"researcher": true, "staff": true, "admin": true}, "canEditFeaturedCollections": {"staff": true, "admin": true}, "canEditFeaturedEdits": {"staff": true, "admin": true}, "canEditFeaturedLists": {"staff": true, "admin": true}, "canEditFeaturedTexts": {"staff": true, "admin": true}, "canEditMedia": {"researcher": true, "staff": true, "admin": true}, "canEditMetadata": {"researcher": true, "staff": true, "admin": true}, "canEditPlaces": {"researcher": true, "staff": true, "admin": true}, "canEditRightsLevel": {"researcher": true, "staff": true, "admin": true}, "canEditSitePages": {"staff": true, "admin": true}, "canEditUsers": {"staff": true, "admin": true}, "canExportAnnotations": {"member": true, "researcher": true, "staff": true, "admin": true}, "canImportAnnotations": {"researcher": true, "staff": true, "admin": true}, // import needs to handle itemRequiresVideo=false first "canImportItems": {}, "canManageDocuments": {"member": true, "researcher": true, "staff": true, "admin": true}, "canManageEntities": {"member": true, "researcher": true, "staff": true, "admin": true}, "canManageHome": {"staff": true, "admin": true}, "canManagePlacesAndEvents": {"member": true, "researcher": true, "staff": true, "admin": true}, "canManageTitlesAndNames": {"member": true, "researcher": true, "staff": true, "admin": true}, "canManageTranslations": {"admin": true}, "canManageUsers": {"staff": true, "admin": true}, "canPlayClips": {"guest": 3, "member": 3, "researcher": 3, "staff": 3, "admin": 3}, "canPlayVideo": {"guest": 1, "member": 1, "researcher": 3, "staff": 3, "admin": 3}, "canReadText": {"guest": 0, "member": 0, "researcher": 1, "staff": 1, "admin": 1}, "canRemoveItems": {"staff": true, "admin": true}, "canRemoveDocuments": {"staff": true, "admin": true}, "canSeeAccessed": {"researcher": true, "staff": true, "admin": true}, "canSeeAllTasks": {"staff": true, "admin": true}, "canSeeDebugMenu": {"researcher": true, "staff": true, "admin": true}, "canSeeExtraItemViews": {"researcher": true, "staff": true, "admin": true}, "canSeeMedia": {"researcher": true, "staff": true, "admin": true}, "canSeeDocument": {"guest": 1, "member": 1, "researcher": 2, "staff": 3, "admin": 3}, "canSeeItem": {"guest": 3, "member": 3, "researcher": 3, "staff": 3, "admin": 3}, "canSeeSize": {"researcher": true, "staff": true, "admin": true}, "canSeeSoftwareVersion": {"researcher": true, "staff": true, "admin": true}, "canSendMail": {"staff": true, "admin": true} }, /* "clipKeys" are the properties that clips can be sorted by (the values are populated automatically). If "sortOperator" is not specified, it will be "+" (ascending) for strings and "-" (descending) for numbers. */ "clipKeys": [ {"id": "text", "title": "Text", "type": "string"}, {"id": "position", "title": "Position", "type": "float", "sortOperator": "+"}, {"id": "duration", "title": "Duration", "type": "float"}, {"id": "hue", "title": "Hue", "type": "float", "sortOperator": "+"}, {"id": "saturation", "title": "Saturation", "type": "float"}, {"id": "lightness", "title": "Lightness", "type": "float"}, {"id": "volume", "title": "Volume", "type": "float"} ], /* "clipLayers" is the ordered list of public layers that will appear as the text of clips (in grid view, below the icon). Excluding a layer from this list means it will not be included in find annotations. */ "clipLayers": ["subtitles", "keywords", "notes"], /* "documentKeys" defines the metadata associated with each document. Required keys are "*", "id" and "title". A documentKey must have the following properties: "id": The unique id of the key (as used by the server) "title": The title of the key (as displayed by the client) "type": Can be "boolean", "date", "enum", "float", "hue", "integer", "layer", "string", "text", "time" or ["..."] (list of values of this type). If type is "layer", this is a reference to the annotations layer with the same id. and can have any of the following properties: "additionalSort": Ordered list of {key, operator} objects, where key is another itemKey and operator is "+" or "-". This can be used to override user.ui.listSort when results are sorted by this key. "autocomplete": If true, the find element will provide autocomplete "autocompleteSort": Sort order of autocomplete suggestions "capability": A capability required to see data for this key "columnRequired": If true, the column can't be removed from list view "columnWidth": Default column width in px. If absent, no column for this key can be added in list view. "filter": If true, one can filter results by this key "find": If true, this key will appear as an option in the find element "flag": Can be "country" or "language". If set (and filter is true), a flag icon corresponding to the field's value will be displayed. "format": {type: string, args: [value, value, ...]}, used for special formatting. This will invoke Ox.formatType(args). For details, see https://oxjs.org/#doc/Ox.formatArea etc. "secondaryId": If true, loading the URL "/value" will redirect to the corresponding item, in case there is an exact match for this key "sort": If true, one can sort results by this key "sortOperator": Sort order ("+" or "-"), in case it differs from the default for the key's type ("+" for strings, "-" for numbers) "sortType": Special sort type ("person" or "title") which can be further configured in "Manage Names" or "Manage Titles" "value": {key: string, type: string} or {layer: string, type: string}, for keys whose value is derived from other keys or layers (like "number of actors" or "words per minute"). Possible values for type are "length", "lengthperminute", "words", and "wordsperminute". Alternatively, "value" can be set to the string "capability", which results in an itemKey whose boolean value indicates the presence or absence of a userLevel-dependent capability. This can be used to create queries and lists like "all items this user can play" etc. "values": [value, value, ...] Ordered list of values, in case "type" is "enum" */ "documentKeys": [ { "id": "*", "title": "All", "type": "text", "find": true }, { "id": "title", "operator": "+", "title": "Title", "type": "string", "find": true, "sort": true, "sortType": "title", "autocomplete": true, "columnWidth": 256 }, { "id": "type", "operator": "+", "title": "Type", "type": "string", "filter": true, "find": true, "sort": true, "autocomplete": true, "columnWidth": 128 }, { "id": "author", "operator": "+", "title": "Author", "type": ["string"], "filter": true, "find": true, "sort": true, "sortType": "person", "autocomplete": true, "columnWidth": 256 }, { "id": "publisher", "operator": "+", "title": "Publisher", "type": "string", "filter": true, "find": true, "sort": true, "autocomplete": true, "columnWidth": 256 }, { "id": "place", "title": "Place", "type": ["string"], "columnWidth": 128, "filter": true, "find": true, "sort": true }, { "id": "date", "title": "Date", "type": "string", "columnWidth": 120, //"format": {"type": "date", "args": ["%a, %b %e, %Y"]}, "sort": true }, { "id": "series", "title": "Series", "type": "string", "columnWidth": 128, "find": true, "sort": true }, { "id": "edition", "title": "Edition", "type": "string", "columnWidth": 128, "find": true }, { "id": "language", "title": "Language", "type": ["string"], "columnWidth": 128, "filter": true, "find": true, "sort": true }, { "id": "id", "operator": "+", "title": "ID", "type": "string", "sort": true, "columnWidth": 64 }, { "id": "extension", "operator": "+", "title": "Extension", "type": "string", "filter": true, "find": true, "sort": true, "autocomplete": true, "columnWidth": 64 }, { "id": "dimensions", "operator": "-", "title": "Dimensions", "type": "integer", "sort": true, "columnWidth": 128 }, { "id": "size", "operator": "-", "title": "Size", "type": "integer", "sort": true, "format": {"type": "value", "args": ["B"]}, "columnWidth": 64 }, { "id": "description", "operator": "+", "title": "Description", "type": "text", "find": true, "sort": true, "columnWidth": 256 }, { "id": "matches", "operator": "-", "title": "Matches", "type": "integer", "sort": true, "columnWidth": 64 }, { "id": "user", "operator": "+", "title": "User", "type": "string", "filter": true, "find": true, "sort": true, "autocomplete": true, "columnWidth": 128 }, { "id": "created", "operator": "-", "title": "Created", "format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]}, "type": "date", "sort": true, "columnWidth": 144 }, { "id": "modified", "operator": "-", "title": "Modified", "format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]}, "type": "date", "sort": true, "columnWidth": 144 }, { "id": "accessed", "title": "Last Accessed", "type": "date", "capability": "canSeeAccessed", "columnWidth": 150, "format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]}, "sort": true }, { "id": "timesaccessed", "title": "Times Accessed", "type": "integer", "capability": "canSeeAccessed", "columnWidth": 60, "format": {"type": "number", "args": []}, "sort": true }, { "id": "rightslevel", "title": "Rights Level", "type": "enum", "columnWidth": 90, "format": {"type": "ColorLevel", "args": [ ["Public", "Out of Copyright", "Under Copyright", "Private"] ]}, "sort": true, "sortOperator": "+", "values": ["Public", "Out of Copyright", "Under Copyright", "Private", "Unknown"] } ], /* "documentRightsLevel" defines which initial rights level will be assigned to documents created by users of these user levels. */ "documentRightsLevel": {"member": 0, "researcher": 0, "staff": 0, "admin": 0}, /* "documentRightsLevels" is an ordered list of rights levels, one of which will be assigned to each document. */ "documentRightsLevels": [ {"name": "Public", "color": [128, 255, 128]}, {"name": "Restricted", "color": [255, 212, 128]}, {"name": "Private", "color": [255, 128, 128]} ], /* "entities" can be used to store arbitrary data. They can be referenced in annotations, info view, or elsewhere. Each entry defines a specific class of entity object, its properties and their types (for example an "actor" with "name", "biography", "portrait" etc). The HTML representation for entities can be customized by adding "/static/js/entity.SITENAME.js". Each entity has the following properties: "id": Unique internal ID (can be referenced in "layers") "title": Human-readable title "keys": List of properties "sortType": Optional. If set to "person" or "title", then the sort order can be configured in "Manage Names" or "Manage Titles" Each key has the properties "id", "title" and "type". "type" can be "boolean", "number", "string", "text", "document" (reference to the id of a document added via "Manage Documents") or ["string"] (list of strings). "id" and "name" keys are required. If "alternativeNames" is present, these will act as synonyms when autocompleting values entered as annotations. */ "entities": [], /* "flags", if set to true, will cause flag icons to appear in filters. */ "flags": false, /* "help" specifies the sections of the help dialog. */ "help": [ {"id": "help", "title": "Help"}, {"id": "accounts", "title": "Accounts"}, {"id": "navigation", "title": "Navigation"}, {"id": "views", "title": "Views"}, {"id": "timelines", "title": "Timelines"}, {"id": "clips", "title": "Clips"}, {"id": "maps", "title": "Maps"}, {"id": "calendars", "title": "Calendars"}, {"id": "find", "title": "Find"}, {"id": "filters", "title": "Filters"}, {"id": "lists", "title": "Lists"}, {"id": "player", "title": "Player"}, {"id": "editor", "title": "Editor"}, {"id": "documents", "title": "Documents"}, {"id": "entities", "title": "Entities"}, {"id": "edits", "title": "Edits"}, {"id": "texts", "title": "Texts"}, {"id": "embeds", "title": "Embeds"} ], /* "importMetadata" defines what fields (as defined in "itemKeys") will get populated with imported metadata. There is metadata for "title", "description", "uploader", "date", "tags", "id", "url", and the value must be a format string (like "{title} ({id})"). The type of the itemKeys must be "string", ["string"], "text", "date" or "year". The last two only work with "{date}". */ "importMetadata": { "summary": "{description}", "title": "{title}" }, /* "itemKeys" defines the metadata associated with each item. Required keys are "*", "id" and "title". Annotation layers can be referenced too, which makes them available in the find element. Adding a key with "annotations" as id adds a "find in any annotation layer" option. Further, adding a key with "random" as id can be used for a random sort order. An itemKey must have the following properties: "id": The unique id of the key (as used by the server) "title": The title of the key (as displayed by the client) "type": Can be "boolean", "date", "enum", "float", "hue", "integer", "layer", "string", "text", "time" or ["..."] (list of values of this type). If type is "layer", this is a reference to the annotations layer with the same id. and can have any of the following properties: "additionalSort": Ordered list of {key, operator} objects, where key is another itemKey and operator is "+" or "-". This can be used to override user.ui.listSort when results are sorted by this key. "autocomplete": If true, the find element will provide autocomplete "autocompleteSort": Sort order of autocomplete suggestions "capability": A capability required to see data for this key "columnRequired": If true, the column can't be removed from list view "columnWidth": Default column width in px. If absent, no column for this key can be added in list view. "filter": If true, one can filter results by this key "find": If true, this key will appear as an option in the find element "flag": Can be "country" or "language". If set (and filter is true), a flag icon corresponding to the field's value will be displayed. "format": {type: string, args: [value, value, ...]}, used for special formatting. This will invoke Ox.formatType(args). For details, see https://oxjs.org/#doc/Ox.formatArea etc. "secondaryId": If true, loading the URL "/value" will redirect to the corresponding item, in case there is an exact match for this key "sort": If true, one can sort results by this key "sortOperator": Sort order ("+" or "-"), in case it differs from the default for the key's type ("+" for strings, "-" for numbers) "sortType": Special sort type ("person" or "title") which can be further configured in "Manage Names" or "Manage Titles" "value": {key: string, type: string} or {layer: string, type: string}, for keys whose value is derived from other keys or layers (like "number of actors" or "words per minute"). Possible values for type are "length", "lengthperminute", "words", and "wordsperminute". Alternatively, "value" can be set to the string "capability", which results in an itemKey whose boolean value indicates the presence or absence of a userLevel-dependent capability. This can be used to create queries and lists like "all items this user can play" etc. "values": [value, value, ...] Ordered list of values, in case "type" is "enum" */ "itemKeys": [ { "id": "*", "title": "All", "type": "text", "find": true }, { "id": "title", "title": "Title", "type": "string", "additionalSort": [{"key": "year", "operator": "+"}, {"key": "director", "operator": "+"}], "autocomplete": true, "autocompleteSort": [{"key": "year", "operator": "+"}], "columnRequired": true, "columnWidth": 180, "find": true, "sort": true, "sortType": "title" }, { "id": "director", "title": "Director", "type": ["string"], "additionalSort": [{"key": "year", "operator": "+"}, {"key": "title", "operator": "-"}], "autocomplete": true, "columnRequired": true, "columnWidth": 180, "filter": true, "find": true, "sort": true, "sortType": "person" }, { "id": "country", "title": "Country", "type": ["string"], "autocomplete": true, "columnWidth": 120, "find": true, "sort": true }, { "id": "year", "title": "Year", "type": "year", "additionalSort": [{"key": "director", "operator": "+"}, {"key": "title", "operator": "+"}], "autocomplete": true, "columnWidth": 60, "filter": true, "find": true, "sort": true, "sortOperator": "+" }, { "id": "language", "title": "Language", "type": ["string"], "autocomplete": true, "columnWidth": 120, "filter": true, "find": true, "sort": true }, { "id": "runtime", "title": "Runtime", "type": "time", "columnWidth": 60, "format": {"type": "duration", "args": [0]}, "sort": true }, { "id": "color", "title": "Color", "type": ["string"], "columnWidth": 120, "filter": true, "find": true, "sort": true }, { "id": "sound", "title": "Sound", "type": ["string"], "columnWidth": 120, "filter": true, "find": true, "sort": true }, { "id": "productionCompany", "title": "Studio", "type": ["string"], "autocomplete": true, "columnWidth": 180, "description": true, "filter": true, "find": true, "sort": true }, { "id": "producer", "title": "Producer", "type": ["string"], "autocomplete": true, "columnWidth": 180, "filter": true, "find": true, "sort": true, "sortType": "person" }, { "id": "codirector", "title": "Co-Director", "type": ["string"], "autocomplete": true, "columnWidth": 180, "filter": true, "find": true, "sort": true, "sortType": "person" }, { "id": "writer", "title": "Writer", "type": ["string"], "autocomplete": true, "columnWidth": 180, "filter": true, "find": true, "sort": true, "sortType": "person" }, { "id": "cinematographer", "title": "Cinematographer", "type": ["string"], "autocomplete": true, "columnWidth": 180, "filter": true, "find": true, "sort": true, "sortType": "person" }, { "id": "editor", "title": "Editor", "type": ["string"], "autocomplete": true, "columnWidth": 180, "filter": true, "find": true, "sort": true, "sortType": "person" }, { "id": "composer", "title": "Composer", "type": ["string"], "autocomplete": true, "columnWidth": 180, "filter": true, "find": true, "sort": true, "sortType": "person" }, { "id": "lyricist", "title": "Lyricist", "type": ["string"], "autocomplete": true, "columnWidth": 180, "filter": true, "find": true, "sort": true, "sortType": "person" }, { "id": "actor", "title": "Cast", "type": ["string"], "autocomplete": true, "columnWidth": 180, "filter": true, "find": true, "sort": true, "sortType": "person" }, { "id": "numberofactors", "title": "Number of Actors", "type": "integer", "columnWidth": 60, "sort": true, "value": {"key": "actor", "type": "length"} }, { "id": "name", "title": "Name", "type": ["string"], "autocomplete": true, "description": true, "find": true }, { "id": "genre", "title": "Genre", "type": ["string"], "autocomplete": true, "columnWidth": 120, "filter": true, "find": true, "sort": true }, { "id": "topic", "title": "Topic", "type": ["string"], "autocomplete": true, "filter": true, "find": true }, { "id": "summary", "title": "Summary", "type": "text", "find": true }, { "id": "releasedate", "title": "Release Date", "type": "date" }, { "id": "censorshipcertificatenumber", "title": "Censorship Certificate Number", "type": "integer" }, { "id": "dateofcensorcertificate", "title": "Date of Censor Certificate", "type": "date" }, { "id": "certificationcentre", "title": "Certification centre", "type": "string" }, { "id": "ratingcertificate", "title": "Rating/Certificate", "type": "string" }, { "id": "length", "title": "Length", "type": "integer" }, { "id": "numberofreels", "title": "Number of Reels", "type": "integer" }, { "id": "format", "title": "Format", "type": "string" }, { "id": "presentedby", "title": "Presented by", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "coproducer", "title": "Co-Producer", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "associateproducer", "title": "Associate Producer", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "executiveproducer", "title": "Executive Producer", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "associatedirector", "title": "Associate Director", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "chiefassistantdirector", "title": "Chief Assistant Director", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "assistantdirector", "title": "Assistant Director", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "story", "title": "Story", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "screenplay", "title": "Screenplay", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "dialogue", "title": "Dialogue", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "adaptation", "title": "Adaptation", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "musicdirector", "title": "Music Director", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "backgroundmusic", "title": "Background Music", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "orchestration", "title": "Orchestration", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "arranger", "title": "Arranger", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "sounddesign", "title": "Sound design", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "soundrecording", "title": "Sound recording", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "rerecording", "title": "Re-Recording", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "musiclabel", "title": "Music Label", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "assistantcinematographer", "title": "Assistant Cinematographer", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "artdirector", "title": "Art Director", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "costumedesign", "title": "Costume design", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "productiondesign", "title": "Production design", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "specialeffects", "title": "Special Effects", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "animation", "title": "Animation", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "singer", "title": "Singer", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "coeditor", "title": "Co-Editor", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "stills", "title": "Stills", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "publicitydesign", "title": "Publicity Design", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "makeup", "title": "Make-Up", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "hairstyles", "title": "Hair Styles", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "dancedirector", "title": "Dance Director", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "productioncontroller", "title": "Production Controller", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "stuntdirector", "title": "Stunt Director", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "continuity", "title": "Continuity", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "publicity", "title": "Publicity", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "laboratory", "title": "Laboratory", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true }, { "id": "courtesy", "title": "Courtesy", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "subtitledby", "title": "Subtitled by", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "annotatedby", "title": "Annotated by", "type": ["string"], "advanced": true, "columnWidth": 180, "find": true, "sortType": "person" }, { "id": "songs", "title": "Song Titles", "type": "text", "find": true }, { "id": "id", "title": "ID", "type": "string", "columnWidth": 90, "sort": true }, { "id": "encyclopedia", "title": "Encyclopedia", "type": "string", "capability": "canEditMetadata" }, { "id": "wiki", "title": "Wiki", "type": "string", "capability": "canEditMetadata" }, { "id": "imdbId", "title": "IMDb ID", "type": "string", "columnWidth": 90, "secondaryId": true, "sort": true }, { "id": "links", "title": "Links", "type": ["string"], "columnWidth": 180, "find": true }, { "id": "comments", "title": "Comments", "type": "text", "capability": "canEditMetadata" }, { "id": "annotations", "title": "Annotations", "type": "string", // fixme: not the best type for this magic key "find": true }, { "id": "keywords", "title": "Keywords", "type": "layer", "filter": true, "find": true }, { "id": "notes", "title": "Notes", "type": "layer", "find": true }, { "id": "subtitles", "title": "Subtitles", "type": "layer", "find": true }, { "id": "numberofannotations", "title": "Number of Annotations", "type": "integer", "columnWidth": 60, "sort": true }, { "id": "duration", "title": "Duration", "type": "time", "columnWidth": 90, "format": {"type": "duration", "args": []}, "sort": true }, { "id": "resolution", "title": "Resolution", "type": ["integer"], "capability": "canSeeMedia", "columnWidth": 90, "format": {"type": "resolution", "args": ["px"]}, "sort": true }, { "id": "aspectratio", "title": "Aspect Ratio", "type": "float", "columnWidth": 90, "format": {"type": "unit", "args": [":1", 3]}, "sort": true }, { "id": "pixels", "title": "Pixels", "type": "integer", "capability": "canSeeMedia", "columnWidth": 90, "format": {"type": "value", "args": ["px"]}, "sort": true }, { "id": "hue", "title": "Hue", "type": "float", "columnWidth": 90, "format": {"type": "color", "args": ["hue"]}, "sort": true, "sortOperator": "+" }, { "id": "saturation", "title": "Saturation", "type": "float", "columnWidth": 90, "format": {"type": "color", "args": ["saturation"]}, "sort": true }, { "id": "lightness", "title": "Lightness", "type": "float", "columnWidth": 90, "format": {"type": "color", "args": ["lightness"]}, "sort": true }, { "id": "volume", "title": "Volume", "type": "float", "columnWidth": 60, "format": {"type": "color", "args": ["lightness"]}, "sort": true }, { "id": "numberofcuts", "title": "Number of Cuts", "type": "integer", "columnWidth": 60, "format": {"type": "number", "args": []}, "sort": true, "value": {"key": "cuts", "type": "length"} }, { "id": "cutsperminute", "title": "Cuts per Minute", "type": "float", "columnWidth": 60, "format": {"type": "number", "args": [3]}, "sort": true, "value": {"key": "cuts", "type": "lengthperminute"} }, { "id": "words", "title": "Number of Words", "type": "integer", "columnWidth": 60, "format": {"type": "number", "args": []}, "sort": true, "value": {"layer": "subtitles", "type": "words"} }, { "id": "wordsperminute", "title": "Words per Minute", "type": "float", "columnWidth": 60, "format": {"type": "number", "args": [3]}, "sort": true, "value": {"layer": "subtitles", "type": "wordsperminute"} }, { "id": "numberofnotes", "title": "Number of Notes", "type": "integer", "columnWidth": 60, "sort": true, "value": {"layer": "notes", "type": "length"} }, { "id": "numberofdocuments", "title": "Number of Documents", "type": "integer", "columnWidth": 60, "format": {"type": "number", "args": []}, "sort": true, "value": {"key": "documents", "type": "length"} }, { "id": "size", "title": "Size", "type": "integer", "capability": "canSeeSize", "columnWidth": 60, "format": {"type": "value", "args": ["B"]}, "sort": true }, { "id": "bitrate", "title": "Bitrate", "type": "integer", "capability": "canSeeMedia", "columnWidth": 60, "format": {"type": "value", "args": ["bps"]}, "sort": true }, { "id": "parts", "title": "Number of Parts", "type": "integer", "capability": "canSeeMedia", "columnWidth": 60, "sort": true }, { "id": "numberoffiles", "title": "Number of Files", "type": "integer", "capability": "canSeeMedia", "columnWidth": 60, "sort": true, "value": {"key": "files", "type": "length"} }, { "id": "filename", "title": "Filename", "type": ["string"], "capability": "canSeeMedia" }, { "id": "created", "title": "Date Created", "type": "date", "columnWidth": 150, "format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]}, "sort": true }, { "id": "modified", "title": "Last Modified", "type": "date", "columnWidth": 150, "format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]}, "sort": true }, { "id": "accessed", "title": "Last Accessed", "type": "date", "capability": "canSeeAccessed", "columnWidth": 150, "format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]}, "sort": true }, { "id": "timesaccessed", "title": "Times Accessed", "type": "integer", "capability": "canSeeAccessed", "columnWidth": 60, "format": {"type": "number", "args": []}, "sort": true }, { "id": "rightslevel", "title": "Rights Level", "type": "enum", "columnWidth": 90, "format": {"type": "ColorLevel", "args": [ ["Public", "Out of Copyright", "Under Copyright", "Private"] ]}, "sort": true, "sortOperator": "+", "values": ["Public", "Out of Copyright", "Under Copyright", "Private", "Unknown"] }, { "id": "canplayvideo", "title": "Can Play Video", "type": "boolean", "value": "capability" }, { "id": "canplayclips", "title": "Can Play Clips", "type": "boolean", "value": "capability" }, { "id": "random", "title": "Random", "type": "integer", "sort": true } ], /* "itemName" specifies the name of items ("Movies", "Videos" or similar). Note that anything excessively long may cause layout errors. */ "itemName": { "singular": "Movie", "plural": "Movies" }, /* "itemRequiresVideo" regulates if items without video can be created. If set to true, the only way to add a new item is to upload a new video. */ "itemRequiresVideo": false, /* "itemTitleKeys" is a list of itemKeys required to compose the item title displayed at the top of the screen. This title can be customized by adding "/static/js/getItemTitle.SITENAME.js". */ "itemTitleKeys": ["title", "director", "year"], /* "itemViews" is an ordered list of available item views. Implemented views are "info", "documents", "player", "editor", "timeline", "clips", "map", "calendar", "data" and "media". */ "itemViews": [ {"id": "info", "title": "Info"}, {"id": "documents", "title": "Documents"}, {"id": "player", "title": "Player"}, {"id": "editor", "title": "Editor"}, {"id": "timeline", "title": "Timeline"}, {"id": "clips", "title": "Clips"}, {"id": "map", "title": "Map"}, {"id": "calendar", "title": "Calendar"}, {"id": "data", "title": "Data"}, {"id": "media", "title": "Media"} ], /* "language" is the default language for annotations of type "text". Text in other languages can be added via markup, for example: VoilĂ ! */ "language": "en", /* "languages" is the list of languages that the interface can be switched to. Currently, localization exists for "ar", "el", "en" and "hi". */ "languages": ["ar", "el", "en", "hi"], // fixme: should be renamed to annotationLayers /* "layers" defines the types of time-based annotations that can be entered. Required keys are: "id": Internal ID "item": Name of one such annotation (singular) "title": Display title "type": Can be "entity", "string" or "text" (strings cannot contain line breaks, text can contain HTML markup). Optional keys are: "autocomplete": Available if the layer is used as a filter "canAddAnnotations": Permissions per user level "canPlayClips": If true, clips from this layer will play for users with canPlayClips access "entity": ID of the referenced entity (if type is "entity") "hasEvents": If true, the calendar will be populated with matches from this layer "hasPlaces": If true, the map will be populated with matches from this layer "isSubtitles": If true, this layer will be displayed as subtitles "overlap": If true, overlapping annotations are allowed. Note that enforcement of "overlap": false is not implemented "showInfo": If true, user and creation time will be displayed in the tooltip that appears on mouseover. */ "layers": [ { "id": "keywords", "title": "Keywords", "canAddAnnotations": {"member": true, "researcher": true, "staff": true, "admin": true}, "hasEvents": true, "hasPlaces": true, "item": "Keyword", "overlap": true, "type": "string" }, { "id": "notes", "title": "Notes", "canAddAnnotations": {"member": true, "researcher": true, "staff": true, "admin": true}, "canPlayClips": true, "hasEvents": true, "hasPlaces": true, "item": "Note", "overlap": true, "showInfo": true, "type": "text" }, { "id": "subtitles", "title": "Subtitles", "canAddAnnotations": {"researcher": true, "staff": true, "admin": true}, "hasEvents": true, "hasPlaces": true, "isSubtitles": true, "item": "Subtitle", "type": "text" } ], /* "listViews" is an ordered list of available list views. Implemented views are "list", "grid", "timelines", "clips", "clip", "map" and "calendar". */ "listViews": [ {"id": "list", "title": "as List"}, {"id": "grid", "title": "as Grid"}, {"id": "timelines", "title": "with Timelines"}, {"id": "clips", "title": "with Clips"}, {"id": "clip", "title": "as Clips"}, //{"id": "video", "title": "as Videos"}, {"id": "map", "title": "on Map"}, {"id": "calendar", "title": "on Calendar"} ], /* "media" defines additional media that gets added when importing items. "importPosters": If true, a poster file will be imported (if present) "importFrames": If true, 3 full-resolution frames per file will be imported. This is useful to render high-resolution icons and posters for an instance that has only low-resolution video. */ "media": { "importPosters": false, "importFrames": false }, /* "menuExtras" can be used to add extra functionality to the main menu bar. The plug-in architecture is not yet finalized, documentation forthcoming. */ "menuExtras": [ "upload", "user", //"locale", "reload" ], /* "personalLists" specifies which pre-defined lists a new member will have after signup. "title" is required. If "query" is present, this defines a smart list. "query" can be any pan.do/ra query object, see /api/find for further documentation. If you need to reference the username (for example in order to include a default "My Videos" list), you can use the syntax {"user": "{username}"} */ "personalLists": [ {"title": "Favorites"}, {"title": "Black & White Films", "query": {"conditions": [{"key": "color", "value": "Black and White", "operator": "=="}], "operator": "&"}}, {"title": "Silent Films", "query": {"conditions": [{"key": "language", "value": "None", "operator": "=="}, {"key": "sound", "value": "Silent", "operator": "=="}], "operator": "|"}} ], /* "posters" contains details about the poster icons. "ratio" is the default ratio (used to display a placeholder while poster icons are loading). */ "posters": { "ratio": 0.6875 }, /* "rightsLevel" defines which initial rights level will be assigned to items and texts created by users of these user levels. */ "rightsLevel": {"member": 2, "researcher": 2, "staff": 2, "admin": 2}, /* "rightsLevels" is an ordered list of rights levels, one of which will be assigned to each item. */ "rightsLevels": [ {"name": "Public", "color": [128, 255, 128]}, {"name": "Out of Copyright", "color": [212, 255, 128]}, {"name": "Under Copyright", "color": [255, 212, 128]}, {"name": "Private", "color": [255, 128, 128]} ], /* "site" contains various settings for this instance. In "email", "contact" if the address in the contact form (to), "system" is the address used by the system (from). */ "site": { "description": "Indiancine.ma is an annotated online archive of Indian film. It is intended to serve as a shared resource for film scholars and enthusiasts in India and beyond.", // FIXME: "from" and "to" would be more intuitive as keys here "email": { // E-mail address in contact form (to) "contact": "indiancine.ma@indiancine.ma", "footer": "-- \nIndiancine.ma - https://indiancine.ma", "prefix": "Indiancine.ma News -", // E-mail address uses by the system (from) "system": "system@indiancine.ma" }, "folderdepth": 4, "https": true, "id": "indiancinema", "name": "Indiancine.ma", "public": true, "sendReferrer": true, "url": "indiancine.ma" }, /* "sitePages" defines the sections of the main site dialog. If "news" is present, this will add an interface to add news items. If "contact" is present, this will add an interface to contact the site owners. */ "sitePages": [ {"id": "about", "title": "About"}, {"id": "news", "title": "News"}, {"id": "faq", "title": "Frequently Asked Questions"}, //{"id": "terms", "title": "Terms of Service"}, {"id": "copyrights", "title": "Copyrights"}, {"id": "contact", "title": "Contact"} ], /* "sites" specifies which other pan.do/ra instances, if any, will appear in the user interface for creating embeds. This allows for easier creation of cross-instance references. */ "sites": [ {"name": "Pad.ma", "url": "pad.ma", "https": true}, {"name": "OxDB", "url": "0xdb.org", "https": true} ], /* "textRightsLevels" defines a list of rights levels for texts. */ "textRightsLevels": [ {"name": "Public", "color": [128, 255, 128]}, {"name": "Private", "color": [255, 128, 128]} ], /* "themes" is a list of themes that the user interface can be switched to. Currently available themes are "oxlight", "oxmedium" and "oxdark". The default theme can be set in user.ui.theme. */ "themes": ["oxlight", "oxmedium", "oxdark"], /* "timelines" is a list of timeline types. Implemented types are "antialias", "slitscan", "keyframes" and "audio". */ "timelines": [ {"id": "antialias", "title": "Anti-Alias"}, {"id": "slitscan", "title": "Slit-Scan"}, {"id": "keyframes", "title": "Keyframes"}, {"id": "audio", "title": "Waveform"} ], /* "totals" specifies which totals are displayed in the status bar at the bottom of list views. Possible ids are "duration", "files", "items", "pixels" and "size". Adding a capability limits the display of a specific total to users of the corresponding user levels. */ "totals": [ {"id": "items"}, {"id": "runtime"}, {"id": "files", "capability": "canSeeMedia"}, {"id": "duration", "capability": "canSeeMedia"}, {"id": "size", "capability": "canSeeMedia"}, {"id": "pixels"} ], /* If "tv" is set to true, then in TV mode, the site logo will be displayed in the corner of the screen. */ "tv": { "showLogo": false }, /* The "user" object contains the default user settings. "ui" is the default interface state for new users, and after selecting "Reset UI Settings" in Preferences -> Advanced. This is the place to configure various defaults, like the site-wide language and theme, the default list and item views, the default set of filters, etc. Please make sure that in case you rename or remove entries that are referenced in "ui", you update them here as well. */ "user": { "level": "guest", "newsletter": true, "ui": { "annotationsCalendarSize": 128, "annotationsHighlight": "none", "annotationsMapSize": 128, "annotationsRange": "all", "annotationsSize": 256, "annotationsSort": "position", "calendarFind": "", "calendarSelection": "", "clipColumns": 2, "clipSize": 416, "collectionColumns": ["title", "id", "extension", "dimensions", "size", "description", "matches", "user", "created", "modified"], "collectionColumnWidth": {}, "collectionSelection": [], "collectionSort": [ {"key": "title", "operator": "+"}, {"key": "extension", "operator": "+"} ], "collectionView": "grid", "collections": {}, "columns": { "Colors": { "columns": ["title", "director", "country", "year", "hue", "saturation", "brightness"], "columnWidth": {} } }, "documentView": "view", "documents": {}, "documentSize": 256, "documentsSelection": {}, "documentsSort": [{"key": "title", "operator": "+"}], "documentsView": "grid", "edit": "", "edits": {}, "editSelection": [], "editSort": [ {"key": "index", "operator": "+"}, {"key": "year", "operator": "+"}, {"key": "director", "operator": "+"}, {"key": "title", "operator": "+"}, {"key": "position", "operator": "+"}, {"key": "duration", "operator": "+"} ], "editView": "list", "embedSize": 256, "entitiesSelection": {}, "entitiesType": "", "filters": [ {"id": "director", "sort": [{"key": "items", "operator": "-"}]}, {"id": "year", "sort": [{"key": "name", "operator": "+"}]}, {"id": "language", "sort": [{"key": "items", "operator": "-"}]}, {"id": "productionCompany", "sort": [{"key": "items", "operator": "-"}]}, {"id": "actor", "sort": [{"key": "items", "operator": "-"}]} ], "filtersSize": 176, "find": {"conditions": [], "operator": "&"}, "findDocuments": {"conditions": [], "operator": "&"}, "followPlayer": true, "help": "", "icons": "posters", "infoIconSize": 256, "item": "", "itemFind": "", "itemSort": [{"key": "position", "operator": "+"}], "itemView": "info", "listColumns": ["title", "director", "year", "language", "runtime", "productionCompany"], "listColumnWidth": {}, "listSelection": [], "listSort": [ {"key": "year", "operator": "+"}, {"key": "director", "operator": "+"}, {"key": "title", "operator": "+"} ], "listView": "grid", "lists": {}, "locale": "en", "mapFind": "", "mapSelection": "", "page": "", "part": { "api": "", "document": "", "entities": "", "faq": "", "help": "", "news": "", "preferences": "", "tv": "" }, "section": "items", "sequenceMode": "shape", "sequenceSort": [{"key": "director", "operator": "+"}], "showAdvancedEmbedOptions": false, "showAnnotations": true, "showAnnotationsCalendar": true, "showAnnotationsMap": true, "showBrowser": true, "showCalendarControls": true, // fixme: should be false "showClips": true, "showDocument": true, "showFilters": true, "showIconBrowser": false, "showInfo": true, "showLayers": { "keywords": true, "notes": true, "subtitles": true }, "showMapControls": false, "showMapLabels": false, "showFolder": { "edits": { "personal": true, "favorite": true, "featured": true }, "items": { "personal": true, "favorite": true, "featured": true, "volumes": true }, "documents": { "personal": true, "favorite": true, "featured": true }, "texts": { "personal": true, "favorite": true, "featured": true } }, "showReflections": true, "showSidebar": true, "showSitePosters": false, "showTimeline": true, "sidebarSize": 256, "text": "", "texts": {}, "documents": {}, "document": "", "theme": "oxmedium", "updateAdvancedFindResults": false, "videoLoop": false, "videoMuted": false, "videoPoints": {}, "videoResolution": 240, "videoScale": "fit", "videoSize": "small", "videoSubtitles": true, "videoSubtitlesOffset": 0, "videoTimeline": "slitscan", "videoView": "player", "videoVolume": 1 }, "script": "", "username": "", "volumes": [] }, // fixme: this should include colors /* "userLevels" is an ordered list of user classes. The first entry is for unregistered visitors. */ "userLevels": ["guest", "member", "researcher", "staff", "admin"], /* "video" contains the video settings. "formats": Supported video formats. Should be ["webm", "mp4"], or ["webm"] in case iDevices are not part of the audience "previewRatio": Aspect ratio used in the info panel in the bottom left corner of the screen "resolutions": List of video resolutions. Supported values are 96, 144, 240, 288, 360, 432, 480, 720 and 1080. "torrent": If true, video downloads are offered via BitTorrent */ "video": { "torrent": false, "formats": ["webm", "mp4"], "previewRatio": 1.375, "resolutions": [240, 480] } }