2013-02-18 12:53:05 +00:00
|
|
|
/*
|
|
|
|
indiancine.ma Settings
|
|
|
|
|
|
|
|
You can edit this file.
|
|
|
|
*/
|
2013-03-03 11:15:28 +00:00
|
|
|
|
2013-02-18 12:53:05 +00:00
|
|
|
{
|
|
|
|
"additionalSort": [
|
|
|
|
{"key": "director", "operator": "+"},
|
2013-02-19 11:26:32 +00:00
|
|
|
{"key": "year", "operator": "+"},
|
2013-02-18 12:53:05 +00:00
|
|
|
{"key": "title", "operator": "+"}
|
|
|
|
],
|
|
|
|
"annotations": {
|
2013-02-27 09:38:42 +00:00
|
|
|
"showUsers": true
|
2013-02-18 12:53:05 +00:00
|
|
|
},
|
|
|
|
"cantPlay": {
|
|
|
|
"icon": "NoCopyright",
|
|
|
|
"link": "/rights",
|
2013-02-27 03:28:44 +00:00
|
|
|
"text": "This movie is still under copyright."
|
2013-02-18 12:53:05 +00:00
|
|
|
},
|
|
|
|
/*
|
|
|
|
Capabilities are per user level.
|
|
|
|
They can either be general:
|
|
|
|
{level: true} means a user of that level has the capability)
|
|
|
|
or related to items:
|
|
|
|
{level: x} means a user of that level has the capability
|
|
|
|
for items of a rights level up to and including x
|
|
|
|
*/
|
|
|
|
"capabilities": {
|
2013-02-25 10:30:23 +00:00
|
|
|
"canAddItems": {"student": true, "staff": true, "admin": true},
|
2013-02-18 12:53:05 +00:00
|
|
|
"canDownloadVideo": {"guest": -1, "member": -1, "student": -1, "staff": -1, "admin": -1},
|
|
|
|
"canEditAnnotations": {"staff": true, "admin": true},
|
2013-02-19 15:21:59 +00:00
|
|
|
"canEditEvents": {"student": true, "staff": true, "admin": true},
|
|
|
|
"canEditFeaturedEdits": {"student": true, "staff": true, "admin": true},
|
|
|
|
"canEditFeaturedLists": {"student": true, "staff": true, "admin": true},
|
|
|
|
"canEditFeaturedTexts": {"student": true, "staff": true, "admin": true},
|
2013-02-19 16:02:21 +00:00
|
|
|
"canEditMetadata": {"student": true, "staff": true, "admin": true},
|
2013-02-19 15:21:59 +00:00
|
|
|
"canEditPlaces": {"student": true, "staff": true, "admin": true},
|
2013-02-18 12:53:05 +00:00
|
|
|
"canEditSitePages": {"staff": true, "admin": true},
|
2013-02-19 15:21:59 +00:00
|
|
|
"canEditUsers": {"staff": true, "admin": true},
|
2013-03-04 15:41:25 +00:00
|
|
|
"canImportAnnotations": {"admin": true},
|
2013-02-19 15:21:59 +00:00
|
|
|
"canManagePlacesAndEvents": {"student": true, "staff": true, "admin": true},
|
|
|
|
"canManageTitlesAndNames": {"student": true, "staff": true, "admin": true},
|
2013-02-18 12:53:05 +00:00
|
|
|
"canManageUsers": {"staff": true, "admin": true},
|
2013-02-27 03:28:44 +00:00
|
|
|
"canPlayClips": {"guest": 3, "member": 3, "student": 3, "staff": 3, "admin": 3},
|
2013-02-19 15:44:53 +00:00
|
|
|
"canPlayVideo": {"guest": 1, "member": 1, "student": 3, "staff": 3, "admin": 3},
|
2013-02-28 12:16:46 +00:00
|
|
|
"canReadText": {"guest": 0, "member": 0, "student": 1, "staff": 1, "admin": 1},
|
2013-02-25 10:23:49 +00:00
|
|
|
"canRemoveItems": {"staff": true, "admin": true},
|
2013-02-19 15:21:59 +00:00
|
|
|
"canSeeAccessed": {"student": true, "staff": true, "admin": true},
|
|
|
|
"canSeeDebugMenu": {"student": true, "staff": true, "admin": true},
|
|
|
|
"canSeeExtraItemViews": {"student": true, "staff": true, "admin": true},
|
|
|
|
"canSeeFiles": {"student": true, "staff": true, "admin": true},
|
2013-02-19 15:44:53 +00:00
|
|
|
"canSeeItem": {"guest": 3, "member": 3, "student": 3, "staff": 3, "admin": 3},
|
2013-02-18 12:53:05 +00:00
|
|
|
"canSeeSize": {"student": true, "staff": true, "admin": true},
|
2013-02-19 15:21:59 +00:00
|
|
|
"canSeeSoftwareVersion": {"student": true, "staff": true, "admin": true},
|
2013-02-25 10:23:49 +00:00
|
|
|
"canSendMail": {"staff": true, "admin": true}
|
2013-02-18 12:53:05 +00:00
|
|
|
},
|
|
|
|
/*
|
|
|
|
clipKeys are the properties that clips can by sorted by.
|
|
|
|
If sortOperator is not specified, it will be + for strings and - 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. Excluding a layer from this list means it will not be
|
|
|
|
included in find annotations.
|
|
|
|
*/
|
2013-03-01 11:17:37 +00:00
|
|
|
"clipLayers": ["subtitles", "keywords", "notes"],
|
2013-02-18 12:53:05 +00:00
|
|
|
// fixme: either this, or filter: true in itemKeys, but not both
|
|
|
|
"filters": [
|
|
|
|
{"id": "director", "title": "Director", "type": "string"},
|
|
|
|
{"id": "year", "title": "Year", "type": "integer"},
|
|
|
|
{"id": "language", "title": "Language", "type": "string"},
|
2013-02-26 15:55:19 +00:00
|
|
|
{"id": "color", "title": "Color", "type": "string"},
|
|
|
|
{"id": "sound", "title": "Sound", "type": "string"},
|
2013-02-28 12:03:14 +00:00
|
|
|
{"id": "productionCompany", "title": "Studio", "type": "string"},
|
2013-02-18 12:53:05 +00:00
|
|
|
{"id": "producer", "title": "Producer", "type": "string"},
|
2013-02-26 15:55:19 +00:00
|
|
|
{"id": "codirector", "title": "Co-Director", "type": "string"},
|
|
|
|
{"id": "writer", "title": "Writer", "type": "string"},
|
2013-02-18 12:53:05 +00:00
|
|
|
{"id": "cinematographer", "title": "Cinematographer", "type": "string"},
|
|
|
|
{"id": "editor", "title": "Editor", "type": "string"},
|
2013-02-26 15:55:19 +00:00
|
|
|
{"id": "composer", "title": "Composer", "type": "string"},
|
|
|
|
{"id": "lyricist", "title": "Lyricist", "type": "string"},
|
|
|
|
{"id": "actor", "title": "Actor", "type": "string"},
|
|
|
|
{"id": "genre", "title": "Genre", "type": "string"},
|
|
|
|
{"id": "keyword", "title": "Keyword", "type": "string"}
|
2013-02-18 12:53:05 +00:00
|
|
|
],
|
2013-02-19 19:57:59 +00:00
|
|
|
"flags": false,
|
2013-03-04 10:07:37 +00:00
|
|
|
"help": [
|
|
|
|
{"id": "help", "title": "Help"},
|
|
|
|
{"id": "accounts", "title": "Accounts"},
|
2013-03-05 09:33:15 +00:00
|
|
|
{"id": "navigation", "title": "Navigation"},
|
|
|
|
{"id": "views", "title": "Views"},
|
|
|
|
{"id": "timelines", "title": "Timelines"},
|
2013-03-04 10:07:37 +00:00
|
|
|
{"id": "clips", "title": "Clips"},
|
2013-03-05 09:33:15 +00:00
|
|
|
{"id": "maps", "title": "Maps"},
|
|
|
|
{"id": "calendars", "title": "Calendars"},
|
|
|
|
{"id": "find", "title": "Find"},
|
2013-03-04 10:07:37 +00:00
|
|
|
{"id": "filters", "title": "Filters"},
|
|
|
|
{"id": "lists", "title": "Lists"},
|
2013-03-05 09:33:15 +00:00
|
|
|
{"id": "player", "title": "Player"},
|
|
|
|
{"id": "editor", "title": "Editor"},
|
|
|
|
{"id": "edits", "title": "Edits"},
|
2013-03-04 10:07:37 +00:00
|
|
|
{"id": "texts", "title": "Texts"},
|
2013-03-05 09:33:15 +00:00
|
|
|
{"id": "embeds", "title": "Embeds"}
|
2013-03-04 10:07:37 +00:00
|
|
|
],
|
2013-02-18 12:53:05 +00:00
|
|
|
/*
|
|
|
|
An itemKey must have the following properties:
|
|
|
|
id: The id of the key (as known by the server)
|
|
|
|
title: The title of the key (as displayed by the client)
|
|
|
|
type: text, string, float, integer, or array of any of these
|
|
|
|
and can have any of the following properties:
|
|
|
|
autocomplete: If true, find element will autocomplete
|
|
|
|
autocompleteSortKey: The key that suggestions will be sorted by
|
|
|
|
capability: A capability required to see this key
|
|
|
|
columnRequired: If true, the column can't be removed
|
|
|
|
columnWidth: Default column width in px
|
|
|
|
filter: If true, one can filter results by this key
|
|
|
|
find: If true, this key will appear as a find option
|
|
|
|
format: {type: "...", args: [...]}, for special formatting
|
|
|
|
(Ox.formatType(args) will be called)
|
2013-03-06 10:03:09 +00:00
|
|
|
secondaryId: If true, loading /value will redirect to the item
|
2013-02-18 12:53:05 +00:00
|
|
|
sort: If true, one can sort results by this key
|
|
|
|
sortOperator: sort operator (+, -), in case it differs from the
|
|
|
|
default for the key's type (+ for strings, - for numbers)
|
|
|
|
sortType: special sort type (title, person)
|
|
|
|
value: {key: "...", type: "..."}, for keys that are derived
|
|
|
|
from other keys (like number of actors), or "capability"
|
|
|
|
*/
|
|
|
|
"itemKeys": [
|
|
|
|
{
|
|
|
|
"id": "*",
|
|
|
|
"title": "All",
|
|
|
|
"type": "text",
|
|
|
|
"find": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "title",
|
|
|
|
"title": "Title",
|
|
|
|
"type": "string",
|
2013-02-19 11:26:32 +00:00
|
|
|
"additionalSort": [{"key": "year", "operator": "+"}, {"key": "director", "operator": "+"}],
|
2013-02-18 12:53:05 +00:00
|
|
|
"autocomplete": true,
|
2013-02-26 04:41:18 +00:00
|
|
|
"autocompleteSortKey": "year",
|
2013-02-18 12:53:05 +00:00
|
|
|
"columnRequired": true,
|
|
|
|
"columnWidth": 180,
|
|
|
|
"find": true,
|
|
|
|
"sort": true,
|
|
|
|
"sortType": "title"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "director",
|
|
|
|
"title": "Director",
|
|
|
|
"type": ["string"],
|
2013-02-19 11:26:32 +00:00
|
|
|
"additionalSort": [{"key": "year", "operator": "+"}, {"key": "title", "operator": "-"}],
|
2013-02-18 12:53:05 +00:00
|
|
|
"autocomplete": true,
|
|
|
|
"columnRequired": true,
|
|
|
|
"columnWidth": 180,
|
|
|
|
"filter": true,
|
|
|
|
"find": true,
|
|
|
|
"sort": true,
|
|
|
|
"sortType": "person"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "country",
|
|
|
|
"title": "Country",
|
|
|
|
"type": ["string"],
|
|
|
|
"autocomplete": true,
|
|
|
|
"columnWidth": 120,
|
|
|
|
"filter": true,
|
|
|
|
"find": true,
|
|
|
|
"sort": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "year",
|
|
|
|
"title": "Year",
|
2013-02-19 11:29:23 +00:00
|
|
|
"type": "year",
|
2013-02-18 12:53:05 +00:00
|
|
|
"additionalSort": [{"key": "director", "operator": "+"}, {"key": "title", "operator": "+"}],
|
|
|
|
"autocomplete": true,
|
|
|
|
"columnWidth": 60,
|
|
|
|
"filter": true,
|
|
|
|
"find": true,
|
2013-02-19 11:29:23 +00:00
|
|
|
"sort": true,
|
|
|
|
"sortOperator": "+"
|
2013-02-18 12:53:05 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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, "short"]},
|
|
|
|
"sort": true
|
|
|
|
},
|
2013-02-19 18:35:31 +00:00
|
|
|
{
|
2013-02-25 16:38:35 +00:00
|
|
|
"id": "color",
|
|
|
|
"title": "Color",
|
|
|
|
"type": ["string"],
|
|
|
|
"columnWidth": 120,
|
|
|
|
"filter": true,
|
|
|
|
"find": true,
|
|
|
|
"sort": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "sound",
|
|
|
|
"title": "Sound",
|
2013-02-19 18:35:31 +00:00
|
|
|
"type": ["string"],
|
|
|
|
"columnWidth": 120,
|
|
|
|
"filter": true,
|
|
|
|
"find": true,
|
|
|
|
"sort": true
|
|
|
|
},
|
2013-02-18 12:53:05 +00:00
|
|
|
{
|
2013-02-25 10:23:49 +00:00
|
|
|
"id": "productionCompany",
|
2013-02-19 15:32:44 +00:00
|
|
|
"title": "Studio",
|
2013-02-18 12:53:05 +00:00
|
|
|
"type": ["string"],
|
|
|
|
"autocomplete": true,
|
|
|
|
"columnWidth": 180,
|
2013-02-26 15:55:19 +00:00
|
|
|
"description": true,
|
2013-02-18 12:53:05 +00:00
|
|
|
"filter": true,
|
|
|
|
"find": true,
|
2013-02-26 07:52:47 +00:00
|
|
|
"sort": true
|
2013-02-18 12:53:05 +00:00
|
|
|
},
|
|
|
|
{
|
2013-02-25 10:23:49 +00:00
|
|
|
"id": "producer",
|
|
|
|
"title": "Producer",
|
2013-02-18 12:53:05 +00:00
|
|
|
"type": ["string"],
|
|
|
|
"autocomplete": true,
|
|
|
|
"columnWidth": 180,
|
|
|
|
"filter": true,
|
|
|
|
"find": true,
|
|
|
|
"sort": true,
|
|
|
|
"sortType": "person"
|
|
|
|
},
|
2013-02-26 15:55:19 +00:00
|
|
|
{
|
|
|
|
"id": "codirector",
|
|
|
|
"title": "Co-Director",
|
|
|
|
"type": ["string"],
|
|
|
|
"autocomplete": true,
|
|
|
|
"columnWidth": 180,
|
|
|
|
"filter": true,
|
|
|
|
"find": true,
|
|
|
|
"sort": true,
|
|
|
|
"sortType": "person"
|
|
|
|
},
|
2013-02-18 14:17:37 +00:00
|
|
|
{
|
2013-02-25 10:23:49 +00:00
|
|
|
"id": "writer",
|
|
|
|
"title": "Writer",
|
2013-02-18 14:17:37 +00:00
|
|
|
"type": ["string"],
|
|
|
|
"autocomplete": true,
|
|
|
|
"columnWidth": 180,
|
|
|
|
"filter": true,
|
|
|
|
"find": true,
|
|
|
|
"sort": true,
|
|
|
|
"sortType": "person"
|
|
|
|
},
|
2013-02-18 12:53:05 +00:00
|
|
|
{
|
|
|
|
"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,
|
2013-02-26 07:54:38 +00:00
|
|
|
"columnWidth": 180,
|
|
|
|
"filter": true,
|
|
|
|
"find": true,
|
|
|
|
"sort": true,
|
|
|
|
"sortType": "person"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "composer",
|
|
|
|
"title": "Composer",
|
|
|
|
"type": ["string"],
|
|
|
|
"autocomplete": true,
|
2013-02-18 12:53:05 +00:00
|
|
|
"columnWidth": 180,
|
|
|
|
"filter": true,
|
|
|
|
"find": true,
|
|
|
|
"sort": true,
|
|
|
|
"sortType": "person"
|
|
|
|
},
|
2013-02-26 15:55:19 +00:00
|
|
|
{
|
|
|
|
"id": "lyricist",
|
|
|
|
"title": "Lyricist",
|
|
|
|
"type": ["string"],
|
|
|
|
"autocomplete": true,
|
|
|
|
"columnWidth": 180,
|
|
|
|
"filter": true,
|
|
|
|
"find": true,
|
|
|
|
"sort": true,
|
|
|
|
"sortType": "person"
|
|
|
|
},
|
2013-02-18 12:53:05 +00:00
|
|
|
{
|
|
|
|
"id": "actor",
|
2013-02-26 15:55:19 +00:00
|
|
|
"title": "Cast",
|
2013-02-18 12:53:05 +00:00
|
|
|
"type": ["string"],
|
|
|
|
"autocomplete": true,
|
|
|
|
"filter": true,
|
|
|
|
"find": 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,
|
2013-02-26 14:08:56 +00:00
|
|
|
"description": true,
|
2013-02-18 12:53:05 +00:00
|
|
|
"find": true
|
|
|
|
},
|
|
|
|
{
|
2013-02-25 16:38:35 +00:00
|
|
|
"id": "genre",
|
|
|
|
"title": "Genre",
|
|
|
|
"type": ["string"],
|
|
|
|
"autocomplete": true,
|
|
|
|
"columnWidth": 120,
|
|
|
|
"filter": true,
|
|
|
|
"find": true,
|
|
|
|
"sort": true
|
2013-02-18 12:53:05 +00:00
|
|
|
},
|
2013-02-25 10:23:49 +00:00
|
|
|
{
|
|
|
|
"id": "keyword",
|
|
|
|
"title": "Keyword",
|
|
|
|
"type": ["string"],
|
|
|
|
"autocomplete": true,
|
|
|
|
"filter": true,
|
|
|
|
"find": true
|
|
|
|
},
|
2013-02-18 12:53:05 +00:00
|
|
|
{
|
|
|
|
"id": "summary",
|
|
|
|
"title": "Summary",
|
|
|
|
"type": "text",
|
|
|
|
"find": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "id",
|
|
|
|
"title": "ID",
|
|
|
|
"type": "string",
|
|
|
|
"columnWidth": 90,
|
|
|
|
"sort": true
|
|
|
|
},
|
2013-03-03 07:49:43 +00:00
|
|
|
{
|
|
|
|
"id": "encyclopedia",
|
|
|
|
"title": "Encyclopedia",
|
|
|
|
"type": "string",
|
|
|
|
"capability": "canEditMetadata"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "wiki",
|
|
|
|
"title": "Wiki",
|
|
|
|
"type": "string",
|
|
|
|
"capability": "canEditMetadata"
|
|
|
|
},
|
2013-02-24 10:45:44 +00:00
|
|
|
{
|
|
|
|
"id": "imdbId",
|
2013-02-26 15:55:19 +00:00
|
|
|
"title": "IMDb ID",
|
2013-02-24 10:45:44 +00:00
|
|
|
"type": "string",
|
|
|
|
"columnWidth": 90,
|
2013-03-06 10:03:09 +00:00
|
|
|
"secondaryId": true,
|
2013-02-24 10:45:44 +00:00
|
|
|
"sort": true
|
|
|
|
},
|
2013-03-03 11:22:37 +00:00
|
|
|
{
|
2013-03-09 07:12:43 +00:00
|
|
|
"id": "comments",
|
|
|
|
"title": "Comments",
|
2013-03-03 11:22:37 +00:00
|
|
|
"type": "text",
|
|
|
|
"capability": "canEditMetadata"
|
|
|
|
},
|
2013-03-09 07:12:43 +00:00
|
|
|
{
|
|
|
|
"id": "annotations",
|
|
|
|
"title": "Annotations",
|
|
|
|
"type": "string", // fixme: not the best type for this magic key
|
|
|
|
"find": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "keywords",
|
|
|
|
"title": "Keywords",
|
|
|
|
"type": "layer",
|
|
|
|
"find": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "notes",
|
|
|
|
"title": "Notes",
|
|
|
|
"type": "layer",
|
|
|
|
"find": true
|
|
|
|
},
|
2013-02-18 12:53:05 +00:00
|
|
|
{
|
|
|
|
"id": "subtitles",
|
|
|
|
"title": "Subtitles",
|
|
|
|
"type": "layer",
|
|
|
|
"find": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "duration",
|
|
|
|
"title": "Duration",
|
2013-03-03 10:52:17 +00:00
|
|
|
"type": "time",
|
2013-02-18 12:53:05 +00:00
|
|
|
"columnWidth": 90,
|
|
|
|
"format": {"type": "duration", "args": []},
|
|
|
|
"sort": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "resolution",
|
|
|
|
"title": "Resolution",
|
|
|
|
"type": ["integer"],
|
|
|
|
"capability": "canSeeFiles",
|
|
|
|
"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": "canSeeFiles",
|
|
|
|
"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": "size",
|
|
|
|
"title": "Size",
|
|
|
|
"type": "integer",
|
|
|
|
"capability": "canSeeSize",
|
|
|
|
"columnWidth": 60,
|
|
|
|
"format": {"type": "value", "args": ["B"]},
|
|
|
|
"sort": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "bitrate",
|
|
|
|
"title": "Bitrate",
|
|
|
|
"type": "integer",
|
|
|
|
"capability": "canSeeFiles",
|
|
|
|
"columnWidth": 60,
|
|
|
|
"format": {"type": "value", "args": ["bps"]},
|
|
|
|
"sort": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "parts",
|
|
|
|
"title": "Number of Parts",
|
|
|
|
"type": "integer",
|
|
|
|
"capability": "canSeeFiles",
|
|
|
|
"columnWidth": 60,
|
|
|
|
"sort": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "numberoffiles",
|
|
|
|
"title": "Number of Files",
|
|
|
|
"type": "integer",
|
|
|
|
"capability": "canSeeFiles",
|
|
|
|
"columnWidth": 60,
|
|
|
|
"sort": true,
|
|
|
|
"value": {"key": "files", "type": "length"}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "filename",
|
|
|
|
"title": "Filename",
|
|
|
|
"type": ["string"],
|
2013-03-09 07:12:43 +00:00
|
|
|
"capability": "canSeeFiles"
|
2013-02-18 12:53:05 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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,
|
|
|
|
"sort": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "rightslevel",
|
|
|
|
"title": "Rights Level",
|
|
|
|
"type": "enum",
|
|
|
|
"columnWidth": 90,
|
|
|
|
"format": {"type": "ColorLevel", "args": [
|
2013-02-19 15:56:23 +00:00
|
|
|
["Public", "Out of Copyright", "Under Copyright", "Private"]
|
2013-02-18 12:53:05 +00:00
|
|
|
]},
|
|
|
|
"sort": true,
|
|
|
|
"sortOperator": "+",
|
2013-02-19 15:56:23 +00:00
|
|
|
"values": ["Public", "Out of Copyright", "Under Copyright", "Private", "Unknown"]
|
2013-02-18 12:53:05 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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 how items are being referred to.
|
|
|
|
Anything excessively long may cause layout errors.
|
|
|
|
*/
|
|
|
|
"itemName": {
|
|
|
|
"singular": "Movie",
|
|
|
|
"plural": "Movies"
|
|
|
|
},
|
2013-02-25 10:23:49 +00:00
|
|
|
"itemRequiresVideo": false,
|
2013-02-18 12:53:05 +00:00
|
|
|
"itemViews": [
|
|
|
|
{"id": "info", "title": "Info"},
|
|
|
|
{"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": "files", "title": "Files"}
|
|
|
|
],
|
|
|
|
// fixme: should be renamed to annotationLayers
|
|
|
|
"layers": [
|
|
|
|
{
|
2013-02-19 15:44:53 +00:00
|
|
|
"id": "keywords",
|
|
|
|
"title": "Keywords",
|
2013-02-18 12:53:05 +00:00
|
|
|
"canAddAnnotations": {"member": true, "student": true, "staff": true, "admin": true},
|
2013-02-19 15:44:53 +00:00
|
|
|
"hasEvents": true,
|
|
|
|
"hasPlaces": true,
|
|
|
|
"item": "Keyword",
|
2013-02-18 12:53:05 +00:00
|
|
|
"overlap": true,
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
{
|
2013-02-19 15:44:53 +00:00
|
|
|
"id": "notes",
|
|
|
|
"title": "Notes",
|
2013-02-18 12:53:05 +00:00
|
|
|
"canAddAnnotations": {"member": true, "student": true, "staff": true, "admin": true},
|
2013-02-19 15:44:53 +00:00
|
|
|
"hasEvents": true,
|
|
|
|
"hasPlaces": true,
|
|
|
|
"item": "Note",
|
2013-02-18 12:53:05 +00:00
|
|
|
"overlap": true,
|
|
|
|
"showInfo": true,
|
|
|
|
"type": "text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "subtitles",
|
|
|
|
"title": "Subtitles",
|
2013-02-19 15:44:53 +00:00
|
|
|
"canAddAnnotations": {"student": true, "staff": true, "admin": true},
|
2013-02-18 12:53:05 +00:00
|
|
|
"hasEvents": true,
|
|
|
|
"hasPlaces": true,
|
|
|
|
"isSubtitles": true,
|
|
|
|
"item": "Subtitle",
|
|
|
|
"type": "text"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"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": "map", "title": "on Map"},
|
|
|
|
{"id": "calendar", "title": "on Calendar"}
|
|
|
|
],
|
|
|
|
"media": {
|
2013-02-27 09:38:42 +00:00
|
|
|
"importPosters": false,
|
|
|
|
"importFrames": false
|
2013-02-18 12:53:05 +00:00
|
|
|
},
|
|
|
|
"personalLists": [
|
|
|
|
{"title": "Favorites"},
|
2013-03-09 08:11:01 +00:00
|
|
|
{"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": "|"}}
|
2013-02-18 12:53:05 +00:00
|
|
|
],
|
2013-02-19 15:44:53 +00:00
|
|
|
"rightsLevel": {"member": 3, "student": 3, "staff": 3, "admin": 3},
|
2013-02-18 12:53:05 +00:00
|
|
|
"rightsLevels": [
|
|
|
|
{"name": "Public", "color": [128, 255, 128]},
|
2013-02-19 15:56:23 +00:00
|
|
|
{"name": "Out of Copyright", "color": [212, 255, 128]},
|
|
|
|
{"name": "Under Copyright", "color": [255, 212, 128]},
|
2013-02-18 12:53:05 +00:00
|
|
|
{"name": "Private", "color": [255, 128, 128]}
|
|
|
|
],
|
2013-03-09 08:11:01 +00:00
|
|
|
"sendReferrer": true,
|
2013-02-18 12:53:05 +00:00
|
|
|
"site": {
|
2013-02-19 15:21:59 +00:00
|
|
|
"description": "Indiancine.ma - A Project by Pad.ma",
|
2013-02-18 12:53:05 +00:00
|
|
|
// FIXME: "from" and "to" would be more intuitive as keys here
|
|
|
|
"email": {
|
|
|
|
// E-mail address in contact form (to)
|
2013-02-19 15:21:59 +00:00
|
|
|
"contact": "indiancine.ma@indiancine.ma",
|
|
|
|
"footer": "-- \nIndiancine.ma - https://indiancine.ma",
|
2013-02-18 13:23:59 +00:00
|
|
|
"prefix": "Indiancine.ma News -",
|
2013-02-18 12:53:05 +00:00
|
|
|
// E-mail address uses by the system (from)
|
|
|
|
"system": "system@indiancine.ma"
|
|
|
|
},
|
2013-02-28 12:13:52 +00:00
|
|
|
"folderdepth": 4,
|
2013-02-24 09:17:03 +00:00
|
|
|
"https": true,
|
2013-02-18 12:53:05 +00:00
|
|
|
"id": "indiancinema",
|
2013-02-18 13:23:59 +00:00
|
|
|
"name": "Indiancine.ma",
|
2013-02-18 12:53:05 +00:00
|
|
|
"url": "indiancine.ma",
|
|
|
|
"videoprefix": ""
|
|
|
|
},
|
|
|
|
"sitePages": [
|
|
|
|
{"id": "about", "title": "About"},
|
|
|
|
{"id": "news", "title": "News"},
|
|
|
|
{"id": "faq", "title": "Frequently Asked Questions"},
|
|
|
|
{"id": "terms", "title": "Terms of Service"},
|
2013-03-08 06:07:08 +00:00
|
|
|
{"id": "copyrights", "title": "Copyrights"},
|
2013-02-18 12:53:05 +00:00
|
|
|
{"id": "contact", "title": "Contact"}
|
|
|
|
],
|
2013-02-23 05:02:22 +00:00
|
|
|
"sites": [
|
2013-02-24 09:17:03 +00:00
|
|
|
{"name": "Pad.ma", "url": "pad.ma", "https": true},
|
|
|
|
{"name": "OxDB", "url": "0xdb.org", "https": true}
|
2013-02-23 05:02:22 +00:00
|
|
|
],
|
2013-02-28 12:13:52 +00:00
|
|
|
"textRightsLevels": [
|
|
|
|
{"name": "Public", "color": [128, 255, 128]},
|
|
|
|
{"name": "Private", "color": [255, 128, 128]}
|
|
|
|
],
|
2013-02-18 12:53:05 +00:00
|
|
|
"themes": ["oxlight", "oxmedium", "oxdark"],
|
|
|
|
"timelines": [
|
|
|
|
{"id": "antialias", "title": "Anti-Alias"},
|
|
|
|
{"id": "slitscan", "title": "Slit-Scan"},
|
|
|
|
{"id": "keyframes", "title": "Keyframes"},
|
|
|
|
{"id": "audio", "title": "Waveform"}
|
|
|
|
],
|
|
|
|
"totals": [
|
|
|
|
{"id": "items"},
|
|
|
|
{"id": "runtime"},
|
|
|
|
{"id": "files", "admin": true},
|
|
|
|
{"id": "duration", "admin": true},
|
|
|
|
{"id": "size", "admin": true},
|
|
|
|
{"id": "pixels"}
|
|
|
|
],
|
|
|
|
"tv": {
|
|
|
|
"showLogo": false
|
|
|
|
},
|
|
|
|
"user": {
|
|
|
|
"level": "guest",
|
|
|
|
"newsletter": true,
|
|
|
|
"ui": {
|
|
|
|
"annotationsFont": "small",
|
|
|
|
"annotationsRange": "all",
|
|
|
|
"annotationsSize": 256,
|
|
|
|
"annotationsSort": "position",
|
2013-03-06 14:09:18 +00:00
|
|
|
"calendarFind": "",
|
|
|
|
"calendarSelection": "",
|
2013-02-18 12:53:05 +00:00
|
|
|
"clipsColumns": 2,
|
|
|
|
"columns": {
|
|
|
|
"Colors": {
|
|
|
|
"columns": ["title", "director", "country", "year", "hue", "saturation", "brightness"],
|
|
|
|
"columnWidth": {}
|
|
|
|
}
|
|
|
|
},
|
2013-03-06 12:44:12 +00:00
|
|
|
"edit": "",
|
2013-02-21 09:48:30 +00:00
|
|
|
"embedSize": 256,
|
2013-02-18 12:53:05 +00:00
|
|
|
"filters": [
|
|
|
|
{"id": "director", "sort": [{"key": "items", "operator": "-"}]},
|
2013-02-19 15:07:58 +00:00
|
|
|
{"id": "year", "sort": [{"key": "name", "operator": "+"}]},
|
2013-02-19 15:14:46 +00:00
|
|
|
{"id": "language", "sort": [{"key": "items", "operator": "-"}]},
|
2013-02-28 12:38:13 +00:00
|
|
|
{"id": "productionCompany", "sort": [{"key": "items", "operator": "-"}]},
|
2013-02-19 15:32:44 +00:00
|
|
|
{"id": "actor", "sort": [{"key": "items", "operator": "-"}]}
|
2013-02-18 12:53:05 +00:00
|
|
|
],
|
|
|
|
"filtersSize": 176,
|
|
|
|
"find": {"conditions": [], "operator": "&"},
|
|
|
|
"followPlayer": true,
|
2013-03-06 12:44:12 +00:00
|
|
|
"help": "",
|
2013-03-04 12:04:48 +00:00
|
|
|
"hash": {"anchor": "", "query": []},
|
2013-02-18 12:53:05 +00:00
|
|
|
"icons": "posters",
|
|
|
|
"infoIconSize": 256,
|
|
|
|
"item": "",
|
|
|
|
"itemFind": "",
|
|
|
|
"itemSort": [{"key": "position", "operator": "+"}],
|
|
|
|
"itemView": "info",
|
2013-02-28 12:38:13 +00:00
|
|
|
"listColumns": ["title", "director", "year", "language", "runtime", "productionCompany"],
|
2013-02-18 12:53:05 +00:00
|
|
|
"listColumnWidth": {},
|
|
|
|
"listSelection": [],
|
2013-02-19 11:42:51 +00:00
|
|
|
"listSort": [{"key": "year", "operator": "+"}],
|
2013-02-18 12:53:05 +00:00
|
|
|
"listView": "grid",
|
|
|
|
"lists": {},
|
|
|
|
"mapFind": "",
|
|
|
|
"mapSelection": "",
|
|
|
|
"page": "",
|
|
|
|
"section": "items",
|
|
|
|
"sequenceMode": "shape",
|
|
|
|
"sequenceSort": [{"key": "director", "operator": "+"}],
|
2013-02-23 05:02:22 +00:00
|
|
|
"showAdvancedEmbedOptions": false,
|
2013-02-18 12:53:05 +00:00
|
|
|
"showAnnotations": true,
|
|
|
|
"showBrowser": true,
|
|
|
|
"showCalendarControls": true, // fixme: should be false
|
|
|
|
"showFilters": true,
|
|
|
|
"showHome": true,
|
|
|
|
"showIconBrowser": false,
|
|
|
|
"showInfo": true,
|
|
|
|
"showLayers": {
|
2013-03-03 11:22:37 +00:00
|
|
|
"keywords": true,
|
|
|
|
"notes": true,
|
2013-02-18 12:53:05 +00:00
|
|
|
"subtitles": true
|
|
|
|
},
|
|
|
|
"showMapControls": false,
|
|
|
|
"showMapLabels": false,
|
|
|
|
"showFolder": {
|
|
|
|
"items": {
|
|
|
|
"personal": true,
|
|
|
|
"favorite": true,
|
|
|
|
"featured": true,
|
|
|
|
"volumes": true
|
|
|
|
},
|
|
|
|
"texts": {
|
|
|
|
"personal": true,
|
|
|
|
"favorite": true,
|
|
|
|
"featured": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"showSidebar": true,
|
|
|
|
"showSitePosters": false,
|
|
|
|
"showTimeline": true,
|
|
|
|
"sidebarSize": 256,
|
2013-03-06 12:44:12 +00:00
|
|
|
"text": "",
|
2013-03-02 13:01:07 +00:00
|
|
|
"textPositions": {},
|
2013-02-19 11:26:32 +00:00
|
|
|
"theme": "oxmedium",
|
2013-03-03 11:15:28 +00:00
|
|
|
"updateAdvancedFindResults": false,
|
2013-02-18 12:53:05 +00:00
|
|
|
"videoMuted": false,
|
|
|
|
"videoPoints": {},
|
2013-02-28 20:43:30 +00:00
|
|
|
"videoResolution": 240,
|
2013-02-18 12:53:05 +00:00
|
|
|
"videoScale": "fit",
|
|
|
|
"videoSize": "small",
|
|
|
|
"videoSubtitles": true,
|
2013-02-27 13:07:17 +00:00
|
|
|
"videoTimeline": "slitscan",
|
2013-02-18 12:53:05 +00:00
|
|
|
"videoView": "player",
|
|
|
|
"videoVolume": 1
|
|
|
|
},
|
|
|
|
"username": "",
|
|
|
|
"volumes": []
|
|
|
|
},
|
|
|
|
// fixme: this should include colors
|
|
|
|
"userLevels": ["guest", "member", "student", "staff", "admin"],
|
|
|
|
"video": {
|
|
|
|
"download": false,
|
|
|
|
"formats": ["webm", "mp4"],
|
|
|
|
"previewRatio": 1.7777777778,
|
2013-03-01 11:17:37 +00:00
|
|
|
"resolutions": [240, 480]
|
2013-02-18 12:53:05 +00:00
|
|
|
}
|
|
|
|
}
|