forked from 0x2620/pandora
update config for all sites
This commit is contained in:
parent
c0e665eb67
commit
290994fceb
3 changed files with 244 additions and 0 deletions
|
@ -4,9 +4,20 @@
|
||||||
You can edit this file.
|
You can edit this file.
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
|
"annotations" configures the annotation panel.
|
||||||
|
- showUsers: If true, include list of users in menu, so that
|
||||||
|
annotations by specific users can be turned on and off
|
||||||
|
*/
|
||||||
"annotations": {
|
"annotations": {
|
||||||
"showUsers": false
|
"showUsers": false
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
|
"cantPlay" sets the UI for videos that a user is not allowed to play.
|
||||||
|
icon: symbol name (see https://oxjs.org/#examples/symbols/live)
|
||||||
|
link: loaded on click
|
||||||
|
text: shown on hover
|
||||||
|
*/
|
||||||
"cantPlay": {
|
"cantPlay": {
|
||||||
"icon": "NoCopyright",
|
"icon": "NoCopyright",
|
||||||
"link": "/rights",
|
"link": "/rights",
|
||||||
|
@ -75,7 +86,14 @@
|
||||||
included in find annotations.
|
included in find annotations.
|
||||||
*/
|
*/
|
||||||
"clipLayers": ["subtitles"],
|
"clipLayers": ["subtitles"],
|
||||||
|
/*
|
||||||
|
"flags" sets if in filters, countries and languages have a flag icon.
|
||||||
|
*/
|
||||||
"flags": true,
|
"flags": true,
|
||||||
|
/*
|
||||||
|
"help" specifies the sections of the help dialog.
|
||||||
|
There isn't much of a point in making changes to this.
|
||||||
|
*/
|
||||||
"help": [
|
"help": [
|
||||||
{"id": "help", "title": "Help"},
|
{"id": "help", "title": "Help"},
|
||||||
{"id": "accounts", "title": "Accounts"},
|
{"id": "accounts", "title": "Accounts"},
|
||||||
|
@ -620,8 +638,21 @@
|
||||||
"singular": "Movie",
|
"singular": "Movie",
|
||||||
"plural": "Movies"
|
"plural": "Movies"
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
|
"itemRequiresVideo" specifies if items without video can be created.
|
||||||
|
If true, the only way to add an item is to upload a video.
|
||||||
|
*/
|
||||||
"itemRequiresVideo": true,
|
"itemRequiresVideo": true,
|
||||||
|
/*
|
||||||
|
"itemTitleKeys" list of itemKeys used to compose the title
|
||||||
|
via pandora.getItemTitle
|
||||||
|
*/
|
||||||
"itemTitleKeys": ["title", "director", "year"],
|
"itemTitleKeys": ["title", "director", "year"],
|
||||||
|
/*
|
||||||
|
"itemViews" is an ordered list of available item views.
|
||||||
|
Implemented views are "info", "documents", "player", "editor",
|
||||||
|
"timeline", "clips", "map", "calendar", "data" and "media".
|
||||||
|
*/
|
||||||
"itemViews": [
|
"itemViews": [
|
||||||
{"id": "info", "title": "Info"},
|
{"id": "info", "title": "Info"},
|
||||||
{"id": "player", "title": "Player"},
|
{"id": "player", "title": "Player"},
|
||||||
|
@ -633,9 +664,22 @@
|
||||||
{"id": "data", "title": "Data"},
|
{"id": "data", "title": "Data"},
|
||||||
{"id": "media", "title": "Media"}
|
{"id": "media", "title": "Media"}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
"language" is the default language for annotations of type "text".
|
||||||
|
Text in other languages can be added via markup, for example:
|
||||||
|
<span lang="fr">Voilà!</span>
|
||||||
|
*/
|
||||||
"language": "en",
|
"language": "en",
|
||||||
|
/*
|
||||||
|
"languages" is the list of languages that the interface can be set to.
|
||||||
|
Currently, localization exists for "ar", "el", "en" and "hi". (???)
|
||||||
|
*/
|
||||||
"languages": ["ar", "el", "en", "hi"],
|
"languages": ["ar", "el", "en", "hi"],
|
||||||
// fixme: should be renamed to annotationLayers
|
// fixme: should be renamed to annotationLayers
|
||||||
|
/*
|
||||||
|
"layers" define what annotation tracks are present.
|
||||||
|
(...)
|
||||||
|
*/
|
||||||
"layers": [
|
"layers": [
|
||||||
{
|
{
|
||||||
"id": "privatenotes",
|
"id": "privatenotes",
|
||||||
|
@ -667,6 +711,8 @@
|
||||||
"type": "text"
|
"type": "text"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"listViews": [
|
"listViews": [
|
||||||
{"id": "list", "title": "as List"},
|
{"id": "list", "title": "as List"},
|
||||||
{"id": "grid", "title": "as Grid"},
|
{"id": "grid", "title": "as Grid"},
|
||||||
|
@ -680,26 +726,38 @@
|
||||||
{"id": "map", "title": "on Map"},
|
{"id": "map", "title": "on Map"},
|
||||||
{"id": "calendar", "title": "on Calendar"}
|
{"id": "calendar", "title": "on Calendar"}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"media": {
|
"media": {
|
||||||
"importPosters": true,
|
"importPosters": true,
|
||||||
"importFrames": true
|
"importFrames": true
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"menuExtras": [
|
"menuExtras": [
|
||||||
"user",
|
"user",
|
||||||
//"persona",
|
//"persona",
|
||||||
//"locale",
|
//"locale",
|
||||||
"reload"
|
"reload"
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"personalLists": [
|
"personalLists": [
|
||||||
{"title": "Favorites"},
|
{"title": "Favorites"},
|
||||||
{"title": "1960s", "query": {"conditions": [{"key": "year", "value": ["1960", "1970"], "operator": "="}], "operator": "&"}}
|
{"title": "1960s", "query": {"conditions": [{"key": "year", "value": ["1960", "1970"], "operator": "="}], "operator": "&"}}
|
||||||
//{"title": "Movies with Video", "query": {"conditions": [{"key": "canplayvideo", "value": "true", "operator": "="}], "operator": "&"}},
|
//{"title": "Movies with Video", "query": {"conditions": [{"key": "canplayvideo", "value": "true", "operator": "="}], "operator": "&"}},
|
||||||
//{"title": "Movies with Clips", "query": {"conditions": [{"key": "canplayclips", "value": "true", "operator": "="}], "operator": "&"}}
|
//{"title": "Movies with Clips", "query": {"conditions": [{"key": "canplayclips", "value": "true", "operator": "="}], "operator": "&"}}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"posters": {
|
"posters": {
|
||||||
"ratio": 0.625
|
"ratio": 0.625
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"rightsLevel": {"member": 4, "staff": 3, "admin": 2},
|
"rightsLevel": {"member": 4, "staff": 3, "admin": 2},
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"rightsLevels": [
|
"rightsLevels": [
|
||||||
{"name": "Public", "color": [128, 255, 128]},
|
{"name": "Public", "color": [128, 255, 128]},
|
||||||
{"name": "Relaxed", "color": [192, 255, 128]},
|
{"name": "Relaxed", "color": [192, 255, 128]},
|
||||||
|
@ -707,6 +765,8 @@
|
||||||
{"name": "Restricted", "color": [255, 192, 128]},
|
{"name": "Restricted", "color": [255, 192, 128]},
|
||||||
{"name": "Private", "color": [255, 128, 128]}
|
{"name": "Private", "color": [255, 128, 128]}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"site": {
|
"site": {
|
||||||
"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.",
|
"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.",
|
||||||
// FIXME: "from" and "to" would be more intuitive as keys here
|
// FIXME: "from" and "to" would be more intuitive as keys here
|
||||||
|
@ -725,6 +785,8 @@
|
||||||
"url": "0xDB.org",
|
"url": "0xDB.org",
|
||||||
"videoprefix": ""
|
"videoprefix": ""
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"sitePages": [
|
"sitePages": [
|
||||||
{"id": "about", "title": "About"},
|
{"id": "about", "title": "About"},
|
||||||
{"id": "news", "title": "News"},
|
{"id": "news", "title": "News"},
|
||||||
|
@ -734,21 +796,31 @@
|
||||||
{"id": "rights", "title": "Rights Management"},
|
{"id": "rights", "title": "Rights Management"},
|
||||||
{"id": "contact", "title": "Contact"}
|
{"id": "contact", "title": "Contact"}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"sites": [
|
"sites": [
|
||||||
{"name": "Indiancine.ma", "url": "indiancine.ma", "https": true},
|
{"name": "Indiancine.ma", "url": "indiancine.ma", "https": true},
|
||||||
{"name": "Pad.ma", "url": "pad.ma", "https": true}
|
{"name": "Pad.ma", "url": "pad.ma", "https": true}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"textRightsLevels": [
|
"textRightsLevels": [
|
||||||
{"name": "Public", "color": [128, 255, 128]},
|
{"name": "Public", "color": [128, 255, 128]},
|
||||||
{"name": "Private", "color": [255, 128, 128]}
|
{"name": "Private", "color": [255, 128, 128]}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"themes": ["oxlight", "oxmedium", "oxdark"],
|
"themes": ["oxlight", "oxmedium", "oxdark"],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"timelines": [
|
"timelines": [
|
||||||
{"id": "antialias", "title": "Anti-Alias"},
|
{"id": "antialias", "title": "Anti-Alias"},
|
||||||
{"id": "slitscan", "title": "Slit-Scan"},
|
{"id": "slitscan", "title": "Slit-Scan"},
|
||||||
{"id": "keyframes", "title": "Keyframes"},
|
{"id": "keyframes", "title": "Keyframes"},
|
||||||
{"id": "audio", "title": "Waveform"}
|
{"id": "audio", "title": "Waveform"}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"totals": [
|
"totals": [
|
||||||
{"id": "items"},
|
{"id": "items"},
|
||||||
{"id": "runtime"},
|
{"id": "runtime"},
|
||||||
|
@ -757,9 +829,13 @@
|
||||||
{"id": "size", "capability": "canSeeMedia"},
|
{"id": "size", "capability": "canSeeMedia"},
|
||||||
{"id": "pixels"}
|
{"id": "pixels"}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"tv": {
|
"tv": {
|
||||||
"showLogo": false
|
"showLogo": false
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"user": {
|
"user": {
|
||||||
"level": "guest",
|
"level": "guest",
|
||||||
"newsletter": true,
|
"newsletter": true,
|
||||||
|
@ -901,7 +977,11 @@
|
||||||
"volumes": []
|
"volumes": []
|
||||||
},
|
},
|
||||||
// fixme: this should include colors
|
// fixme: this should include colors
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"userLevels": ["guest", "member", "friend", "staff", "admin"],
|
"userLevels": ["guest", "member", "friend", "staff", "admin"],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"video": {
|
"video": {
|
||||||
"torrent": true,
|
"torrent": true,
|
||||||
"formats": ["webm", "mp4"],
|
"formats": ["webm", "mp4"],
|
||||||
|
|
|
@ -5,9 +5,20 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
|
"annotations" configures the annotation panel.
|
||||||
|
- showUsers: If true, include list of users in menu, so that
|
||||||
|
annotations by specific users can be turned on and off
|
||||||
|
*/
|
||||||
"annotations": {
|
"annotations": {
|
||||||
"showUsers": true
|
"showUsers": true
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
|
"cantPlay" sets the UI for videos that a user is not allowed to play.
|
||||||
|
icon: symbol name (see https://oxjs.org/#examples/symbols/live)
|
||||||
|
link: loaded on click
|
||||||
|
text: shown on hover
|
||||||
|
*/
|
||||||
"cantPlay": {
|
"cantPlay": {
|
||||||
"icon": "NoCopyright",
|
"icon": "NoCopyright",
|
||||||
"link": "/rights",
|
"link": "/rights",
|
||||||
|
@ -75,7 +86,14 @@
|
||||||
included in find annotations.
|
included in find annotations.
|
||||||
*/
|
*/
|
||||||
"clipLayers": ["subtitles", "keywords", "notes"],
|
"clipLayers": ["subtitles", "keywords", "notes"],
|
||||||
|
/*
|
||||||
|
"flags" sets if in filters, countries and languages have a flag icon.
|
||||||
|
*/
|
||||||
"flags": false,
|
"flags": false,
|
||||||
|
/*
|
||||||
|
"help" specifies the sections of the help dialog.
|
||||||
|
There isn't much of a point in making changes to this.
|
||||||
|
*/
|
||||||
"help": [
|
"help": [
|
||||||
{"id": "help", "title": "Help"},
|
{"id": "help", "title": "Help"},
|
||||||
{"id": "accounts", "title": "Accounts"},
|
{"id": "accounts", "title": "Accounts"},
|
||||||
|
@ -635,8 +653,21 @@
|
||||||
"singular": "Movie",
|
"singular": "Movie",
|
||||||
"plural": "Movies"
|
"plural": "Movies"
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
|
"itemRequiresVideo" specifies if items without video can be created.
|
||||||
|
If true, the only way to add an item is to upload a video.
|
||||||
|
*/
|
||||||
"itemRequiresVideo": false,
|
"itemRequiresVideo": false,
|
||||||
|
/*
|
||||||
|
"itemTitleKeys" list of itemKeys used to compose the title
|
||||||
|
via pandora.getItemTitle
|
||||||
|
*/
|
||||||
"itemTitleKeys": ["title", "director", "year"],
|
"itemTitleKeys": ["title", "director", "year"],
|
||||||
|
/*
|
||||||
|
"itemViews" is an ordered list of available item views.
|
||||||
|
Implemented views are "info", "documents", "player", "editor",
|
||||||
|
"timeline", "clips", "map", "calendar", "data" and "media".
|
||||||
|
*/
|
||||||
"itemViews": [
|
"itemViews": [
|
||||||
{"id": "info", "title": "Info"},
|
{"id": "info", "title": "Info"},
|
||||||
{"id": "documents", "title": "Documents"},
|
{"id": "documents", "title": "Documents"},
|
||||||
|
@ -649,9 +680,22 @@
|
||||||
{"id": "data", "title": "Data"},
|
{"id": "data", "title": "Data"},
|
||||||
{"id": "media", "title": "Media"}
|
{"id": "media", "title": "Media"}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
"language" is the default language for annotations of type "text".
|
||||||
|
Text in other languages can be added via markup, for example:
|
||||||
|
<span lang="fr">Voilà!</span>
|
||||||
|
*/
|
||||||
"language": "en",
|
"language": "en",
|
||||||
|
/*
|
||||||
|
"languages" is the list of languages that the interface can be set to.
|
||||||
|
Currently, localization exists for "ar", "el", "en" and "hi". (???)
|
||||||
|
*/
|
||||||
"languages": ["ar", "el", "en", "hi"],
|
"languages": ["ar", "el", "en", "hi"],
|
||||||
// fixme: should be renamed to annotationLayers
|
// fixme: should be renamed to annotationLayers
|
||||||
|
/*
|
||||||
|
"layers" define what annotation tracks are present.
|
||||||
|
(...)
|
||||||
|
*/
|
||||||
"layers": [
|
"layers": [
|
||||||
{
|
{
|
||||||
"id": "keywords",
|
"id": "keywords",
|
||||||
|
@ -685,6 +729,8 @@
|
||||||
"type": "text"
|
"type": "text"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"listViews": [
|
"listViews": [
|
||||||
{"id": "list", "title": "as List"},
|
{"id": "list", "title": "as List"},
|
||||||
{"id": "grid", "title": "as Grid"},
|
{"id": "grid", "title": "as Grid"},
|
||||||
|
@ -695,30 +741,44 @@
|
||||||
{"id": "map", "title": "on Map"},
|
{"id": "map", "title": "on Map"},
|
||||||
{"id": "calendar", "title": "on Calendar"}
|
{"id": "calendar", "title": "on Calendar"}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"media": {
|
"media": {
|
||||||
"importPosters": false,
|
"importPosters": false,
|
||||||
"importFrames": false
|
"importFrames": false
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"menuExtras": [
|
"menuExtras": [
|
||||||
"user",
|
"user",
|
||||||
//"locale",
|
//"locale",
|
||||||
"reload"
|
"reload"
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"personalLists": [
|
"personalLists": [
|
||||||
{"title": "Favorites"},
|
{"title": "Favorites"},
|
||||||
{"title": "Black & White Films", "query": {"conditions": [{"key": "color", "value": "Black and White", "operator": "=="}], "operator": "&"}},
|
{"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": "|"}}
|
{"title": "Silent Films", "query": {"conditions": [{"key": "language", "value": "None", "operator": "=="}, {"key": "sound", "value": "Silent", "operator": "=="}], "operator": "|"}}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"posters": {
|
"posters": {
|
||||||
"ratio": 0.6875
|
"ratio": 0.6875
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"rightsLevel": {"member": 3, "researcher": 3, "staff": 3, "admin": 3},
|
"rightsLevel": {"member": 3, "researcher": 3, "staff": 3, "admin": 3},
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"rightsLevels": [
|
"rightsLevels": [
|
||||||
{"name": "Public", "color": [128, 255, 128]},
|
{"name": "Public", "color": [128, 255, 128]},
|
||||||
{"name": "Out of Copyright", "color": [212, 255, 128]},
|
{"name": "Out of Copyright", "color": [212, 255, 128]},
|
||||||
{"name": "Under Copyright", "color": [255, 212, 128]},
|
{"name": "Under Copyright", "color": [255, 212, 128]},
|
||||||
{"name": "Private", "color": [255, 128, 128]}
|
{"name": "Private", "color": [255, 128, 128]}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"site": {
|
"site": {
|
||||||
"description": "Indiancine.ma is an annotated online archive of Indian film. It is intended to serve as a shared resource for film scholars and enthusiasts in India and beyond.",
|
"description": "Indiancine.ma is an annotated online archive of Indian film. It is intended to serve as a shared resource for film scholars and enthusiasts in India and beyond.",
|
||||||
// FIXME: "from" and "to" would be more intuitive as keys here
|
// FIXME: "from" and "to" would be more intuitive as keys here
|
||||||
|
@ -738,6 +798,8 @@
|
||||||
"url": "indiancine.ma",
|
"url": "indiancine.ma",
|
||||||
"videoprefix": ""
|
"videoprefix": ""
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"sitePages": [
|
"sitePages": [
|
||||||
{"id": "about", "title": "About"},
|
{"id": "about", "title": "About"},
|
||||||
{"id": "news", "title": "News"},
|
{"id": "news", "title": "News"},
|
||||||
|
@ -746,21 +808,31 @@
|
||||||
{"id": "copyrights", "title": "Copyrights"},
|
{"id": "copyrights", "title": "Copyrights"},
|
||||||
{"id": "contact", "title": "Contact"}
|
{"id": "contact", "title": "Contact"}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"sites": [
|
"sites": [
|
||||||
{"name": "Pad.ma", "url": "pad.ma", "https": true},
|
{"name": "Pad.ma", "url": "pad.ma", "https": true},
|
||||||
{"name": "OxDB", "url": "0xdb.org", "https": true}
|
{"name": "OxDB", "url": "0xdb.org", "https": true}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"textRightsLevels": [
|
"textRightsLevels": [
|
||||||
{"name": "Public", "color": [128, 255, 128]},
|
{"name": "Public", "color": [128, 255, 128]},
|
||||||
{"name": "Private", "color": [255, 128, 128]}
|
{"name": "Private", "color": [255, 128, 128]}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"themes": ["oxlight", "oxmedium", "oxdark"],
|
"themes": ["oxlight", "oxmedium", "oxdark"],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"timelines": [
|
"timelines": [
|
||||||
{"id": "antialias", "title": "Anti-Alias"},
|
{"id": "antialias", "title": "Anti-Alias"},
|
||||||
{"id": "slitscan", "title": "Slit-Scan"},
|
{"id": "slitscan", "title": "Slit-Scan"},
|
||||||
{"id": "keyframes", "title": "Keyframes"},
|
{"id": "keyframes", "title": "Keyframes"},
|
||||||
{"id": "audio", "title": "Waveform"}
|
{"id": "audio", "title": "Waveform"}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"totals": [
|
"totals": [
|
||||||
{"id": "items"},
|
{"id": "items"},
|
||||||
{"id": "runtime"},
|
{"id": "runtime"},
|
||||||
|
@ -769,9 +841,13 @@
|
||||||
{"id": "size", "capability": "canSeeMedia"},
|
{"id": "size", "capability": "canSeeMedia"},
|
||||||
{"id": "pixels"}
|
{"id": "pixels"}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"tv": {
|
"tv": {
|
||||||
"showLogo": false
|
"showLogo": false
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"user": {
|
"user": {
|
||||||
"level": "guest",
|
"level": "guest",
|
||||||
"newsletter": true,
|
"newsletter": true,
|
||||||
|
@ -913,7 +989,11 @@
|
||||||
"volumes": []
|
"volumes": []
|
||||||
},
|
},
|
||||||
// fixme: this should include colors
|
// fixme: this should include colors
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"userLevels": ["guest", "member", "researcher", "staff", "admin"],
|
"userLevels": ["guest", "member", "researcher", "staff", "admin"],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"video": {
|
"video": {
|
||||||
"torrent": false,
|
"torrent": false,
|
||||||
"formats": ["webm", "mp4"],
|
"formats": ["webm", "mp4"],
|
||||||
|
|
|
@ -4,9 +4,20 @@
|
||||||
You can edit this file.
|
You can edit this file.
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
|
"annotations" configures the annotation panel.
|
||||||
|
- showUsers: If true, include list of users in menu, so that
|
||||||
|
annotations by specific users can be turned on and off
|
||||||
|
*/
|
||||||
"annotations": {
|
"annotations": {
|
||||||
"showUsers": true
|
"showUsers": true
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
|
"cantPlay" sets the UI for videos that a user is not allowed to play.
|
||||||
|
icon: symbol name (see https://oxjs.org/#examples/symbols/live)
|
||||||
|
link: loaded on click
|
||||||
|
text: shown on hover
|
||||||
|
*/
|
||||||
"cantPlay": {
|
"cantPlay": {
|
||||||
"icon": "",
|
"icon": "",
|
||||||
"link": "",
|
"link": "",
|
||||||
|
@ -74,7 +85,14 @@
|
||||||
included in find annotations. // FIXME: the last bit is not implemented.
|
included in find annotations. // FIXME: the last bit is not implemented.
|
||||||
*/
|
*/
|
||||||
"clipLayers": ["transcripts", "keywords", "places", "events", "descriptions"],
|
"clipLayers": ["transcripts", "keywords", "places", "events", "descriptions"],
|
||||||
|
/*
|
||||||
|
"flags" sets if in filters, countries and languages have a flag icon.
|
||||||
|
*/
|
||||||
"flags": false,
|
"flags": false,
|
||||||
|
/*
|
||||||
|
"help" specifies the sections of the help dialog.
|
||||||
|
There isn't much of a point in making changes to this.
|
||||||
|
*/
|
||||||
"help": [
|
"help": [
|
||||||
{"id": "help", "title": "Help"},
|
{"id": "help", "title": "Help"},
|
||||||
{"id": "accounts", "title": "Accounts"},
|
{"id": "accounts", "title": "Accounts"},
|
||||||
|
@ -510,12 +528,29 @@
|
||||||
"sort": true
|
"sort": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
"itemName" specifies the name of items ("movies", "videos", etc).
|
||||||
|
Note that anything excessively long may cause layout errors.
|
||||||
|
*/
|
||||||
"itemName": {
|
"itemName": {
|
||||||
"singular": "Video",
|
"singular": "Video",
|
||||||
"plural": "Videos"
|
"plural": "Videos"
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
|
"itemRequiresVideo" specifies if items without video can be created.
|
||||||
|
If true, the only way to add an item is to upload a video.
|
||||||
|
*/
|
||||||
"itemRequiresVideo": true,
|
"itemRequiresVideo": true,
|
||||||
|
/*
|
||||||
|
"itemTitleKeys" list of itemKeys used to compose the title
|
||||||
|
via pandora.getItemTitle
|
||||||
|
*/
|
||||||
"itemTitleKeys": ["title", "director", "year"],
|
"itemTitleKeys": ["title", "director", "year"],
|
||||||
|
/*
|
||||||
|
"itemViews" is an ordered list of available item views.
|
||||||
|
Implemented views are "info", "documents", "player", "editor",
|
||||||
|
"timeline", "clips", "map", "calendar", "data" and "media".
|
||||||
|
*/
|
||||||
"itemViews": [
|
"itemViews": [
|
||||||
{"id": "info", "title": "Info"},
|
{"id": "info", "title": "Info"},
|
||||||
{"id": "player", "title": "Player"},
|
{"id": "player", "title": "Player"},
|
||||||
|
@ -528,8 +563,21 @@
|
||||||
{"id": "data", "title": "Data"},
|
{"id": "data", "title": "Data"},
|
||||||
{"id": "media", "title": "Media"}
|
{"id": "media", "title": "Media"}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
"language" is the default language for annotations of type "text".
|
||||||
|
Text in other languages can be added via markup, for example:
|
||||||
|
<span lang="fr">Voilà!</span>
|
||||||
|
*/
|
||||||
"language": "en",
|
"language": "en",
|
||||||
|
/*
|
||||||
|
"languages" is the list of languages that the interface can be set to.
|
||||||
|
Currently, localization exists for "ar", "el", "en" and "hi". (???)
|
||||||
|
*/
|
||||||
"languages": ["ar", "el", "en", "hi"],
|
"languages": ["ar", "el", "en", "hi"],
|
||||||
|
/*
|
||||||
|
"layers" define what annotation tracks are present.
|
||||||
|
(...)
|
||||||
|
*/
|
||||||
"layers": [
|
"layers": [
|
||||||
{
|
{
|
||||||
"id": "places",
|
"id": "places",
|
||||||
|
@ -572,6 +620,8 @@
|
||||||
"type": "text"
|
"type": "text"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"listViews": [
|
"listViews": [
|
||||||
{"id": "list", "title": "as List"},
|
{"id": "list", "title": "as List"},
|
||||||
{"id": "grid", "title": "as Grid"},
|
{"id": "grid", "title": "as Grid"},
|
||||||
|
@ -582,27 +632,41 @@
|
||||||
{"id": "map", "title": "on Map"},
|
{"id": "map", "title": "on Map"},
|
||||||
{"id": "calendar", "title": "on Calendar"}
|
{"id": "calendar", "title": "on Calendar"}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"media": {
|
"media": {
|
||||||
"importPosters": false,
|
"importPosters": false,
|
||||||
"importFrames": false
|
"importFrames": false
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"menuExtras": [
|
"menuExtras": [
|
||||||
"user",
|
"user",
|
||||||
//"locale",
|
//"locale",
|
||||||
"reload"
|
"reload"
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"personalLists": [
|
"personalLists": [
|
||||||
{"title": "Favorites"}
|
{"title": "Favorites"}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"posters": {
|
"posters": {
|
||||||
"ratio": 0.625
|
"ratio": 0.625
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"rightsLevel": {"member": 2, "staff": 2, "admin": 2},
|
"rightsLevel": {"member": 2, "staff": 2, "admin": 2},
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"rightsLevels": [
|
"rightsLevels": [
|
||||||
{"name": "Public", "color": [128, 255, 128]},
|
{"name": "Public", "color": [128, 255, 128]},
|
||||||
{"name": "Restricted", "color": [255, 192, 128]},
|
{"name": "Restricted", "color": [255, 192, 128]},
|
||||||
{"name": "Private", "color": [255, 128, 128]}
|
{"name": "Private", "color": [255, 128, 128]}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"site": {
|
"site": {
|
||||||
"description": "Pad.ma is an online archive of densely text-annotated video material, primarily footage and not finished films. The entire collection is searchable and viewable online, and is free to download for non-commercial use.",
|
"description": "Pad.ma is an online archive of densely text-annotated video material, primarily footage and not finished films. The entire collection is searchable and viewable online, and is free to download for non-commercial use.",
|
||||||
"email": {
|
"email": {
|
||||||
|
@ -620,6 +684,8 @@
|
||||||
"url": "pad.ma",
|
"url": "pad.ma",
|
||||||
"videoprefix": ""
|
"videoprefix": ""
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"sitePages": [
|
"sitePages": [
|
||||||
{"id": "about", "title": "About"},
|
{"id": "about", "title": "About"},
|
||||||
{"id": "news", "title": "News"},
|
{"id": "news", "title": "News"},
|
||||||
|
@ -629,21 +695,31 @@
|
||||||
{"id": "license", "title": "License"},
|
{"id": "license", "title": "License"},
|
||||||
{"id": "contact", "title": "Contact"}
|
{"id": "contact", "title": "Contact"}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"sites": [
|
"sites": [
|
||||||
{"name": "Indiancine.ma", "url": "indiancine.ma", "https": true},
|
{"name": "Indiancine.ma", "url": "indiancine.ma", "https": true},
|
||||||
{"name": "OxDB", "url": "0xdb.org", "https": true}
|
{"name": "OxDB", "url": "0xdb.org", "https": true}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"textRightsLevels": [
|
"textRightsLevels": [
|
||||||
{"name": "Public", "color": [128, 255, 128]},
|
{"name": "Public", "color": [128, 255, 128]},
|
||||||
{"name": "Private", "color": [255, 128, 128]}
|
{"name": "Private", "color": [255, 128, 128]}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"themes": ["oxlight", "oxmedium", "oxdark"],
|
"themes": ["oxlight", "oxmedium", "oxdark"],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"timelines": [
|
"timelines": [
|
||||||
{"id": "antialias", "title": "Anti-Alias"},
|
{"id": "antialias", "title": "Anti-Alias"},
|
||||||
{"id": "slitscan", "title": "Slit-Scan"},
|
{"id": "slitscan", "title": "Slit-Scan"},
|
||||||
{"id": "keyframes", "title": "Keyframes"},
|
{"id": "keyframes", "title": "Keyframes"},
|
||||||
{"id": "audio", "title": "Waveform"}
|
{"id": "audio", "title": "Waveform"}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"totals": [
|
"totals": [
|
||||||
{"id": "items"},
|
{"id": "items"},
|
||||||
{"id": "files", "capability": "canSeeMedia"},
|
{"id": "files", "capability": "canSeeMedia"},
|
||||||
|
@ -651,9 +727,13 @@
|
||||||
{"id": "size", "capability": "canSeeMedia"},
|
{"id": "size", "capability": "canSeeMedia"},
|
||||||
{"id": "pixels"}
|
{"id": "pixels"}
|
||||||
],
|
],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"tv": {
|
"tv": {
|
||||||
"showLogo": false
|
"showLogo": false
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"user": {
|
"user": {
|
||||||
"level": "guest",
|
"level": "guest",
|
||||||
"ui": {
|
"ui": {
|
||||||
|
@ -793,7 +873,11 @@
|
||||||
"username": "",
|
"username": "",
|
||||||
"volumes": []
|
"volumes": []
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"userLevels": ["guest", "member", "staff", "admin"],
|
"userLevels": ["guest", "member", "staff", "admin"],
|
||||||
|
/*
|
||||||
|
*/
|
||||||
"video": {
|
"video": {
|
||||||
"torrent": true,
|
"torrent": true,
|
||||||
"formats": ["webm", "mp4"],
|
"formats": ["webm", "mp4"],
|
||||||
|
|
Loading…
Reference in a new issue