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
|
|
|
{
|
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": {
|
2011-10-30 21:05:57 +00:00
|
|
|
// "canClickMap": {"friend": true, "staff": true, "admin": true},
|
2011-10-02 15:37:58 +00:00
|
|
|
"canDeleteItems": {"admin": true},
|
2011-10-24 15:58:10 +00:00
|
|
|
"canDownloadVideo": {"guest": 0, "member": 0, "friend": 4, "staff": 4, "admin": 4},
|
2011-10-22 22:12:56 +00:00
|
|
|
"canEditMetadata": {"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},
|
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},
|
2011-10-25 13:59:27 +00:00
|
|
|
"canSeeDebugMenu": {"staff": true, "admin": true},
|
2011-10-13 10:12:00 +00:00
|
|
|
"canSeeFiles": {"staff": true, "admin": true},
|
2011-10-24 15:58:10 +00:00
|
|
|
"canSeeItem": {"guest": 3, "member": 3, "friend": 4, "staff": 4, "admin": 4},
|
2011-10-02 15:37:58 +00:00
|
|
|
"canSeeExtraItemViews": {"friend": true, "staff": true, "admin": true}
|
2011-08-25 21:14:42 +00:00
|
|
|
},
|
2011-10-13 17:35:33 +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.
|
|
|
|
*/
|
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
|
|
|
],
|
2011-10-13 17:35:33 +00:00
|
|
|
// fixme: either this, or group: true in itemKeys, but not both
|
2011-01-03 06:44:38 +00:00
|
|
|
"groups": [
|
2011-09-17 23:24:53 +00:00
|
|
|
{"id": "director", "title": "Director", "type": "string"},
|
|
|
|
{"id": "country", "title": "Country", "type": "string"},
|
|
|
|
{"id": "year", "title": "Year", "type": "integer"},
|
|
|
|
{"id": "language", "title": "Language", "type": "string"},
|
|
|
|
{"id": "genre", "title": "Genre", "type": "string"},
|
|
|
|
{"id": "writer", "title": "Writer", "type": "string"},
|
|
|
|
{"id": "producer", "title": "Producer", "type": "string"},
|
|
|
|
{"id": "cinematographer", "title": "Cinematographer", "type": "string"},
|
|
|
|
{"id": "editor", "title": "Editor", "type": "string"},
|
|
|
|
{"id": "actor", "title": "Actor", "type": "string"},
|
|
|
|
{"id": "keyword", "title": "Keyword", "type": "string"}
|
2011-01-03 20:39:23 +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
|
|
|
|
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
|
|
|
|
find: If true, will appear as a find option
|
|
|
|
format: {type: "...", args: [...]}, for special formatting
|
|
|
|
(Ox.formatType(args) will be called)
|
|
|
|
group: if true, one can group results by this key
|
|
|
|
sort: special sort rule (title, person)
|
|
|
|
sortOperator: sort operator (+, -), in case it differs from the
|
|
|
|
default for the key's type (+ for strings, - for numbers)
|
|
|
|
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",
|
2011-01-24 04:08:45 +00:00
|
|
|
"autocomplete": true,
|
|
|
|
"autocompleteSortKey": "votes",
|
|
|
|
"columnRequired": true,
|
|
|
|
"columnWidth": 180,
|
|
|
|
"find": true,
|
|
|
|
"sort": "title"
|
2011-01-24 09:38:46 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "director",
|
|
|
|
"title": "Director",
|
|
|
|
"type": ["string"],
|
2011-01-24 04:08:45 +00:00
|
|
|
"autocomplete": true,
|
|
|
|
"columnRequired": true,
|
|
|
|
"columnWidth": 180,
|
|
|
|
"find": true,
|
|
|
|
"group": true,
|
|
|
|
"sort": "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,
|
|
|
|
"find": true,
|
2011-01-24 09:38:46 +00:00
|
|
|
"group": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "year",
|
|
|
|
"title": "Year",
|
2011-10-13 17:35:33 +00:00
|
|
|
"type": "year", // fixme: do we need this?
|
2011-01-24 04:08:45 +00:00
|
|
|
"autocomplete": true,
|
|
|
|
"columnWidth": 60,
|
|
|
|
"find": true,
|
2011-01-24 09:38:46 +00:00
|
|
|
"group": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "language",
|
|
|
|
"title": "Language",
|
|
|
|
"type": ["string"],
|
2011-01-24 04:08:45 +00:00
|
|
|
"autocomplete": true,
|
|
|
|
"columnWidth": 120,
|
|
|
|
"find": true,
|
2011-01-24 09:38:46 +00:00
|
|
|
"group": true
|
|
|
|
},
|
2011-01-23 04:58:40 +00:00
|
|
|
{
|
|
|
|
"id": "runtime",
|
|
|
|
"title": "Runtime",
|
|
|
|
"type": "integer",
|
2011-01-24 04:08:45 +00:00
|
|
|
"columnWidth": 60,
|
2011-10-10 07:51:05 +00:00
|
|
|
"format": {"type": "duration", "args": [0, "short"]}
|
2011-01-23 04:58:40 +00:00
|
|
|
},
|
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,
|
|
|
|
"find": true,
|
|
|
|
"group": true,
|
|
|
|
"sort": "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,
|
|
|
|
"find": true,
|
|
|
|
"group": true,
|
|
|
|
"sort": "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,
|
|
|
|
"find": true,
|
|
|
|
"group": true,
|
|
|
|
"sort": "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,
|
|
|
|
"find": true,
|
|
|
|
"group": true,
|
|
|
|
"sort": "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,
|
|
|
|
"find": true,
|
|
|
|
"group": true,
|
|
|
|
"sort": "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,
|
|
|
|
"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,
|
2011-10-22 22:12:56 +00:00
|
|
|
"sort": "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
|
|
|
},
|
|
|
|
{
|
|
|
|
"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,
|
|
|
|
"find": true,
|
2011-01-24 09:38:46 +00:00
|
|
|
"group": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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,
|
|
|
|
"find": true,
|
2011-01-24 09:38:46 +00:00
|
|
|
"group": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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,
|
2011-01-24 09:38:46 +00:00
|
|
|
"format": {"type": "date", "args": ["%a, %b %e, %Y"]}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "budget",
|
|
|
|
"title": "Budget",
|
|
|
|
"type": "integer",
|
2011-01-24 04:08:45 +00:00
|
|
|
"columnWidth": 90,
|
2011-01-24 09:38:46 +00:00
|
|
|
"format": {"type": "currency", "args": ["$", 0]}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "gross",
|
|
|
|
"title": "Gross",
|
|
|
|
"type": "integer",
|
2011-01-24 04:08:45 +00:00
|
|
|
"columnWidth": 90,
|
2011-01-24 09:38:46 +00:00
|
|
|
"format": {"type": "currency", "args": ["$", 0]}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "profit",
|
|
|
|
"title": "Profit",
|
|
|
|
"type": "integer",
|
2011-01-24 04:08:45 +00:00
|
|
|
"columnWidth": 90,
|
2011-01-24 09:38:46 +00:00
|
|
|
"format": {"type": "currency", "args": ["$", 0]}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "rating",
|
|
|
|
"title": "Rating",
|
|
|
|
"type": "float",
|
2011-01-24 04:08:45 +00:00
|
|
|
"columnWidth": 60,
|
2011-01-24 09:38:46 +00:00
|
|
|
"format": {"type": "percent", "args": [10, 2]}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "votes",
|
|
|
|
"title": "Votes",
|
|
|
|
"type": "integer",
|
2011-01-24 04:08:45 +00:00
|
|
|
"columnWidth": 60,
|
|
|
|
"format": {"type": "percent", "args": ["auto", 2]}
|
2011-01-24 09:38:46 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "id",
|
|
|
|
"title": "ID",
|
2011-01-24 04:08:45 +00:00
|
|
|
"type": "string",
|
|
|
|
"columnWidth": 90
|
2011-01-24 09:38:46 +00:00
|
|
|
},
|
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",
|
|
|
|
"type": "float",
|
|
|
|
"columnWidth": 90,
|
2011-10-10 07:32:50 +00:00
|
|
|
"format": {"type": "duration", "args": []}
|
2011-01-24 04:08:45 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "resolution",
|
|
|
|
"title": "Resolution",
|
|
|
|
"type": ["integer"],
|
|
|
|
"columnWidth": 90
|
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,
|
|
|
|
"format": {"type": "unit", "args": [":1"]}
|
2011-01-24 09:38:46 +00:00
|
|
|
},
|
|
|
|
{
|
2011-01-24 04:08:45 +00:00
|
|
|
"id": "pixels",
|
|
|
|
"title": "Pixels",
|
|
|
|
"type": "integer",
|
|
|
|
"columnWidth": 90,
|
|
|
|
"format": {"type": "value", "args": ["px"]}
|
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"]},
|
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,
|
2011-09-04 04:15:12 +00:00
|
|
|
"format": {"type": "color", "args": ["saturation"]}
|
2011-01-24 09:38:46 +00:00
|
|
|
},
|
|
|
|
{
|
2011-01-24 04:08:45 +00:00
|
|
|
"id": "lightness",
|
|
|
|
"title": "Lightness",
|
|
|
|
"type": "float",
|
|
|
|
"columnWidth": 90,
|
2011-09-04 04:15:12 +00:00
|
|
|
"format": {"type": "color", "args": ["lightness"]}
|
2011-01-24 09:38:46 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "volume",
|
|
|
|
"title": "Volume",
|
2011-01-24 04:08:45 +00:00
|
|
|
"type": "float",
|
|
|
|
"columnWidth": 60
|
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,
|
|
|
|
"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,
|
|
|
|
"value": {"key": "cuts", "type": "lengthperminute"}
|
2011-01-24 09:38:46 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "words",
|
|
|
|
"title": "Words",
|
2011-01-24 04:08:45 +00:00
|
|
|
"type": "integer",
|
|
|
|
"columnWidth": 60,
|
|
|
|
"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,
|
2011-10-29 07:55:42 +00:00
|
|
|
"format": {"type": "unit", "args": ["wpm"]},
|
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",
|
2011-08-25 21:14:42 +00:00
|
|
|
"capability": "canSeeFiles",
|
2011-01-24 04:08:45 +00:00
|
|
|
"columnWidth": 60,
|
2011-08-25 21:14:42 +00:00
|
|
|
"format": {"type": "value", "args": ["B"]}
|
2011-01-24 09:38:46 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "bitrate",
|
|
|
|
"title": "Bitrate",
|
2011-01-24 04:08:45 +00:00
|
|
|
"type": "integer",
|
2011-08-25 21:14:42 +00:00
|
|
|
"capability": "canSeeFiles",
|
2011-01-24 04:08:45 +00:00
|
|
|
"columnWidth": 60,
|
2011-10-29 07:45:28 +00:00
|
|
|
"format": {"type": "value", "args": ["bps"]}
|
2011-01-24 09:38:46 +00:00
|
|
|
},
|
2011-08-25 21:14:42 +00:00
|
|
|
{
|
|
|
|
"id": "parts",
|
|
|
|
"title": "Parts",
|
|
|
|
"type": "integer",
|
|
|
|
"capability": "canSeeFiles",
|
|
|
|
"columnWidth": 60
|
|
|
|
},
|
2011-01-24 09:38:46 +00:00
|
|
|
{
|
2011-01-24 04:08:45 +00:00
|
|
|
"id": "numberoffiles",
|
|
|
|
"title": "Number of Files",
|
|
|
|
"type": "integer",
|
2011-08-25 21:14:42 +00:00
|
|
|
"capability": "canSeeFiles",
|
2011-01-24 04:08:45 +00:00
|
|
|
"columnWidth": 60,
|
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"],
|
2011-08-25 21:14:42 +00:00
|
|
|
"capability": "canSeeFiles",
|
|
|
|
"find": true
|
2011-01-24 09:38:46 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "published",
|
|
|
|
"title": "Date Published",
|
2011-01-24 04:08:45 +00:00
|
|
|
"type": "date",
|
2011-01-28 08:54:00 +00:00
|
|
|
"columnWidth": 90,
|
|
|
|
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]}
|
2011-01-24 09:38:46 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "modified",
|
|
|
|
"title": "Date Modified",
|
2011-01-24 04:08:45 +00:00
|
|
|
"type": "date",
|
2011-01-28 08:54:00 +00:00
|
|
|
"columnWidth": 90,
|
|
|
|
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]}
|
2011-01-24 09:38:46 +00:00
|
|
|
},
|
2011-01-23 04:58:40 +00:00
|
|
|
{
|
|
|
|
"id": "accessed",
|
|
|
|
"title": "Date Accessed",
|
2011-01-24 04:08:45 +00:00
|
|
|
"type": "date",
|
2011-01-28 08:54:00 +00:00
|
|
|
"columnWidth": 90,
|
|
|
|
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]}
|
2011-01-23 04:58:40 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "viewed",
|
|
|
|
"title": "Date Viewed",
|
2011-01-24 04:08:45 +00:00
|
|
|
"type": "date",
|
2011-01-28 08:54:00 +00:00
|
|
|
"columnWidth": 90,
|
|
|
|
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]}
|
2011-01-23 04:58:40 +00:00
|
|
|
},
|
2011-01-24 09:38:46 +00:00
|
|
|
{
|
|
|
|
"id": "popularity",
|
|
|
|
"title": "Popularity",
|
2011-01-24 04:08:45 +00:00
|
|
|
"type": "integer",
|
|
|
|
"columnWidth": 60,
|
|
|
|
"format": {"type": "percent", "args": ["auto", 2]}
|
2011-08-25 21:14:42 +00:00
|
|
|
},
|
2011-10-25 13:59:27 +00:00
|
|
|
{
|
|
|
|
"id": "rightslevel",
|
|
|
|
"title": "Rights Level",
|
2011-10-26 14:52:23 +00:00
|
|
|
"type": "label",
|
|
|
|
"columnWidth": 90,
|
|
|
|
"format": {"type": "ColorLevel", "args": [
|
|
|
|
["Public", "Relaxed", "Regular", "Restricted", "Private"]
|
|
|
|
]},
|
2011-10-25 13:59:27 +00:00
|
|
|
"sortOperator": "+"
|
|
|
|
},
|
2011-08-25 21:14:42 +00:00
|
|
|
{
|
|
|
|
"id": "canPlayVideo",
|
|
|
|
"title": "Can Play Video",
|
|
|
|
"type": "boolean",
|
|
|
|
"value": "capability"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "canPlayClips",
|
|
|
|
"title": "Can Play Clips",
|
|
|
|
"type": "boolean",
|
|
|
|
"value": "capability"
|
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"
|
|
|
|
},
|
2010-09-05 00:31:29 +00:00
|
|
|
"itemViews": [
|
|
|
|
{"id": "info", "title": "Info"},
|
|
|
|
{"id": "clips", "title": "Clips"},
|
2011-09-22 03:20:55 +00:00
|
|
|
{"id": "video", "title": "Video"},
|
2010-09-05 00:31:29 +00:00
|
|
|
{"id": "timeline", "title": "Timeline"},
|
|
|
|
{"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"},
|
2011-08-24 21:04:13 +00:00
|
|
|
{"id": "files", "title": "Files"}
|
2010-09-05 00:31:29 +00:00
|
|
|
],
|
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",
|
|
|
|
"type": "text",
|
|
|
|
"overlap": true,
|
|
|
|
"private": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "publicnotes",
|
|
|
|
"title": "Public Notes",
|
|
|
|
"overlap": true,
|
|
|
|
"type": "text"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "subtitles",
|
|
|
|
"title": "Subtitles",
|
|
|
|
"type": "text",
|
|
|
|
"overlay": true,
|
|
|
|
"sort": [
|
|
|
|
{"id": "words", "title": "Words", "type": "words"},
|
|
|
|
{"id": "wordsperminute", "title": "Words per Minute", "type": "wordsperminute"}
|
|
|
|
]
|
|
|
|
}
|
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": "clips", "title": "with Clips"},
|
|
|
|
{"id": "timelines", "title": "with Timelines"},
|
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"},
|
2011-10-16 17:23:27 +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": {
|
|
|
|
"importMoviePosters": true,
|
|
|
|
"importPosterFrames": true
|
|
|
|
},
|
2011-10-13 10:12:00 +00:00
|
|
|
"personalLists": [
|
|
|
|
{"id": "favorites", "title": "Favorites"},
|
|
|
|
{"id": "most_popular", "title": "Most Popular", "query": {}},
|
|
|
|
{"id": "recently_viewed", "title": "Recently Viewed", "query": {}},
|
|
|
|
{"id": "1960s", "title": "1960s", "query": {"conditions": [{"key": "year", "value": "196", "operator": "^"}], "operator": "&"}},
|
|
|
|
{"id": "movies_with_full_video", "title": "Movies with Full Video", "query": {"conditions": [{"key": "canPlayVideo", "value": true, "operator": "="}], "operator": "&"}},
|
|
|
|
{"id": "movies_with_clips", "title": "Movies with Clips", "query": {"conditions": [{"key": "canPlayClips", "value": true, "operator": "="}], "operator": "&"}},
|
|
|
|
{"id": "no_tv_series", "title": "No TV Series", "query": {"conditions": [{"key": "isSeries", "value": false, "operator": "="}], "operator": "&"}}
|
|
|
|
],
|
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
|
|
|
],
|
2011-10-09 10:04:30 +00:00
|
|
|
"sendReferrer": false,
|
2010-09-14 13:49:04 +00:00
|
|
|
"site": {
|
2011-10-13 10:12:00 +00:00
|
|
|
"email": {
|
|
|
|
// E-mail address in contact form (to)
|
|
|
|
"contact": "0xdb@0xdb.org",
|
|
|
|
// E-mail address uses by the system (from)
|
|
|
|
"system": "0xdb@0xdb.org"
|
|
|
|
},
|
2011-10-26 14:52:23 +00:00
|
|
|
// fixme: there should be no magic applied to this file
|
2011-01-03 20:39:23 +00:00
|
|
|
"id": "{{settings.SITEID}}",
|
2010-09-14 13:49:04 +00:00
|
|
|
"name": "{{settings.SITENAME}}",
|
2011-10-27 10:07:44 +00:00
|
|
|
"url": "{{settings.URL}}",
|
|
|
|
"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"},
|
|
|
|
{"id": "tour", "title": "Take a Tour"},
|
|
|
|
{"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
|
|
|
],
|
|
|
|
"totals": [
|
|
|
|
{"id": "items"},
|
|
|
|
{"id": "runtime"},
|
|
|
|
{"id": "files", "admin": true},
|
|
|
|
{"id": "duration", "admin": true},
|
|
|
|
{"id": "size", "admin": true},
|
|
|
|
{"id": "pixels"}
|
|
|
|
],
|
|
|
|
"user": {
|
2011-01-21 19:10:42 +00:00
|
|
|
"level": "guest",
|
2010-09-05 00:31:29 +00:00
|
|
|
"ui": {
|
2011-01-03 20:39:23 +00:00
|
|
|
"annotationsSize": 256,
|
2011-10-11 23:22:55 +00:00
|
|
|
"clipsColumns": 2,
|
2011-09-23 10:44:54 +00:00
|
|
|
"columns": {
|
|
|
|
"Colors": {
|
|
|
|
"columns": ["title", "director", "country", "year", "hue", "saturation", "brightness"],
|
|
|
|
"columnWidth": {}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"find": {"conditions": [], "operator": "&"},
|
2011-09-17 23:24:53 +00:00
|
|
|
"groups": [
|
|
|
|
{"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": "-"}]}
|
|
|
|
],
|
2010-12-22 18:28:44 +00:00
|
|
|
"groupsSize": 176,
|
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": "",
|
2011-10-30 09:49:12 +00:00
|
|
|
"itemFind": {"conditions": [], "operator": "&"},
|
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": [],
|
2011-10-08 17:22:56 +00:00
|
|
|
"listSort": [{"key": "director", "operator": "+"}],
|
2011-09-23 10:44:54 +00:00
|
|
|
"listView": "grid",
|
|
|
|
"lists": {},
|
2011-10-01 13:51:18 +00:00
|
|
|
"mapFind": "",
|
|
|
|
"mapSelection": "",
|
2011-01-03 20:39:23 +00:00
|
|
|
"section": "items",
|
2010-11-28 15:06:27 +00:00
|
|
|
"showAnnotations": 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
|
2011-01-17 21:12:52 +00:00
|
|
|
"showControls": true,
|
2011-09-09 16:37:07 +00:00
|
|
|
"showFlags": true,
|
2011-01-14 06:24:40 +00:00
|
|
|
"showGroups": true,
|
2011-08-24 21:04:13 +00:00
|
|
|
"showHome": true,
|
2011-10-02 15:37:58 +00:00
|
|
|
"showIconBrowser": false,
|
2010-09-05 00:31:29 +00:00
|
|
|
"showInfo": true,
|
2011-09-30 03:35:40 +00:00
|
|
|
"showMapControls": false,
|
|
|
|
"showMapLabels": false,
|
2011-01-21 05:13:41 +00:00
|
|
|
"showFolder": {
|
|
|
|
"items": {
|
|
|
|
"personal": true,
|
|
|
|
"favorite": true,
|
2011-09-01 04:46:44 +00:00
|
|
|
"featured": true,
|
|
|
|
"volumes": true
|
2011-01-21 05:13:41 +00:00
|
|
|
}
|
2011-01-14 03:53:26 +00:00
|
|
|
},
|
2011-01-03 20:39:23 +00:00
|
|
|
"showSidebar": true,
|
2011-09-23 10:44:54 +00:00
|
|
|
"showSitePosters": false,
|
2011-01-05 13:06:09 +00:00
|
|
|
"sidebarSize": 256,
|
2011-01-17 21:12:52 +00:00
|
|
|
"theme": "modern",
|
2011-09-17 07:07:59 +00:00
|
|
|
"videoPoints": {},
|
2011-08-17 19:34:55 +00:00
|
|
|
"videoScale": "fit",
|
|
|
|
"videoMuted": false,
|
|
|
|
"videoSize": "small",
|
2011-09-22 03:20:55 +00:00
|
|
|
"videoView": "video",
|
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": {
|
2011-08-20 10:06:18 +00:00
|
|
|
"download": false,
|
2011-08-19 21:00:22 +00:00
|
|
|
"formats": ["webm", "mp4"],
|
2011-08-19 14:43:05 +00:00
|
|
|
"resolutions": [96]
|
|
|
|
}
|
2010-09-10 10:09:21 +00:00
|
|
|
}
|