openmedialibrary/config.json

356 lines
11 KiB
JSON
Raw Normal View History

2014-05-04 17:26:43 +00:00
{
"iconRatio": 0.625,
2014-05-04 17:26:43 +00:00
"itemKeys": [
{
"id": "*",
"title": "All",
"type": "text",
"find": true
},
{
"id": "title",
"title": "Title",
"type": "string",
"autocomplete": true,
2014-10-04 18:57:09 +00:00
"autocompleteSort": [{"key": "title", "operator": "+"}],
2014-05-04 17:26:43 +00:00
"columnRequired": true,
"columnWidth": 256,
"find": true,
"sort": true,
"sortType": "title"
},
{
"id": "author",
"title": "Author",
"type": ["string"],
"autocomplete": true,
"columnRequired": true,
"columnWidth": 192,
"filter": true,
2014-05-14 18:46:31 +00:00
"find": true,
2014-05-04 17:26:43 +00:00
"sort": true,
"sortType": "person"
},
{
"id": "publisher",
"title": "Publisher",
2016-01-05 14:26:43 +00:00
"type": ["string"],
2014-05-04 17:26:43 +00:00
"autocomplete": true,
"columnWidth": 128,
"filter": true,
"find": true,
"sort": true
},
{
"id": "place",
"title": "Place",
"type": ["string"],
"columnWidth": 128,
2016-01-05 16:09:19 +00:00
"filter": true,
2014-05-04 17:26:43 +00:00
"find": true,
"sort": true
},
{
"id": "date",
"title": "Date",
"type": "string",
"columnWidth": 96,
"filter": true,
"filterMap": "(-?\\d+)",
"sort": true
},
2016-01-11 06:32:53 +00:00
{
"id": "series",
"title": "Series",
"type": "string",
"columnWidth": 128,
"filter": true,
"find": true,
"sort": true
},
{
"id": "edition",
"title": "Edition",
"type": "string",
"columnWidth": 128,
"find": true
},
2014-05-04 17:26:43 +00:00
{
"id": "language",
"title": "Language",
2015-04-20 07:53:20 +00:00
"type": ["string"],
2014-05-04 17:26:43 +00:00
"columnWidth": 128,
"filter": true,
"find": true,
"sort": true
},
{
"id": "pages",
"title": "Pages",
"type": "integer",
"columnWidth": 96,
"format": {"type": "unit", "args": ["pages"]},
"sort": true
},
2016-01-11 10:46:29 +00:00
{
"id": "categories",
"title": "Categories",
"type": ["string"],
"columnWidth": 128,
"filter": true,
"find": true,
"sort": true
},
2016-01-11 14:27:50 +00:00
{
"id": "isbn",
"title": "ISBN",
"type": "string",
"columnWidth": 96,
"sort": true
},
2014-05-04 17:26:43 +00:00
{
"id": "description",
"title": "Description",
"type": "text",
"find": true
},
2016-01-11 06:32:53 +00:00
{
"id": "tableofcontents",
"title": "Table of Contents",
"type": "text",
"find": true
},
2014-05-04 17:26:43 +00:00
{
"id": "extension",
"title": "Extension",
"type": "string",
"columnWidth": 80,
2014-05-21 00:02:39 +00:00
"format": {"type": "upper", "args": []},
2015-04-20 07:53:20 +00:00
"filter": true,
2014-05-19 18:12:02 +00:00
"sort": true
2014-05-04 17:26:43 +00:00
},
{
"id": "size",
"title": "Size",
"type": "integer",
"columnWidth": 64,
"format": {"type": "value", "args": ["B"]},
"sort": true
},
2016-01-11 14:27:50 +00:00
{
"id": "id",
"title": "ID",
"type": "string",
"columnWidth": 96,
"sort": true
},
2014-05-04 17:26:43 +00:00
{
"id": "created",
"title": "First Seen",
"type": "date",
"columnWidth": 144,
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
"sort": true
},
{
"id": "added",
"title": "Date Added",
"type": "date",
"columnWidth": 144,
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
"sort": true
},
{
"id": "modified",
"title": "Last Modified",
"type": "date",
"columnWidth": 144,
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
"sort": true
},
{
"id": "accessed",
"title": "Last Read",
"type": "date",
"columnWidth": 144,
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
"sort": true
},
{
"id": "timesaccessed",
"title": "Times Accessed",
"type": "integer",
"columnWidth": 64,
"format": {"type": "number", "args": []},
"sort": true
},
{
"id": "mediastate",
"title": "Media State",
"type": "string",
2014-05-14 23:28:49 +00:00
"find": true,
2014-05-14 09:57:11 +00:00
"sort": true,
"values": [
{"id": "available", "title": "Available"},
{"id": "transferring", "title": "Transferring"},
{"id": "unavailable", "title": "Unavailable"}
]
2014-05-04 17:26:43 +00:00
},
{
"id": "transferadded",
"title": "Added",
"type": "date",
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
"sort": true
},
{
"id": "transferprogress",
"title": "Progress",
"type": "float",
"format": {"type": "percent", "args": [1, 0]},
"sort": true
},
{
"id": "random",
"title": "Random",
"type": "integer",
"sort": true
}
],
"itemViews": [
{"id": "info", "title": "Info"},
{"id": "book", "title": "Book"}
],
"lists": [
{"title": "Reading List"},
{"title": "1968", "query": {
"conditions": [{"key": "*", "operator": "=", "value": "1968"}],
"operator": "&"
}}
],
"listViews": [
{"id": "list", "title": "List"},
{"id": "grid", "title": "Grid"}
],
"locales": ["en", "ar", "hi"],
"pages": [
{"id": "welcome", "title": "Welcome"},
{"id": "app", "title": "Application", "parts": [
{"id": "about", "title": "About Open Media Library"},
{"id": "faq", "title": "Frequently Asked Questions"},
{"id": "terms", "title": "Terms and Conditions"},
{"id": "development", "title": "Software Development"},
2016-01-08 03:41:55 +00:00
{"id": "contact", "title": "Send Feedback"}
2014-05-04 17:26:43 +00:00
]},
{"id": "update", "title": "Software Update"},
2014-05-04 17:26:43 +00:00
{"id": "preferences", "title": "Preferences", "parts": [
{"id": "account", "title": "Account"},
{"id": "library", "title": "Library"},
{"id": "peering", "title": "Peering"},
{"id": "network", "title": "Network"},
{"id": "appearance", "title": "Appearance"},
{"id": "extensions", "title": "Extensions"},
{"id": "advanced", "title": "Advanced"}
]},
{"id": "users", "title": "Users"},
{"id": "devices", "title": "Devices"},
2014-05-17 08:17:34 +00:00
{"id": "import", "title": "Import"},
{"id": "export", "title": "Export"},
2014-05-04 17:26:43 +00:00
{"id": "notifications", "title": "Notifications"},
{"id": "transfers", "title": "Transfers"},
{"id": "gettingstarted", "title": "Getting Started"},
{"id": "help", "title": "Help", "parts": [
{"id": "introduction", "title": "Introduction"},
{"id": "accounts", "title": "Accounts"},
{"id": "navigaion", "title": "Navigation"},
{"id": "views", "title": "Views"},
{"id": "lists", "title": "Lists"}
]},
{"id": "documentation", "title": "Documentation"}
],
"themes": ["oxlight", "oxmedium", "oxdark"],
"totals": [
{"id": "items"},
{"id": "size"}
],
"user": {
"preferences": {
"acceptMessage": "",
"contact": "",
"downloadRate": null,
"extensions": "",
"importPath": "~/Documents/Open Media Library/Import/",
"libraryPath": "~/Documents/Open Media Library/",
"receivedRequests": "notify",
"rejectMessage": "",
"sendDiagnostics": false,
"sendRequests": "manually",
"uploadRate": null,
"username": ""
},
"ui": {
"fileInfo": "extension",
"filters": [
{"id": "author", "sort": [{"key": "items", "operator": "-"}]},
{"id": "publisher", "sort": [{"key": "items", "operator": "-"}]},
{"id": "date", "sort": [{"key": "name", "operator": "-"}]},
{"id": "language", "sort": [{"key": "items", "operator": "-"}]},
2016-01-11 06:32:53 +00:00
{"id": "categories", "sort": [{"key": "items", "operator": "-"}]}
2014-05-04 17:26:43 +00:00
],
"filtersSize": 176,
"find": {"conditions": [], "operator": "&"},
"icons": "cover",
2014-05-21 00:02:39 +00:00
"iconInfo": "extension",
"iconSize": 256,
2014-05-04 17:26:43 +00:00
"item": "",
"itemView": "info",
"listColumns": ["title", "author", "publisher", "date"],
"listColumnWidth": {},
"lists": {},
"listSelection": [],
"listSort": [
{"key": "author", "operator": "+"},
{"key": "date", "operator": "+"},
{"key": "title", "operator": "+"}
],
"listView": "grid",
"locale": "en",
"mediaState": {},
"page": "welcome",
"part": {
"app": "about",
"preferences": "account",
"help": "introduction"
},
"section": "books",
"showBrowser": true,
"showDebugMenu": false,
"showFolder": {},
"showFilters": true,
2014-05-21 00:02:39 +00:00
"showIconInfo": true,
2014-05-04 17:26:43 +00:00
"showInfo": true,
"showSection": {
"notifications": {
"received": true,
"sent": true
},
"transfers": {
"active": true,
"queued": true
},
"users": {
"peers": true,
"pending": true,
"others": true
}
},
"showSidebar": true,
"sidebarSize": 256,
"theme": "oxlight",
"updateMetadata": "replace",
2016-01-12 04:43:41 +00:00
"updateResults": false,
2014-05-04 17:26:43 +00:00
"usersSelection": []
}
}
}