2011-10-13 10:12:00 +00:00
/*
Pan.do/ra Settings
You can edit this file.
*/
2010-09-05 00:31:29 +00:00
{
2012-01-12 10:39:19 +00:00
"annotations": {
2012-02-19 18:34:11 +00:00
"showUsers": false
2012-01-12 10:39:19 +00:00
},
2012-04-22 09:57:49 +00:00
"cantPlay": {
"icon": "NoCopyright",
"link": "/rights",
"text": "This part of this video is not available in<br/>your part of your country. Sorry for that."
},
2011-10-13 10:12:00 +00:00
/*
Capabilities are per user level.
2011-10-13 17:35:33 +00:00
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
2011-10-13 10:12:00 +00:00
*/
2011-08-25 21:14:42 +00:00
"capabilities": {
2013-02-25 10:23:49 +00:00
"canAddItems": {"staff": true, "admin": true},
2012-04-18 10:51:48 +00:00
"canDownloadVideo": {"guest": -1, "member": -1, "friend": -1, "staff": -1, "admin": -1},
2012-01-02 19:06:56 +00:00
"canEditAnnotations": {"staff": true, "admin": true},
2014-01-07 05:31:34 +00:00
"canEditDocuments": {"staff": true, "admin": true},
2012-01-12 19:32:54 +00:00
"canEditEvents": {"staff": true, "admin": true},
2013-02-19 15:22:12 +00:00
"canEditFeaturedEdits": {"staff": true, "admin": true},
2011-11-10 23:12:20 +00:00
"canEditFeaturedLists": {"staff": true, "admin": true},
2013-02-16 01:20:40 +00:00
"canEditFeaturedTexts": {"staff": true, "admin": true},
2013-05-27 10:13:59 +00:00
"canEditMedia": {"staff": true, "admin": true},
2011-10-22 22:12:56 +00:00
"canEditMetadata": {"staff": true, "admin": true},
2012-01-12 19:32:54 +00:00
"canEditPlaces": {"staff": true, "admin": true},
2014-06-04 07:34:36 +00:00
"canEditRightsLevel": {"staff": true, "admin": true},
2011-10-27 08:47:57 +00:00
"canEditSitePages": {"staff": true, "admin": true},
2011-10-25 13:59:27 +00:00
"canEditUsers": {"admin": true},
2014-09-22 15:11:49 +00:00
"canExportAnnotations": {},
2012-02-18 11:29:26 +00:00
"canImportAnnotations": {},
2013-05-27 10:13:59 +00:00
"canManageDocuments": {"staff": true, "admin": true},
2012-03-27 07:14:59 +00:00
"canManagePlacesAndEvents": {"staff": true, "admin": true},
2013-02-19 15:22:12 +00:00
"canManageTitlesAndNames": {"staff": true, "admin": true},
2012-03-27 07:14:59 +00:00
"canManageUsers": {"staff": true, "admin": true},
2011-10-24 15:58:10 +00:00
"canPlayClips": {"guest": 2, "member": 2, "friend": 4, "staff": 4, "admin": 4},
"canPlayVideo": {"guest": 1, "member": 1, "friend": 4, "staff": 4, "admin": 4},
2013-02-28 12:18:04 +00:00
"canReadText": {"guest": 0, "member": 0, "friend": 1, "staff": 1, "admin": 1},
2013-02-25 10:23:49 +00:00
"canRemoveItems": {"admin": true},
2012-04-19 09:29:37 +00:00
"canSeeAccessed": {"staff": true, "admin": true},
2011-10-25 13:59:27 +00:00
"canSeeDebugMenu": {"staff": true, "admin": true},
2012-03-21 09:36:11 +00:00
"canSeeExtraItemViews": {"staff": true, "admin": true},
2013-05-27 10:13:59 +00:00
"canSeeMedia": {"staff": true, "admin": true},
2011-10-24 15:58:10 +00:00
"canSeeItem": {"guest": 3, "member": 3, "friend": 4, "staff": 4, "admin": 4},
2012-03-21 13:39:36 +00:00
"canSeeSize": {"friend": true, "staff": true, "admin": true},
2012-07-01 12:24:57 +00:00
"canSeeSoftwareVersion": {"staff": true, "admin": true},
2013-02-25 10:23:49 +00:00
"canSendMail": {"staff": true, "admin": true}
2011-08-25 21:14:42 +00:00
},
2011-10-13 17:35:33 +00:00
/*
2013-04-18 10:55:37 +00:00
clipKeys are the properties that clips can be sorted by.
2011-10-13 17:35:33 +00:00
If sortOperator is not specified, it will be + for strings and - for numbers.
*/
2011-08-21 08:17:10 +00:00
"clipKeys": [
2011-10-09 12:46:35 +00:00
{"id": "text", "title": "Text", "type": "string"},
2011-10-13 17:35:33 +00:00
{"id": "position", "title": "Position", "type": "float", "sortOperator": "+"},
2011-10-09 12:46:35 +00:00
{"id": "duration", "title": "Duration", "type": "float"},
2011-10-13 17:35:33 +00:00
{"id": "hue", "title": "Hue", "type": "float", "sortOperator": "+"},
2011-10-09 12:46:35 +00:00
{"id": "saturation", "title": "Saturation", "type": "float"},
{"id": "lightness", "title": "Lightness", "type": "float"},
{"id": "volume", "title": "Volume", "type": "float"}
2011-08-21 08:17:10 +00:00
],
2012-01-20 17:53:21 +00:00
/*
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.
*/
"clipLayers": ["subtitles"],
2013-02-19 19:57:59 +00:00
"flags": true,
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"},
2014-02-17 09:40:20 +00:00
{"id": "documents", "title": "Documents"},
2013-03-05 09:33:15 +00:00
{"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
],
2011-10-13 17:35:33 +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
2013-07-22 13:16:18 +00:00
autocompleteSort: Sort order of autocomplete suggestions
2011-10-13 17:35:33 +00:00
capability: A capability required to see this key
columnRequired: If true, the column can't be removed
columnWidth: Default column width in px
2012-03-08 11:33:20 +00:00
filter: If true, one can filter results by this key
find: If true, this key will appear as a find option
2011-10-13 17:35:33 +00:00
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
2012-03-08 11:33:20 +00:00
sort: If true, one can sort results by this key
2011-10-13 17:35:33 +00:00
sortOperator: sort operator (+, -), in case it differs from the
default for the key's type (+ for strings, - for numbers)
2012-03-08 11:33:20 +00:00
sortType: special sort type (title, person)
2011-10-13 17:35:33 +00:00
value: {key: "...", type: "..."}, for keys that are derived
from other keys (like number of actors), or "capability"
*/
2011-01-24 09:38:46 +00:00
"itemKeys": [
2011-05-30 13:46:57 +00:00
{
2011-09-23 10:44:54 +00:00
"id": "*",
2011-05-30 13:46:57 +00:00
"title": "All",
2011-09-19 12:29:55 +00:00
"type": "text",
2011-05-30 13:46:57 +00:00
"find": true
},
2011-01-24 04:08:45 +00:00
{
2011-01-24 09:38:46 +00:00
"id": "title",
"title": "Title",
"type": "string",
2012-01-20 17:53:21 +00:00
"additionalSort": [{"key": "year", "operator": "-"}, {"key": "director", "operator": "+"}],
2011-01-24 04:08:45 +00:00
"autocomplete": true,
2013-07-22 13:16:18 +00:00
"autocompleteSort": [{"key": "likes", "operator": "-"}],
2011-01-24 04:08:45 +00:00
"columnRequired": true,
"columnWidth": 180,
"find": true,
2012-03-08 11:33:20 +00:00
"sort": true,
"sortType": "title"
2011-01-24 09:38:46 +00:00
},
{
"id": "director",
"title": "Director",
"type": ["string"],
2012-01-20 17:53:21 +00:00
"additionalSort": [{"key": "year", "operator": "-"}, {"key": "title", "operator": "-"}],
2011-01-24 04:08:45 +00:00
"autocomplete": true,
"columnRequired": true,
"columnWidth": 180,
2011-11-06 08:28:10 +00:00
"filter": true,
2011-01-24 04:08:45 +00:00
"find": true,
2012-03-08 11:33:20 +00:00
"sort": true,
"sortType": "person"
2011-01-24 09:38:46 +00:00
},
{
"id": "country",
"title": "Country",
"type": ["string"],
2011-01-24 04:08:45 +00:00
"autocomplete": true,
"columnWidth": 120,
2011-11-06 08:28:10 +00:00
"filter": true,
2012-03-08 11:33:20 +00:00
"find": true,
"sort": true
2011-01-24 09:38:46 +00:00
},
{
"id": "year",
"title": "Year",
2011-11-10 13:55:55 +00:00
"type": "year",
2012-01-20 17:53:21 +00:00
"additionalSort": [{"key": "director", "operator": "+"}, {"key": "title", "operator": "+"}],
2011-01-24 04:08:45 +00:00
"autocomplete": true,
"columnWidth": 60,
2011-11-06 08:28:10 +00:00
"filter": true,
2012-03-08 11:33:20 +00:00
"find": true,
"sort": true
2011-01-24 09:38:46 +00:00
},
{
"id": "language",
"title": "Language",
"type": ["string"],
2011-01-24 04:08:45 +00:00
"autocomplete": true,
"columnWidth": 120,
2012-03-08 11:33:20 +00:00
"filter": true,
2011-01-24 04:08:45 +00:00
"find": true,
2012-03-08 11:33:20 +00:00
"sort": true
2011-01-24 09:38:46 +00:00
},
2011-01-23 04:58:40 +00:00
{
"id": "runtime",
"title": "Runtime",
2011-11-10 16:34:45 +00:00
"type": "time",
2011-01-24 04:08:45 +00:00
"columnWidth": 60,
2012-03-08 11:33:20 +00:00
"format": {"type": "duration", "args": [0, "short"]},
"sort": true
2011-01-23 04:58:40 +00:00
},
2013-07-08 13:27:38 +00:00
{
"id": "color",
"title": "Color",
"type": ["string"],
"columnWidth": 120,
"filter": true,
"sort": true
},
{
"id": "sound",
"title": "Sound",
"type": ["string"],
"columnWidth": 120,
"filter": true,
"sort": true
},
2011-01-24 09:38:46 +00:00
{
"id": "writer",
"title": "Writer",
"type": ["string"],
2011-01-24 04:08:45 +00:00
"autocomplete": true,
"columnWidth": 180,
2011-11-06 08:28:10 +00:00
"filter": true,
2011-01-24 04:08:45 +00:00
"find": true,
2012-03-08 11:33:20 +00:00
"sort": true,
"sortType": "person"
2011-01-24 09:38:46 +00:00
},
{
2011-01-23 04:58:40 +00:00
"id": "producer",
2011-01-24 09:38:46 +00:00
"title": "Producer",
2011-01-24 04:08:45 +00:00
"type": ["string"],
"autocomplete": true,
"columnWidth": 180,
2011-11-06 08:28:10 +00:00
"filter": true,
2011-01-24 04:08:45 +00:00
"find": true,
2012-03-08 11:33:20 +00:00
"sort": true,
"sortType": "person"
2011-01-24 09:38:46 +00:00
},
{
"id": "cinematographer",
"title": "Cinematographer",
"type": ["string"],
2011-01-24 04:08:45 +00:00
"autocomplete": true,
"columnWidth": 180,
2011-11-06 08:28:10 +00:00
"filter": true,
2011-01-24 04:08:45 +00:00
"find": true,
2012-03-08 11:33:20 +00:00
"sort": true,
"sortType": "person"
2011-01-24 09:38:46 +00:00
},
{
"id": "editor",
"title": "Editor",
"type": ["string"],
2011-01-24 04:08:45 +00:00
"autocomplete": true,
"columnWidth": 180,
2011-11-06 08:28:10 +00:00
"filter": true,
2011-01-24 04:08:45 +00:00
"find": true,
2012-03-08 11:33:20 +00:00
"sort": true,
"sortType": "person"
2011-01-24 09:38:46 +00:00
},
{
"id": "actor",
2011-01-24 04:08:45 +00:00
"title": "Actor",
2011-01-24 09:38:46 +00:00
"type": ["string"],
2011-01-24 04:08:45 +00:00
"autocomplete": true,
2011-11-06 08:28:10 +00:00
"filter": true,
2011-01-24 04:08:45 +00:00
"find": true,
2012-03-08 11:33:20 +00:00
"sortType": "person"
2011-01-24 09:38:46 +00:00
},
2011-01-23 04:58:40 +00:00
{
"id": "numberofactors",
"title": "Number of Actors",
2011-01-24 04:08:45 +00:00
"type": "integer",
"columnWidth": 60,
2012-03-08 11:33:20 +00:00
"sort": true,
2011-01-24 04:08:45 +00:00
"value": {"key": "actor", "type": "length"}
2011-01-23 04:58:40 +00:00
},
2011-01-24 09:38:46 +00:00
{
"id": "character",
"title": "Character",
"type": ["string"],
2011-01-24 04:08:45 +00:00
"autocomplete": true,
"find": true,
2012-03-08 11:33:20 +00:00
"sortType": "string"
2011-01-24 09:38:46 +00:00
},
{
"id": "name",
2011-01-24 04:08:45 +00:00
"title": "Name",
2011-01-24 09:38:46 +00:00
"type": ["string"],
2011-01-24 04:08:45 +00:00
"autocomplete": true,
"find": true
2011-01-24 09:38:46 +00:00
},
2013-07-08 13:27:38 +00:00
{
"id": "productionCompany",
"title": "Production Company",
"type": ["string"],
"autocomplete": true,
"columnWidth": 180,
2013-09-30 18:34:44 +00:00
"filter": true,
2013-07-08 13:27:38 +00:00
"find": true,
"sort": true
},
2011-11-10 15:03:10 +00:00
{
"id": "series",
"title": "TV Series",
"type": "boolean"
},
2011-01-24 09:38:46 +00:00
{
"id": "genre",
2011-01-24 04:08:45 +00:00
"title": "Genre",
2011-01-24 09:38:46 +00:00
"type": ["string"],
2011-01-24 04:08:45 +00:00
"autocomplete": true,
"columnWidth": 120,
2011-11-06 08:28:10 +00:00
"filter": true,
2012-03-08 11:33:20 +00:00
"find": true,
"sort": true
2011-01-24 09:38:46 +00:00
},
{
"id": "keyword",
2011-01-24 04:08:45 +00:00
"title": "Keyword",
2011-01-24 09:38:46 +00:00
"type": ["string"],
2011-01-24 04:08:45 +00:00
"autocomplete": true,
2011-11-06 08:28:10 +00:00
"filter": true,
"find": true
2011-01-24 09:38:46 +00:00
},
{
"id": "summary",
"title": "Summary",
"type": "text",
2011-01-24 04:08:45 +00:00
"find": true
2011-01-24 09:38:46 +00:00
},
2011-01-24 04:08:45 +00:00
{
"id": "trivia",
"title": "Trivia",
"type": ["text"]
},
2011-01-24 09:38:46 +00:00
{
"id": "releasedate",
"title": "Release Date",
"type": "date",
2011-01-24 04:08:45 +00:00
"columnWidth": 120,
2012-03-08 11:33:20 +00:00
"format": {"type": "date", "args": ["%a, %b %e, %Y"]},
"sort": true
2011-01-24 09:38:46 +00:00
},
{
"id": "budget",
"title": "Budget",
"type": "integer",
2011-01-24 04:08:45 +00:00
"columnWidth": 90,
2013-05-31 21:57:02 +00:00
"format": {"type": "currency", "args": ["$"]},
2012-03-08 11:33:20 +00:00
"sort": true
2011-01-24 09:38:46 +00:00
},
{
"id": "gross",
"title": "Gross",
"type": "integer",
2011-01-24 04:08:45 +00:00
"columnWidth": 90,
2013-05-31 21:57:02 +00:00
"format": {"type": "currency", "args": ["$"]},
2012-03-08 11:33:20 +00:00
"sort": true
2011-01-24 09:38:46 +00:00
},
{
"id": "profit",
"title": "Profit",
"type": "integer",
2011-01-24 04:08:45 +00:00
"columnWidth": 90,
2013-05-31 21:57:02 +00:00
"format": {"type": "currency", "args": ["$"]},
2012-03-08 11:33:20 +00:00
"sort": true
2011-01-24 09:38:46 +00:00
},
{
"id": "votes",
2012-10-04 09:42:33 +00:00
"title": "Mainstream Score",
2011-11-10 19:52:26 +00:00
"type": "float",
2011-01-24 04:08:45 +00:00
"columnWidth": 60,
2014-02-24 11:25:47 +00:00
"default": 0,
2012-10-05 12:15:27 +00:00
"format": {"type": "ColorPercent", "args": [1, true]},
2012-03-08 11:33:20 +00:00
"sort": true
2011-01-24 09:38:46 +00:00
},
2012-09-26 23:08:39 +00:00
{
"id": "likes",
2012-10-04 09:42:33 +00:00
"title": "Arthouse Score",
2012-09-27 13:11:22 +00:00
"type": "float",
2012-09-26 23:08:39 +00:00
"columnWidth": 60,
2014-02-24 11:25:47 +00:00
"default": 0,
2012-10-05 12:15:27 +00:00
"format": {"type": "ColorPercent", "args": [1, true]},
2012-09-26 23:08:39 +00:00
"sort": true
},
2013-03-03 11:22:37 +00:00
{
"id": "notes",
"title": "Notes",
"type": "text",
"capability": "canEditMetadata"
},
2011-01-24 09:38:46 +00:00
{
"id": "id",
"title": "ID",
2011-01-24 04:08:45 +00:00
"type": "string",
2012-03-08 11:33:20 +00:00
"columnWidth": 90,
"sort": true
2011-01-24 09:38:46 +00:00
},
2013-08-07 11:05:59 +00:00
{
"id": "oxdbId",
"title": "0xDB ID",
"type": "string",
"columnWidth": 90,
"sort": true
},
2011-01-23 04:58:40 +00:00
{
2011-01-24 04:08:45 +00:00
"id": "subtitles",
"title": "Subtitles",
"type": "layer",
"find": true
},
{
"id": "duration",
"title": "Duration",
2013-03-03 10:52:17 +00:00
"type": "time",
2011-01-24 04:08:45 +00:00
"columnWidth": 90,
2012-03-08 11:33:20 +00:00
"format": {"type": "duration", "args": []},
"sort": true
2011-01-24 04:08:45 +00:00
},
{
"id": "resolution",
"title": "Resolution",
"type": ["integer"],
2013-05-27 10:13:59 +00:00
"capability": "canSeeMedia",
2011-11-10 21:22:58 +00:00
"columnWidth": 90,
2012-03-08 11:33:20 +00:00
"format": {"type": "resolution", "args": ["px"]},
"sort": true
2011-01-23 04:58:40 +00:00
},
2011-01-24 09:38:46 +00:00
{
"id": "aspectratio",
"title": "Aspect Ratio",
2011-01-24 04:08:45 +00:00
"type": "float",
"columnWidth": 90,
2012-07-02 14:11:58 +00:00
"format": {"type": "unit", "args": [":1", 3]},
2012-03-08 11:33:20 +00:00
"sort": true
2011-01-24 09:38:46 +00:00
},
{
2011-01-24 04:08:45 +00:00
"id": "pixels",
"title": "Pixels",
"type": "integer",
2013-05-27 10:13:59 +00:00
"capability": "canSeeMedia",
2011-01-24 04:08:45 +00:00
"columnWidth": 90,
2012-03-08 11:33:20 +00:00
"format": {"type": "value", "args": ["px"]},
"sort": true
2011-01-24 09:38:46 +00:00
},
{
2011-01-24 04:08:45 +00:00
"id": "hue",
"title": "Hue",
2011-10-09 12:46:35 +00:00
"type": "float",
2011-01-24 04:08:45 +00:00
"columnWidth": 90,
2011-10-09 12:46:35 +00:00
"format": {"type": "color", "args": ["hue"]},
2012-03-08 11:33:20 +00:00
"sort": true,
2011-10-25 13:59:27 +00:00
"sortOperator": "+"
2011-01-24 09:38:46 +00:00
},
{
"id": "saturation",
"title": "Saturation",
2011-01-24 04:08:45 +00:00
"type": "float",
"columnWidth": 90,
2012-03-08 11:33:20 +00:00
"format": {"type": "color", "args": ["saturation"]},
"sort": true
2011-01-24 09:38:46 +00:00
},
{
2011-01-24 04:08:45 +00:00
"id": "lightness",
"title": "Lightness",
"type": "float",
"columnWidth": 90,
2012-03-08 11:33:20 +00:00
"format": {"type": "color", "args": ["lightness"]},
"sort": true
2011-01-24 09:38:46 +00:00
},
{
"id": "volume",
"title": "Volume",
2011-01-24 04:08:45 +00:00
"type": "float",
2012-03-08 11:33:20 +00:00
"columnWidth": 60,
2012-06-10 20:12:14 +00:00
"format": {"type": "color", "args": ["lightness"]},
2012-03-08 11:33:20 +00:00
"sort": true
2011-01-24 09:38:46 +00:00
},
{
2011-01-24 04:08:45 +00:00
"id": "numberofcuts",
"title": "Number of Cuts",
"type": "integer",
"columnWidth": 60,
2012-03-08 09:54:07 +00:00
"format": {"type": "number", "args": []},
2012-03-08 11:33:20 +00:00
"sort": true,
2011-01-24 04:08:45 +00:00
"value": {"key": "cuts", "type": "length"}
2011-01-24 09:38:46 +00:00
},
{
"id": "cutsperminute",
"title": "Cuts per Minute",
2011-01-24 04:08:45 +00:00
"type": "float",
"columnWidth": 60,
2012-03-08 11:50:35 +00:00
"format": {"type": "number", "args": [3]},
2012-03-08 11:33:20 +00:00
"sort": true,
2011-01-24 04:08:45 +00:00
"value": {"key": "cuts", "type": "lengthperminute"}
2011-01-24 09:38:46 +00:00
},
{
"id": "words",
2012-03-08 09:54:07 +00:00
"title": "Number of Words",
2011-01-24 04:08:45 +00:00
"type": "integer",
"columnWidth": 60,
2012-03-08 09:54:07 +00:00
"format": {"type": "number", "args": []},
2012-03-08 11:33:20 +00:00
"sort": true,
2011-01-24 04:08:45 +00:00
"value": {"layer": "subtitles", "type": "words"}
2011-01-24 09:38:46 +00:00
},
{
"id": "wordsperminute",
"title": "Words per Minute",
2011-01-24 04:08:45 +00:00
"type": "float",
"columnWidth": 60,
2012-03-08 11:50:35 +00:00
"format": {"type": "number", "args": [3]},
2012-03-08 11:33:20 +00:00
"sort": true,
2011-01-24 04:08:45 +00:00
"value": {"layer": "subtitles", "type": "wordsperminute"}
2011-01-24 09:38:46 +00:00
},
{
"id": "size",
"title": "Size",
2011-01-24 04:08:45 +00:00
"type": "integer",
2012-03-21 13:39:36 +00:00
"capability": "canSeeSize",
2011-01-24 04:08:45 +00:00
"columnWidth": 60,
2012-03-08 11:33:20 +00:00
"format": {"type": "value", "args": ["B"]},
"sort": true
2011-01-24 09:38:46 +00:00
},
{
"id": "bitrate",
"title": "Bitrate",
2011-01-24 04:08:45 +00:00
"type": "integer",
2013-05-27 10:13:59 +00:00
"capability": "canSeeMedia",
2011-01-24 04:08:45 +00:00
"columnWidth": 60,
2012-06-04 10:33:58 +00:00
"format": {"type": "value", "args": ["bps"]},
2012-03-08 11:33:20 +00:00
"sort": true
2011-01-24 09:38:46 +00:00
},
2011-08-25 21:14:42 +00:00
{
"id": "parts",
2012-03-08 10:07:20 +00:00
"title": "Number of Parts",
2011-08-25 21:14:42 +00:00
"type": "integer",
2013-05-27 10:13:59 +00:00
"capability": "canSeeMedia",
2012-03-08 11:33:20 +00:00
"columnWidth": 60,
"sort": true
2011-08-25 21:14:42 +00:00
},
2011-01-24 09:38:46 +00:00
{
2011-01-24 04:08:45 +00:00
"id": "numberoffiles",
"title": "Number of Files",
"type": "integer",
2013-05-27 10:13:59 +00:00
"capability": "canSeeMedia",
2011-01-24 04:08:45 +00:00
"columnWidth": 60,
2012-03-08 11:33:20 +00:00
"sort": true,
2011-08-25 21:14:42 +00:00
"value": {"key": "files", "type": "length"}
2011-01-24 09:38:46 +00:00
},
{
"id": "filename",
"title": "Filename",
2011-01-24 04:08:45 +00:00
"type": ["string"],
2013-05-27 10:13:59 +00:00
"capability": "canSeeMedia",
2011-08-25 21:14:42 +00:00
"find": true
2011-01-24 09:38:46 +00:00
},
{
2011-11-10 19:52:26 +00:00
"id": "created",
"title": "Date Created",
2011-01-24 04:08:45 +00:00
"type": "date",
2011-11-10 19:52:26 +00:00
"columnWidth": 150,
2012-03-08 11:33:20 +00:00
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
"sort": true
2011-01-24 09:38:46 +00:00
},
{
"id": "modified",
2011-11-10 19:52:26 +00:00
"title": "Last Modified",
2011-01-24 04:08:45 +00:00
"type": "date",
2011-11-10 19:52:26 +00:00
"columnWidth": 150,
2012-03-08 11:33:20 +00:00
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
"sort": true
2011-01-24 09:38:46 +00:00
},
2011-01-23 04:58:40 +00:00
{
"id": "accessed",
2011-11-10 19:52:26 +00:00
"title": "Last Accessed",
2011-01-24 04:08:45 +00:00
"type": "date",
2012-04-19 09:29:37 +00:00
"capability": "canSeeAccessed",
2011-11-10 19:52:26 +00:00
"columnWidth": 150,
2012-03-08 11:33:20 +00:00
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
"sort": true
2011-01-23 04:58:40 +00:00
},
2011-01-24 09:38:46 +00:00
{
2011-11-10 19:52:26 +00:00
"id": "timesaccessed",
"title": "Times Accessed",
2011-01-24 04:08:45 +00:00
"type": "integer",
2012-04-19 09:29:37 +00:00
"capability": "canSeeAccessed",
2012-03-08 11:33:20 +00:00
"columnWidth": 60,
2013-08-01 15:10:58 +00:00
"format": {"type": "number", "args": []},
2012-03-08 11:33:20 +00:00
"sort": true
2011-08-25 21:14:42 +00:00
},
2011-10-25 13:59:27 +00:00
{
"id": "rightslevel",
"title": "Rights Level",
2011-11-10 21:22:58 +00:00
"type": "enum",
2011-10-26 14:52:23 +00:00
"columnWidth": 90,
"format": {"type": "ColorLevel", "args": [
["Public", "Relaxed", "Regular", "Restricted", "Private"]
]},
2012-03-08 11:33:20 +00:00
"sort": true,
2011-11-10 21:22:58 +00:00
"sortOperator": "+",
"values": ["Public", "Relaxed", "Regular", "Restricted", "Private", "Unknown"]
2011-10-25 13:59:27 +00:00
},
2011-08-25 21:14:42 +00:00
{
2011-11-10 14:59:12 +00:00
"id": "canplayvideo",
2011-08-25 21:14:42 +00:00
"title": "Can Play Video",
"type": "boolean",
"value": "capability"
},
{
2011-11-10 14:59:12 +00:00
"id": "canplayclips",
2011-08-25 21:14:42 +00:00
"title": "Can Play Clips",
"type": "boolean",
"value": "capability"
2012-02-15 20:48:08 +00:00
},
{
"id": "random",
"title": "Random",
2012-03-08 11:33:20 +00:00
"type": "integer",
"sort": true
2011-01-24 09:38:46 +00:00
}
],
2011-10-13 17:35:33 +00:00
/*
itemName specifies how items are being referred to.
Anything excessively long may cause layout errors.
*/
2011-01-03 20:39:23 +00:00
"itemName": {
"singular": "Movie",
"plural": "Movies"
},
2013-02-25 10:23:49 +00:00
"itemRequiresVideo": true,
2010-09-05 00:31:29 +00:00
"itemViews": [
{"id": "info", "title": "Info"},
2012-04-17 07:06:19 +00:00
{"id": "player", "title": "Player"},
{"id": "editor", "title": "Editor"},
2012-04-18 08:32:58 +00:00
{"id": "timeline", "title": "Timeline"},
{"id": "clips", "title": "Clips"},
2010-09-05 00:31:29 +00:00
{"id": "map", "title": "Map"},
2011-08-24 21:04:13 +00:00
{"id": "calendar", "title": "Calendar"},
2011-09-28 17:32:03 +00:00
{"id": "data", "title": "Data"},
2013-05-27 10:13:59 +00:00
{"id": "media", "title": "Media"}
2010-09-05 00:31:29 +00:00
],
2014-01-19 07:41:14 +00:00
"language": "en",
2014-04-01 14:13:52 +00:00
"languages": ["ar", "el", "en", "hi"],
2011-10-30 09:49:12 +00:00
// fixme: should be renamed to annotationLayers
2011-01-03 20:39:23 +00:00
"layers": [
2011-01-24 04:08:45 +00:00
{
"id": "privatenotes",
"title": "Private Notes",
2012-01-02 19:06:56 +00:00
"canAddAnnotations": {"member": true, "friend": true, "staff": true, "admin": true},
2012-06-16 16:44:29 +00:00
"item": "Private Note",
2011-01-24 04:08:45 +00:00
"overlap": true,
2012-01-02 19:06:56 +00:00
"private": true,
2012-01-12 10:39:19 +00:00
"showInfo": true,
2012-01-02 19:06:56 +00:00
"type": "text"
2011-01-24 04:08:45 +00:00
},
{
"id": "publicnotes",
"title": "Public Notes",
2012-01-02 19:06:56 +00:00
"canAddAnnotations": {"member": true, "friend": true, "staff": true, "admin": true},
2012-06-16 16:44:29 +00:00
"item": "Public Note",
2011-01-24 04:08:45 +00:00
"overlap": true,
2012-01-12 10:39:19 +00:00
"showInfo": true,
2011-01-24 04:08:45 +00:00
"type": "text"
},
{
"id": "subtitles",
"title": "Subtitles",
2012-01-02 19:06:56 +00:00
"canAddAnnotations": {"staff": true, "admin": true},
"hasEvents": true,
"hasPlaces": true,
2012-02-19 14:15:24 +00:00
"isSubtitles": true,
2012-01-11 12:22:59 +00:00
"item": "Subtitle",
2012-01-02 19:06:56 +00:00
"type": "text"
2011-01-24 04:08:45 +00:00
}
2011-01-03 20:39:23 +00:00
],
2010-09-05 00:31:29 +00:00
"listViews": [
{"id": "list", "title": "as List"},
2011-09-17 07:07:59 +00:00
{"id": "grid", "title": "as Grid"},
2011-10-16 17:27:00 +00:00
//{"id": "info", "title": "with Info"},
2010-09-05 00:31:29 +00:00
{"id": "timelines", "title": "with Timelines"},
2012-04-18 08:32:58 +00:00
{"id": "clips", "title": "with Clips"},
2011-10-16 17:23:27 +00:00
//{"id": "maps", "title": "with Maps"},
//{"id": "calendars", "title": "with Calendars"},
2010-09-05 00:31:29 +00:00
{"id": "clip", "title": "as Clips"},
2013-07-22 18:57:16 +00:00
//{"id": "video", "title": "as Video"},
2010-09-05 00:31:29 +00:00
{"id": "map", "title": "on Map"},
{"id": "calendar", "title": "on Calendar"}
],
2011-06-06 18:38:16 +00:00
"media": {
2012-02-19 14:15:24 +00:00
"importPosters": true,
"importFrames": true
2011-06-06 18:38:16 +00:00
},
2013-08-08 13:01:45 +00:00
"menuExtras": [
"user",
2013-09-29 13:00:06 +00:00
//"persona",
2013-08-08 13:01:45 +00:00
//"locale",
"reload"
],
2011-10-13 10:12:00 +00:00
"personalLists": [
2011-11-11 15:15:13 +00:00
{"title": "Favorites"},
2011-11-11 15:52:40 +00:00
{"title": "1960s", "query": {"conditions": [{"key": "year", "value": ["1960", "1970"], "operator": "="}], "operator": "&"}}
2011-11-11 15:15:13 +00:00
//{"title": "Movies with Video", "query": {"conditions": [{"key": "canplayvideo", "value": "true", "operator": "="}], "operator": "&"}},
//{"title": "Movies with Clips", "query": {"conditions": [{"key": "canplayclips", "value": "true", "operator": "="}], "operator": "&"}}
2011-10-13 10:12:00 +00:00
],
2013-07-08 12:40:23 +00:00
"posters": {
"ratio": 0.625
},
2011-10-28 23:10:00 +00:00
"rightsLevel": {"member": 4, "staff": 3, "admin": 2},
2011-08-25 21:14:42 +00:00
"rightsLevels": [
2011-10-24 10:04:41 +00:00
{"name": "Public", "color": [128, 255, 128]},
{"name": "Relaxed", "color": [192, 255, 128]},
{"name": "Regular", "color": [255, 255, 128]},
{"name": "Restricted", "color": [255, 192, 128]},
{"name": "Private", "color": [255, 128, 128]}
2011-08-25 21:14:42 +00:00
],
2010-09-14 13:49:04 +00:00
"site": {
2012-03-20 19:23:15 +00:00
"description": "0xDB is an experimental - and to some degree imaginary - movie database. It is intended to help us rethink the future of cinema on the Internet, just as it tries to push the boundaries of what we understand as \"web applications\". What 0xDB proposes is an entirely new approach to visualizing and navigating moving images, and we hope that it can serve as a point of reference for individuals and institutions who are dealing with large collections of films.",
2011-12-18 09:27:15 +00:00
// FIXME: "from" and "to" would be more intuitive as keys here
2011-10-13 10:12:00 +00:00
"email": {
// E-mail address in contact form (to)
2012-03-18 21:58:39 +00:00
"contact": "0xDB@0xDB.org",
"footer": "-- \n0xDB - https://0xDB.org",
2011-12-18 09:27:15 +00:00
"prefix": "0xDB Newsletter -",
2011-10-13 10:12:00 +00:00
// E-mail address uses by the system (from)
2012-03-18 21:58:39 +00:00
"system": "0xDB@0xDB.org"
2011-10-13 10:12:00 +00:00
},
2013-02-24 09:17:03 +00:00
"https": true,
2012-04-20 10:22:32 +00:00
"id": "0xdb",
2011-11-03 12:58:22 +00:00
"name": "0xDB",
2014-10-02 17:57:30 +00:00
"sendReferrer": false,
2012-03-18 21:58:39 +00:00
"url": "0xDB.org",
2011-10-27 10:07:44 +00:00
"videoprefix": ""
2010-09-14 13:49:04 +00:00
},
2011-01-21 05:13:41 +00:00
"sitePages": [
{"id": "about", "title": "About"},
{"id": "news", "title": "News"},
2011-11-09 15:01:23 +00:00
// {"id": "tour", "title": "Take a Tour"},
2011-01-21 05:13:41 +00:00
{"id": "faq", "title": "Frequently Asked Questions"},
2011-10-24 15:58:10 +00:00
{"id": "terms", "title": "Terms of Service"},
{"id": "rights", "title": "Rights Management"},
{"id": "contact", "title": "Contact"}
2010-09-05 00:31:29 +00:00
],
2013-02-23 05:02:22 +00:00
"sites": [
2013-02-24 09:17:03 +00:00
{"name": "Indiancine.ma", "url": "indiancine.ma", "https": true},
{"name": "Pad.ma", "url": "pad.ma", "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-10 11:51:59 +00:00
"themes": ["oxlight", "oxmedium", "oxdark"],
2012-03-17 06:31:34 +00:00
"timelines": [
{"id": "antialias", "title": "Anti-Alias"},
{"id": "slitscan", "title": "Slit-Scan"},
2012-06-20 16:57:55 +00:00
{"id": "keyframes", "title": "Keyframes"},
{"id": "audio", "title": "Waveform"}
2012-03-17 06:31:34 +00:00
],
2010-09-05 00:31:29 +00:00
"totals": [
{"id": "items"},
{"id": "runtime"},
2014-10-02 18:08:38 +00:00
{"id": "files", "capability": "canSeeMedia"},
{"id": "duration", "capability": "canSeeMedia"},
{"id": "size", "capability": "canSeeMedia"},
2010-09-05 00:31:29 +00:00
{"id": "pixels"}
],
2011-12-19 21:12:23 +00:00
"tv": {
"showLogo": false
},
2010-09-05 00:31:29 +00:00
"user": {
2011-01-21 19:10:42 +00:00
"level": "guest",
2011-12-22 15:48:48 +00:00
"newsletter": true,
2010-09-05 00:31:29 +00:00
"ui": {
2013-07-06 10:54:58 +00:00
"annotationsCalendarSize": 128,
"annotationsMapSize": 128,
2012-02-19 07:52:08 +00:00
"annotationsRange": "all",
2011-01-03 20:39:23 +00:00
"annotationsSize": 256,
2012-01-03 20:17:44 +00:00
"annotationsSort": "position",
2013-03-06 14:09:18 +00:00
"calendarFind": "",
"calendarSelection": "",
2013-07-12 20:34:30 +00:00
"clipColumns": 2,
2011-09-23 10:44:54 +00:00
"columns": {
"Colors": {
"columns": ["title", "director", "country", "year", "hue", "saturation", "brightness"],
"columnWidth": {}
}
},
2014-01-07 07:51:44 +00:00
"document": "",
2014-01-07 06:49:17 +00:00
"documents": {},
2014-01-06 12:44:37 +00:00
"documentSize": 256,
2014-01-19 06:44:19 +00:00
"documentsSelection": {},
2014-01-08 08:34:29 +00:00
"documentsSort": [{"key": "name", "operator": "+"}],
2014-01-06 12:44:37 +00:00
"documentsView": "grid",
2013-03-06 12:44:12 +00:00
"edit": "",
2013-08-07 14:31:03 +00:00
"edits": {},
2014-02-06 08:54:36 +00:00
"editSelection": [],
2014-02-09 05:19:15 +00:00
"editSort": [
{"key": "index", "operator": "+"},
{"key": "year", "operator": "+"},
{"key": "director", "operator": "+"},
2014-02-09 06:42:21 +00:00
{"key": "title", "operator": "+"},
{"key": "position", "operator": "+"},
{"key": "duration", "operator": "+"}
2014-02-09 05:19:15 +00:00
],
2014-02-06 08:54:36 +00:00
"editView": "list",
2013-02-21 09:48:30 +00:00
"embedSize": 256,
2011-11-06 08:28:10 +00:00
"filters": [
2011-09-17 23:24:53 +00:00
{"id": "director", "sort": [{"key": "items", "operator": "-"}]},
{"id": "country", "sort": [{"key": "items", "operator": "-"}]},
{"id": "year", "sort": [{"key": "name", "operator": "-"}]},
{"id": "language", "sort": [{"key": "items", "operator": "-"}]},
{"id": "genre", "sort": [{"key": "items", "operator": "-"}]}
],
2011-11-06 08:28:10 +00:00
"filtersSize": 176,
"find": {"conditions": [], "operator": "&"},
2012-04-17 12:02:32 +00:00
"followPlayer": true,
2013-03-06 12:44:12 +00:00
"help": "",
2011-08-06 01:04:09 +00:00
"icons": "posters",
2011-08-06 01:34:07 +00:00
"infoIconSize": 256,
2011-01-03 20:39:23 +00:00
"item": "",
2012-02-01 12:01:39 +00:00
"itemFind": "",
2011-10-09 13:31:46 +00:00
"itemSort": [{"key": "position", "operator": "+"}],
2011-08-17 09:29:42 +00:00
"itemView": "info",
2011-09-23 10:44:54 +00:00
"listColumns": ["title", "director", "country", "year", "language", "runtime", "genre"],
"listColumnWidth": {},
"listSelection": [],
2014-02-09 05:19:15 +00:00
"listSort": [
{"key": "director", "operator": "+"},
{"key": "year", "operator": "-"},
{"key": "title", "operator": "+"}
],
2011-09-23 10:44:54 +00:00
"listView": "grid",
"lists": {},
2013-08-04 14:37:35 +00:00
"locale": "en",
2011-10-01 13:51:18 +00:00
"mapFind": "",
"mapSelection": "",
2014-04-09 15:44:28 +00:00
"onload": "",
2011-11-09 22:32:54 +00:00
"page": "",
2013-07-11 15:15:00 +00:00
"part": {
"api": "",
2014-01-17 13:49:11 +00:00
"documents": "",
2013-07-11 15:15:00 +00:00
"faq": "",
"help": "",
2013-07-11 18:01:31 +00:00
"news": "",
2013-08-08 11:00:47 +00:00
"preferences": "",
2013-07-11 18:01:31 +00:00
"tv": ""
2013-07-11 15:15:00 +00:00
},
2011-01-03 20:39:23 +00:00
"section": "items",
2012-06-06 15:34:34 +00:00
"sequenceMode": "shape",
"sequenceSort": [{"key": "director", "operator": "+"}],
2013-02-23 05:02:22 +00:00
"showAdvancedEmbedOptions": false,
2010-11-28 15:06:27 +00:00
"showAnnotations": true,
2013-07-06 10:54:58 +00:00
"showAnnotationsCalendar": true,
"showAnnotationsMap": true,
2011-10-13 10:12:00 +00:00
"showBrowser": true,
2011-10-31 12:46:17 +00:00
"showCalendarControls": true, // fixme: should be false
2013-07-12 20:34:30 +00:00
"showClips": true,
2014-01-06 12:37:15 +00:00
"showDocument": true,
2011-11-06 08:28:10 +00:00
"showFilters": true,
2011-10-02 15:37:58 +00:00
"showIconBrowser": false,
2010-09-05 00:31:29 +00:00
"showInfo": true,
2012-01-11 07:51:26 +00:00
"showLayers": {
"privatenotes": true,
"publicnotes": true,
"subtitles": true
},
2011-09-30 03:35:40 +00:00
"showMapControls": false,
"showMapLabels": false,
2011-01-21 05:13:41 +00:00
"showFolder": {
2013-05-27 20:06:56 +00:00
"edits": {
"personal": true,
"favorite": true,
"featured": true
2013-05-29 09:28:08 +00:00
},
2011-01-21 05:13:41 +00:00
"items": {
"personal": true,
"favorite": true,
2011-09-01 04:46:44 +00:00
"featured": true,
"volumes": true
2013-02-18 09:31:17 +00:00
},
2013-02-16 01:20:40 +00:00
"texts": {
"personal": true,
"favorite": true,
"featured": true
}
2011-01-14 03:53:26 +00:00
},
2014-01-18 10:55:23 +00:00
"showReflections": true,
2011-01-03 20:39:23 +00:00
"showSidebar": true,
2011-09-23 10:44:54 +00:00
"showSitePosters": false,
2011-11-05 22:14:10 +00:00
"showTimeline": true,
2011-01-05 13:06:09 +00:00
"sidebarSize": 256,
2013-03-06 12:44:12 +00:00
"text": "",
2013-08-07 14:31:03 +00:00
"texts": {},
2013-02-10 11:51:59 +00:00
"theme": "oxdark",
2013-03-03 11:15:28 +00:00
"updateAdvancedFindResults": false,
2013-07-12 20:34:30 +00:00
"videoLoop": false,
2012-03-06 20:15:03 +00:00
"videoMuted": false,
2011-09-17 07:07:59 +00:00
"videoPoints": {},
2011-12-20 13:08:30 +00:00
"videoResolution": 96,
2011-08-17 19:34:55 +00:00
"videoScale": "fit",
"videoSize": "small",
2011-12-22 15:48:48 +00:00
"videoSubtitles": true,
2012-03-17 06:31:34 +00:00
"videoTimeline": "antialias",
2012-04-17 07:06:19 +00:00
"videoView": "player",
2011-08-17 19:34:55 +00:00
"videoVolume": 1
2010-09-05 00:31:29 +00:00
},
2011-09-01 04:46:44 +00:00
"username": "",
2011-10-13 10:12:00 +00:00
"volumes": []
2011-01-24 04:08:45 +00:00
},
2011-10-24 10:04:41 +00:00
// fixme: this should include colors
2011-10-02 15:37:58 +00:00
"userLevels": ["guest", "member", "friend", "staff", "admin"],
2011-08-19 14:43:05 +00:00
"video": {
2013-09-14 14:09:37 +00:00
"torrent": true,
2011-08-19 21:00:22 +00:00
"formats": ["webm", "mp4"],
2013-07-15 14:45:54 +00:00
// fixme: this should be named "ratio" or "defaultRatio",
// as it also applies to clip lists (on load)
2012-01-30 21:16:58 +00:00
"previewRatio": 1.7777777778,
2011-08-19 14:43:05 +00:00
"resolutions": [96]
}
2012-04-18 10:51:48 +00:00
}