openmedialibrary/config.json
2019-01-23 21:22:29 +05:30

391 lines
13 KiB
JSON

{
"iconRatio": 0.625,
"itemKeys": [
{
"id": "*",
"title": "All",
"type": "text",
"find": true
},
{
"id": "title",
"title": "Title",
"type": "string",
"additionalSort": [{"key": "author", "operator": "+"}, {"key": "date", "operator": "-"}],
"autocomplete": true,
"autocompleteSort": [{"key": "title", "operator": "+"}],
"columnRequired": true,
"columnWidth": 256,
"find": true,
"sort": true,
"sortType": "title"
},
{
"id": "author",
"title": "Author",
"type": ["string"],
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "date", "operator": "-"}],
"autocomplete": true,
"columnRequired": true,
"columnWidth": 192,
"filter": true,
"find": true,
"sort": true,
"sortType": "person"
},
{
"id": "publisher",
"title": "Publisher",
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"type": ["string"],
"autocomplete": true,
"columnWidth": 128,
"filter": true,
"find": true,
"sort": true
},
{
"id": "place",
"title": "Place",
"type": ["string"],
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 128,
"filter": true,
"find": true,
"sort": true
},
{
"id": "date",
"title": "Date",
"type": "string",
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 96,
"filter": true,
"filterMap": "(-?\\d+)",
"sort": true
},
{
"id": "series",
"title": "Series",
"type": "string",
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 128,
"filter": true,
"find": true,
"sort": true
},
{
"id": "edition",
"title": "Edition",
"type": "string",
"columnWidth": 128,
"find": true
},
{
"id": "language",
"title": "Language",
"type": ["string"],
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 128,
"filter": true,
"find": true,
"sort": true
},
{
"id": "pages",
"title": "Pages",
"type": "integer",
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 96,
"format": {"type": "unit", "args": ["pages"]},
"sort": true
},
{
"id": "categories",
"title": "Categories",
"type": ["string"],
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 128,
"filter": true,
"find": true,
"sort": true
},
{
"id": "isbn",
"title": "ISBN",
"type": "string",
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"format": {"type": "ISBN", "args": [13, true]},
"columnWidth": 128,
"sort": true
},
{
"id": "description",
"title": "Description",
"type": "text",
"find": true
},
{
"id": "tableofcontents",
"title": "Table of Contents",
"type": "text",
"find": true
},
{
"id": "extension",
"title": "Extension",
"type": "string",
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 80,
"format": {"type": "upper", "args": []},
"filter": true,
"sort": true
},
{
"id": "size",
"title": "Size",
"type": "integer",
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 64,
"format": {"type": "value", "args": ["B"]},
"sort": true
},
{
"id": "id",
"title": "ID",
"type": "string",
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 96,
"sort": true
},
{
"id": "created",
"title": "First Seen",
"type": "date",
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 144,
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
"sort": true
},
{
"id": "added",
"title": "Date Added",
"type": "date",
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 144,
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
"sort": true
},
{
"id": "modified",
"title": "Last Modified",
"type": "date",
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 144,
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
"sort": true
},
{
"id": "accessed",
"title": "Last Read",
"type": "date",
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 144,
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
"sort": true
},
{
"id": "timesaccessed",
"title": "Times Accessed",
"type": "integer",
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 64,
"format": {"type": "number", "args": []},
"sort": true
},
{
"id": "mediastate",
"title": "Media State",
"type": "string",
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"find": true,
"sort": true,
"values": [
{"id": "available", "title": "Available"},
{"id": "transferring", "title": "Transferring"},
{"id": "unavailable", "title": "Unavailable"}
]
},
{
"id": "transferadded",
"title": "Added",
"type": "date",
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"format": {"type": "date", "args": ["%Y-%m-%d %H:%M:%S"]},
"sort": true
},
{
"id": "transferprogress",
"title": "Progress",
"type": "float",
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"format": {"type": "percent", "args": [1, 0]},
"sort": true
},
{
"id": "sharemetadata",
"title": "Share Metadata",
"type": "boolean",
"additionalSort": [{"key": "title", "operator": "+"}, {"key": "author", "operator": "+"}],
"columnWidth": 144,
"format": {"type": "boolean", "args": []},
"sort": true
},
{
"id": "fulltext",
"title": "Full Text",
"find": true,
"type": "text"
},
{
"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": "about", "title": "About Open Media Library"},
{"id": "faq", "title": "Frequently Asked Questions"},
{"id": "terms", "title": "Terms and Conditions"},
{"id": "development", "title": "Software Development"},
{"id": "contact", "title": "Send Feedback"},
{"id": "update", "title": "Software Update"},
{"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": "peers", "title": "Peers"},
{"id": "transfers", "title": "Transfers"},
{"id": "import", "title": "Import"},
{"id": "export", "title": "Export"},
{"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": {
"autostart": false,
"acceptMessage": "",
"contact": "",
"downloadRate": null,
"extensions": "",
"importPath": "~/Documents/Open Media Library/Import/",
"libraryPath": "~/Documents/Open Media Library/",
"receivedRequests": "notify",
"rejectMessage": "",
"sendDiagnostics": false,
"enableReadOnlyService": 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": "-"}]},
{"id": "categories", "sort": [{"key": "items", "operator": "-"}]}
],
"filtersSize": 176,
"find": {"conditions": [], "operator": "&"},
"icons": "cover",
"iconInfo": "extension",
"iconSize": 256,
"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",
"showAnnotations": false,
"showBrowser": true,
"showDebugMenu": false,
"showFolder": {},
"showFilters": true,
"showIconInfo": true,
"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": "merge",
"updateResults": false,
"usersSelection": []
}
}
}