forked from 0x2620/pandora
611 lines
19 KiB
JSON
611 lines
19 KiB
JSON
{
|
|
"capabilities": {
|
|
"canPlayClips": {"guest": 1, "member": 2, "staff": 3, "admin": 4},
|
|
"canPlayVideo": {"guest": 0, "member": 1, "staff": 3, "admin": 4},
|
|
"canSeeItem": {"guest": 2, "member": 2, "staff": 3, "admin": 4},
|
|
"canSeeFiles": {"guest": -1, "member": -1, "staff": 3, "admin": 4}
|
|
},
|
|
"clipKeys": [
|
|
{"id": "clip:value", "title": "Clip Text", "type": "string"},
|
|
{"id": "clip:position", "title": "Clip Position", "type": "float"},
|
|
{"id": "clip:duration", "title": "Clip Duration", "type": "float"},
|
|
{"id": "clip:hue", "title": "Clip Hue", "type": "hue"},
|
|
{"id": "clip:saturation", "title": "Clip Saturation", "type": "float"},
|
|
{"id": "clip:lightness", "title": "Clip Lightness", "type": "float"},
|
|
{"id": "clip:volume", "title": "Clip Volume", "type": "float"}
|
|
],
|
|
"groups": [
|
|
{"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"}
|
|
],
|
|
"itemKeys": [
|
|
{
|
|
"id": "all",
|
|
"title": "All",
|
|
"type": "text",
|
|
"find": true
|
|
},
|
|
{
|
|
"id": "title",
|
|
"title": "Title",
|
|
"type": "string",
|
|
"autocomplete": true,
|
|
"autocompleteSortKey": "votes",
|
|
"columnRequired": true,
|
|
"columnWidth": 180,
|
|
"find": true,
|
|
"sort": "title"
|
|
},
|
|
{
|
|
"id": "director",
|
|
"title": "Director",
|
|
"type": ["string"],
|
|
"autocomplete": true,
|
|
"columnRequired": true,
|
|
"columnWidth": 180,
|
|
"find": true,
|
|
"group": true,
|
|
"sort": "person"
|
|
},
|
|
{
|
|
"id": "country",
|
|
"title": "Country",
|
|
"type": ["string"],
|
|
"autocomplete": true,
|
|
"columnWidth": 120,
|
|
"find": true,
|
|
"group": true
|
|
},
|
|
{
|
|
"id": "year",
|
|
"title": "Year",
|
|
"type": "year",
|
|
"autocomplete": true,
|
|
"columnWidth": 60,
|
|
"find": true,
|
|
"group": true
|
|
},
|
|
{
|
|
"id": "language",
|
|
"title": "Language",
|
|
"type": ["string"],
|
|
"autocomplete": true,
|
|
"columnWidth": 120,
|
|
"find": true,
|
|
"group": true
|
|
},
|
|
{
|
|
"id": "runtime",
|
|
"title": "Runtime",
|
|
"type": "integer",
|
|
"columnWidth": 60,
|
|
"format": {"type": "duration", "args": [0, "medium"]}
|
|
},
|
|
{
|
|
"id": "writer",
|
|
"title": "Writer",
|
|
"type": ["string"],
|
|
"autocomplete": true,
|
|
"columnWidth": 180,
|
|
"find": true,
|
|
"group": true,
|
|
"sort": "person"
|
|
},
|
|
{
|
|
"id": "producer",
|
|
"title": "Producer",
|
|
"type": ["string"],
|
|
"autocomplete": true,
|
|
"columnWidth": 180,
|
|
"find": true,
|
|
"group": true,
|
|
"sort": "person"
|
|
},
|
|
{
|
|
"id": "cinematographer",
|
|
"title": "Cinematographer",
|
|
"type": ["string"],
|
|
"autocomplete": true,
|
|
"columnWidth": 180,
|
|
"find": true,
|
|
"group": true,
|
|
"sort": "person"
|
|
},
|
|
{
|
|
"id": "editor",
|
|
"title": "Editor",
|
|
"type": ["string"],
|
|
"autocomplete": true,
|
|
"columnWidth": 180,
|
|
"find": true,
|
|
"group": true,
|
|
"sort": "person"
|
|
},
|
|
{
|
|
"id": "actor",
|
|
"title": "Actor",
|
|
"type": ["string"],
|
|
"autocomplete": true,
|
|
"find": true,
|
|
"group": true,
|
|
"sort": "person"
|
|
},
|
|
{
|
|
"id": "numberofactors",
|
|
"title": "Number of Actors",
|
|
"type": "integer",
|
|
"columnWidth": 60,
|
|
"value": {"key": "actor", "type": "length"}
|
|
},
|
|
{
|
|
"id": "character",
|
|
"title": "Character",
|
|
"type": ["string"],
|
|
"autocomplete": true,
|
|
"find": true,
|
|
"sort": "person"
|
|
},
|
|
{
|
|
"id": "name",
|
|
"title": "Name",
|
|
"type": ["string"],
|
|
"autocomplete": true,
|
|
"find": true
|
|
},
|
|
{
|
|
"id": "genre",
|
|
"title": "Genre",
|
|
"type": ["string"],
|
|
"autocomplete": true,
|
|
"columnWidth": 120,
|
|
"find": true,
|
|
"group": true
|
|
},
|
|
{
|
|
"id": "keyword",
|
|
"title": "Keyword",
|
|
"type": ["string"],
|
|
"autocomplete": true,
|
|
"find": true,
|
|
"group": true
|
|
},
|
|
{
|
|
"id": "numberofkeywords",
|
|
"title": "Number of Keywords",
|
|
"type": "integer",
|
|
"columnWidth": 60,
|
|
"value": {"key": "keyword", "type": "length"}
|
|
},
|
|
{
|
|
"id": "summary",
|
|
"title": "Summary",
|
|
"type": "text",
|
|
"find": true
|
|
},
|
|
{
|
|
"id": "wordsinsummary",
|
|
"title": "Words in Summary",
|
|
"type": "integer",
|
|
"columnWidth": 60,
|
|
"value": {"key": "summary", "type": "words"}
|
|
},
|
|
{
|
|
"id": "trivia",
|
|
"title": "Trivia",
|
|
"type": ["text"]
|
|
},
|
|
{
|
|
"id": "wordsintrivia",
|
|
"title": "Words in Trivia",
|
|
"type": "integer",
|
|
"columnWidth": 60,
|
|
"value": {"key": "trivia", "type": "words"}
|
|
},
|
|
{
|
|
"id": "releasedate",
|
|
"title": "Release Date",
|
|
"type": "date",
|
|
"columnWidth": 120,
|
|
"format": {"type": "date", "args": ["%a, %b %e, %Y"]}
|
|
},
|
|
{
|
|
"id": "budget",
|
|
"title": "Budget",
|
|
"type": "integer",
|
|
"columnWidth": 90,
|
|
"format": {"type": "currency", "args": ["$", 0]}
|
|
},
|
|
{
|
|
"id": "gross",
|
|
"title": "Gross",
|
|
"type": "integer",
|
|
"columnWidth": 90,
|
|
"format": {"type": "currency", "args": ["$", 0]}
|
|
},
|
|
{
|
|
"id": "profit",
|
|
"title": "Profit",
|
|
"type": "integer",
|
|
"columnWidth": 90,
|
|
"format": {"type": "currency", "args": ["$", 0]}
|
|
},
|
|
{
|
|
"id": "rating",
|
|
"title": "Rating",
|
|
"type": "float",
|
|
"columnWidth": 60,
|
|
"format": {"type": "percent", "args": [10, 2]}
|
|
},
|
|
{
|
|
"id": "votes",
|
|
"title": "Votes",
|
|
"type": "integer",
|
|
"columnWidth": 60,
|
|
"format": {"type": "percent", "args": ["auto", 2]}
|
|
},
|
|
{
|
|
"id": "id",
|
|
"title": "ID",
|
|
"type": "string",
|
|
"columnWidth": 90
|
|
},
|
|
{
|
|
"id": "subtitles",
|
|
"title": "Subtitles",
|
|
"type": "layer",
|
|
"find": true
|
|
},
|
|
{
|
|
"id": "duration",
|
|
"title": "Duration",
|
|
"type": "float",
|
|
"columnWidth": 90,
|
|
"format": {"type": "duration", "args": [0, "short"]}
|
|
},
|
|
{
|
|
"id": "resolution",
|
|
"title": "Resolution",
|
|
"type": ["integer"],
|
|
"columnWidth": 90
|
|
},
|
|
{
|
|
"id": "aspectratio",
|
|
"title": "Aspect Ratio",
|
|
"type": "float",
|
|
"columnWidth": 90,
|
|
"format": {"type": "unit", "args": [":1"]}
|
|
},
|
|
{
|
|
"id": "pixels",
|
|
"title": "Pixels",
|
|
"type": "integer",
|
|
"columnWidth": 90,
|
|
"format": {"type": "value", "args": ["px"]}
|
|
},
|
|
{
|
|
"id": "hue",
|
|
"title": "Hue",
|
|
"type": "hue",
|
|
"columnWidth": 90,
|
|
"format": {"type": "color", "args": ["hue"]}
|
|
},
|
|
{
|
|
"id": "saturation",
|
|
"title": "Saturation",
|
|
"type": "float",
|
|
"columnWidth": 90,
|
|
"format": {"type": "color", "args": ["saturation"]}
|
|
},
|
|
{
|
|
"id": "lightness",
|
|
"title": "Lightness",
|
|
"type": "float",
|
|
"columnWidth": 90,
|
|
"format": {"type": "color", "args": ["lightness"]}
|
|
},
|
|
{
|
|
"id": "volume",
|
|
"title": "Volume",
|
|
"type": "float",
|
|
"columnWidth": 60
|
|
},
|
|
{
|
|
"id": "numberofcuts",
|
|
"title": "Number of Cuts",
|
|
"type": "integer",
|
|
"columnWidth": 60,
|
|
"value": {"key": "cuts", "type": "length"}
|
|
},
|
|
{
|
|
"id": "cutsperminute",
|
|
"title": "Cuts per Minute",
|
|
"type": "float",
|
|
"columnWidth": 60,
|
|
"value": {"key": "cuts", "type": "lengthperminute"}
|
|
},
|
|
{
|
|
"id": "words",
|
|
"title": "Words",
|
|
"type": "integer",
|
|
"columnWidth": 60,
|
|
"value": {"layer": "subtitles", "type": "words"}
|
|
},
|
|
{
|
|
"id": "wordsperminute",
|
|
"title": "Words per Minute",
|
|
"type": "float",
|
|
"columnWidth": 60,
|
|
"value": {"layer": "subtitles", "type": "wordsperminute"}
|
|
},
|
|
{
|
|
"id": "size",
|
|
"title": "Size",
|
|
"type": "integer",
|
|
"capability": "canSeeFiles",
|
|
"columnWidth": 60,
|
|
"format": {"type": "value", "args": ["B"]}
|
|
},
|
|
{
|
|
"id": "bitrate",
|
|
"title": "Bitrate",
|
|
"type": "integer",
|
|
"capability": "canSeeFiles",
|
|
"columnWidth": 60,
|
|
"format": {"type": "unit", "args": ["kbps"]}
|
|
},
|
|
{
|
|
"id": "parts",
|
|
"title": "Parts",
|
|
"type": "integer",
|
|
"capability": "canSeeFiles",
|
|
"columnWidth": 60
|
|
},
|
|
{
|
|
"id": "numberoffiles",
|
|
"title": "Number of Files",
|
|
"type": "integer",
|
|
"capability": "canSeeFiles",
|
|
"columnWidth": 60,
|
|
"value": {"key": "files", "type": "length"}
|
|
},
|
|
{
|
|
"id": "filename",
|
|
"title": "Filename",
|
|
"type": ["string"],
|
|
"capability": "canSeeFiles",
|
|
"find": true
|
|
},
|
|
{
|
|
"id": "published",
|
|
"title": "Date Published",
|
|
"type": "date",
|
|
"columnWidth": 90,
|
|
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]}
|
|
},
|
|
{
|
|
"id": "modified",
|
|
"title": "Date Modified",
|
|
"type": "date",
|
|
"columnWidth": 90,
|
|
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]}
|
|
},
|
|
{
|
|
"id": "accessed",
|
|
"title": "Date Accessed",
|
|
"type": "date",
|
|
"columnWidth": 90,
|
|
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]}
|
|
},
|
|
{
|
|
"id": "viewed",
|
|
"title": "Date Viewed",
|
|
"type": "date",
|
|
"columnWidth": 90,
|
|
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]}
|
|
},
|
|
{
|
|
"id": "popularity",
|
|
"title": "Popularity",
|
|
"type": "integer",
|
|
"columnWidth": 60,
|
|
"format": {"type": "percent", "args": ["auto", 2]}
|
|
},
|
|
{
|
|
"id": "canPlayVideo",
|
|
"title": "Can Play Video",
|
|
"type": "boolean",
|
|
"value": "capability"
|
|
},
|
|
{
|
|
"id": "canPlayClips",
|
|
"title": "Can Play Clips",
|
|
"type": "boolean",
|
|
"value": "capability"
|
|
}
|
|
],
|
|
"fixme": "itemNames should be lowercase!",
|
|
"itemName": {
|
|
"singular": "Movie",
|
|
"plural": "Movies"
|
|
},
|
|
"itemViews": [
|
|
{"id": "info", "title": "Info"},
|
|
{"id": "statistics", "title": "Statistics"},
|
|
{"id": "clips", "title": "Clips"},
|
|
{"id": "player", "title": "Player"},
|
|
{"id": "timeline", "title": "Timeline"},
|
|
{"id": "map", "title": "Map"},
|
|
{"id": "calendar", "title": "Calendar"},
|
|
{"id": "files", "title": "Files"}
|
|
],
|
|
"layers": [
|
|
{
|
|
"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"}
|
|
]
|
|
}
|
|
],
|
|
"listViews": [
|
|
{"id": "list", "title": "as List"},
|
|
{"id": "grid", "title": "as Grid"},
|
|
{"id": "info", "title": "with Info"},
|
|
{"id": "clips", "title": "with Clips"},
|
|
{"id": "timelines", "title": "with Timelines"},
|
|
{"id": "maps", "title": "with Maps"},
|
|
{"id": "calendars", "title": "with Calendars"},
|
|
{"id": "clip", "title": "as Clips"},
|
|
{"id": "player", "title": "as Player"},
|
|
{"id": "map", "title": "on Map"},
|
|
{"id": "calendar", "title": "on Calendar"}
|
|
],
|
|
"media": {
|
|
"importMoviePosters": true,
|
|
"importPosterFrames": true
|
|
},
|
|
"rightsLevel": {"member": 5, "staff": 4, "admin": 3},
|
|
"rightsLevels": [
|
|
{"name": "Public", "color": [0, 255, 0], "description": "Everyone can see and play."},
|
|
{"name": "Relaxed", "color": [128, 255, 0], "description": "Guests can't play video."},
|
|
{"name": "Regular", "color": [255, 255, 0], "description": "Guests can't play clips, members can't play video."},
|
|
{"name": "Restricted", "color": [255, 128, 0], "description": "Only staff and admin can see and play."},
|
|
{"name": "Private", "color": [255, 0, 0], "description": "Only admins can see and play."}
|
|
],
|
|
"site": {
|
|
"id": "{{settings.SITEID}}",
|
|
"name": "{{settings.SITENAME}}",
|
|
"url": "{{settings.URL}}"
|
|
},
|
|
"sitePages": [
|
|
{"id": "about", "title": "About"},
|
|
{"id": "news", "title": "News"},
|
|
{"id": "tour", "title": "Take a Tour"},
|
|
{"id": "faq", "title": "Frequently Asked Questions"},
|
|
{"id": "terms", "title": "Terms of Service"}
|
|
],
|
|
"totals": [
|
|
{"id": "items"},
|
|
{"id": "runtime"},
|
|
{"id": "files", "admin": true},
|
|
{"id": "duration", "admin": true},
|
|
{"id": "size", "admin": true},
|
|
{"id": "pixels"}
|
|
],
|
|
"user": {
|
|
"level": "guest",
|
|
"lists": {
|
|
"common": [
|
|
{"id": "all", "title": "All Movies", "query": {}}
|
|
],
|
|
"personal": [
|
|
{"user": "foo", "name": "Favorites", "featured": false, "public": true},
|
|
{"id": "favorites", "title": "Favorites", "public": true, "items": []},
|
|
{"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_full_video", "title": "Movies with Clips", "query": {"conditions": [{"key": "canPlayClips", "value": true, "operator": ""}], "operator": ""}}
|
|
],
|
|
"favorite": [
|
|
{"id": "rlx:watchme", "title": "rlx: watchme", "public": true, "items": [0, 1, 2, 3, 4]}
|
|
],
|
|
"featured": [
|
|
{"id": "situationist_film", "title": "Situationist Film", "query": {}},
|
|
{"id": "timelines", "title": "Timelines", "items": [0, 1, 2, 3, 4, 5, 6, 7, 8]}
|
|
]
|
|
},
|
|
"notes": "",
|
|
"preferences": {},
|
|
"ui": {
|
|
"annotationsSize": 256,
|
|
"find": {"index": -1, "key": "", "value": ""},
|
|
"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": "-"}]}
|
|
],
|
|
"groupsSize": 176,
|
|
"icons": "posters",
|
|
"infoIconSize": 256,
|
|
"item": "",
|
|
"itemView": "info",
|
|
"list": "",
|
|
"lists": {
|
|
"": {
|
|
"columns": ["title", "director", "country", "year", "language", "runtime", "genre"],
|
|
"columnWidth": {},
|
|
"listView": "grid",
|
|
"selected": [],
|
|
"sort": [
|
|
{"key": "director", "operator": ""}
|
|
]
|
|
}
|
|
},
|
|
"query": {"conditions": [], "operator": ""},
|
|
"section": "items",
|
|
"showAnnotations": true,
|
|
"showControls": true,
|
|
"showFlags": true,
|
|
"showGroups": true,
|
|
"showHome": true,
|
|
"showInfo": true,
|
|
"showMovies": true,
|
|
"showFolder": {
|
|
"items": {
|
|
"personal": true,
|
|
"favorite": true,
|
|
"featured": true,
|
|
"volumes": true
|
|
}
|
|
},
|
|
"showSidebar": true,
|
|
"sidebarSize": 256,
|
|
"sitePage": "home",
|
|
"theme": "modern",
|
|
"videoPoints": {},
|
|
"videoScale": "fit",
|
|
"videoMuted": false,
|
|
"videoSize": "small",
|
|
"videoView": "player",
|
|
"videoVolume": 1
|
|
},
|
|
"username": "",
|
|
"volumes": [
|
|
{"name": "Movies A-Z", "path": "", "items": 1234}
|
|
]
|
|
},
|
|
"userLevels": ["guest", "member", "staff", "admin"],
|
|
"video": {
|
|
"download": false,
|
|
"formats": ["webm", "mp4"],
|
|
"resolutions": [96]
|
|
}
|
|
}
|