more demo config cleanup

This commit is contained in:
j 2012-06-13 18:01:32 +02:00
parent 70892dd463
commit b9ce9d487c

View file

@ -66,12 +66,12 @@
text of clips. Excluding a layer from this list means it will not be text of clips. Excluding a layer from this list means it will not be
included in find annotations. // FIXME: the last bit is not implemented. included in find annotations. // FIXME: the last bit is not implemented.
*/ */
"clipLayers": ["publicnotes", "keywords", "subtitles"], "clipLayers": ["transcripts", "keywords", "places", "events", "descriptions"],
// fixme: either this, or filter: true in itemKeys, but not both // fixme: either this, or filter: true in itemKeys, but not both
"filters": [ "filters": [
{"id": "director", "title": "Director", "type": "string"}, {"id": "director", "title": "Director", "type": "string"},
{"id": "country", "title": "Country", "type": "string"}, {"id": "country", "title": "Country", "type": "string"},
{"id": "year", "title": "Year", "type": "integer"}, {"id": "year", "title": "Year", "type": "string"},
{"id": "language", "title": "Languages", "type": "string"}, {"id": "language", "title": "Languages", "type": "string"},
{"id": "featuring", "title": "Featuring", "type": "string"}, {"id": "featuring", "title": "Featuring", "type": "string"},
{"id": "keywords", "title": "Keywords", "type": "string"} {"id": "keywords", "title": "Keywords", "type": "string"}
@ -119,7 +119,7 @@
}, },
{ {
"id": "name", "id": "name",
"title": "Name", "title": "People",
"type": ["string"], "type": ["string"],
"autocomplete": true, "autocomplete": true,
"find": true "find": true
@ -168,12 +168,8 @@
{ {
"id": "year", "id": "year",
"title": "Year", "title": "Year",
"type": "year", "type": "string",
"additionalSort": [{"key": "director", "operator": "+"}, {"key": "title", "operator": "+"}], "columnWidth": 120,
"autocomplete": true,
"columnWidth": 60,
"filter": true,
"find": true,
"sort": true "sort": true
}, },
{ {
@ -203,7 +199,7 @@
}, },
{ {
"id": "publicnotes", "id": "publicnotes",
"title": "Notes", "title": "Public Notes",
"type": "layer", "type": "layer",
"find": true "find": true
}, },
@ -346,7 +342,14 @@
"title": "User", "title": "User",
"type": "string", "type": "string",
"capability": "canSeeFiles", "capability": "canSeeFiles",
"find": false "find": true
},
{
"id": "filename",
"title": "Filename",
"type": ["string"],
"capability": "canSeeFiles",
"find": true
}, },
{ {
"id": "created", "id": "created",
@ -417,6 +420,14 @@
{"id": "files", "title": "Files"} {"id": "files", "title": "Files"}
], ],
"layers": [ "layers": [
{
"id": "keywords",
"title": "Keywords",
"canAddAnnotations": {"member": true, "staff": true, "admin": true},
"item": "Keyword",
"overlap": true,
"type": "string"
},
{ {
"id": "privatenotes", "id": "privatenotes",
"title": "Private Notes", "title": "Private Notes",
@ -429,25 +440,13 @@
}, },
{ {
"id": "publicnotes", "id": "publicnotes",
"title": "Notes", "title": "Public Notes",
"canAddAnnotations": {"member": true, "staff": true, "admin": true}, "canAddAnnotations": {"member": true, "staff": true, "admin": true},
"hasEvents": true,
"hasPlaces": true,
"item": "Note", "item": "Note",
"overlap": true, "overlap": true,
"showInfo": true, "showInfo": true,
"type": "text" "type": "text"
}, },
{
"id": "keywords",
"title": "Keywords",
"canAddAnnotations": {"member": true, "staff": true, "admin": true},
"hasEvents": true,
"hasPlaces": true,
"item": "Keyword",
"overlap": true,
"type": "string"
},
{ {
"id": "subtitles", "id": "subtitles",
"title": "Subtitles", "title": "Subtitles",
@ -497,7 +496,7 @@
"system": "system@pandora.local" "system": "system@pandora.local"
}, },
"id": "pandora", "id": "pandora",
"name": "Demo", "name": "pan.do/ra",
"url": "pandora.local", "url": "pandora.local",
"videoprefix": "" "videoprefix": ""
}, },
@ -532,7 +531,7 @@
"annotationsCalendarSize": 128, "annotationsCalendarSize": 128,
"annotationsFont": "small", "annotationsFont": "small",
"annotationsMapSize": 128, "annotationsMapSize": 128,
"annotationsRange": "all", "annotationsRange": "position",
"annotationsSize": 256, "annotationsSize": 256,
"annotationsSort": "position", "annotationsSort": "position",
"clipsColumns": 2, "clipsColumns": 2,
@ -543,16 +542,16 @@
} }
}, },
"filters": [ "filters": [
{"id": "director", "sort": [{"key": "items", "operator": "-"}]}, {"id": "director", "sort": [{"key": "name", "operator": "+"}]},
{"id": "country", "sort": [{"key": "items", "operator": "-"}]}, {"id": "country", "sort": [{"key": "name", "operator": "+"}]},
{"id": "year", "sort": [{"key": "name", "operator": "+"}]}, {"id": "year", "sort": [{"key": "name", "operator": "-"}]},
{"id": "featuring", "sort": [{"key": "items", "operator": "-"}]}, {"id": "featuring", "sort": [{"key": "name", "operator": "+"}]},
{"id": "keywords", "sort": [{"key": "items", "operator": "-"}]} {"id": "keywords", "sort": [{"key": "items", "operator": "-"}]}
], ],
"filtersSize": 176, "filtersSize": 176,
"find": {"conditions": [], "operator": "&"}, "find": {"conditions": [], "operator": "&"},
"followPlayer": true, "followPlayer": true,
"icons": "posters", "icons": "frames",
"infoIconSize": 256, "infoIconSize": 256,
"item": "", "item": "",
"itemFind": "", "itemFind": "",
@ -581,10 +580,11 @@
"showIconBrowser": false, "showIconBrowser": false,
"showInfo": true, "showInfo": true,
"showLayers": { "showLayers": {
"places": false,
"events": false,
"keywords": true, "keywords": true,
"privatenotes": true, "descriptions": true,
"publicnotes": true, "transcripts": true
"subtitles": true
}, },
"showMapControls": false, "showMapControls": false,
"showMapLabels": false, "showMapLabels": false,