openmedialibrary/config.json

380 lines
11 KiB
JSON
Raw Normal View History

2014-05-04 17:26:43 +00:00
{
2014-05-21 00:02:39 +00:00
"iconRatio": 0.75,
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": "edition",
"title": "Edition",
"type": "string",
"columnWidth": 128,
"find": true
},
{
"id": "publisher",
"title": "Publisher",
"type": "string",
"autocomplete": true,
"columnWidth": 128,
"filter": true,
"find": true,
"sort": true
},
{
"id": "place",
"title": "Place",
"type": ["string"],
"columnWidth": 128,
"sort": true
},
{
"id": "country",
"title": "Country",
"type": "string",
"columnWidth": 128,
"filter": true,
"find": true,
"sort": true
},
{
"id": "date",
"title": "Date",
"type": "string",
"columnWidth": 96,
"filter": true,
"filterMap": "(-?\\d+)",
"sort": true
},
{
"id": "language",
"title": "Language",
"type": "string",
"columnWidth": 128,
"filter": true,
"find": true,
"sort": true
},
{
"id": "pages",
"title": "Pages",
"type": "integer",
"columnWidth": 96,
"format": {"type": "unit", "args": ["pages"]},
"sort": true
},
{
"id": "classification",
"title": "Classification",
"type": "string",
"autocomplete": true,
"columnWidth": 192,
"find": true,
"filter": true,
"sort": true
},
{
"id": "description",
"title": "Description",
"type": "text",
"find": true
},
{
"id": "extension",
"title": "Extension",
"type": "string",
"columnWidth": 80,
2014-05-21 00:02:39 +00:00
"format": {"type": "upper", "args": []},
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
},
{
"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": "id",
"title": "ID",
"type": "string",
"columnWidth": 96,
"sort": true
},
{
2014-05-21 00:02:39 +00:00
"id": "isbn",
"title": "ISBN",
"type": ["string"],
2014-05-04 17:26:43 +00:00
"columnWidth": 96,
"sort": true
},
2014-05-14 09:57:11 +00:00
{
"id": "asin",
"title": "ASIN",
2014-05-21 00:02:39 +00:00
"type": ["string"],
2014-05-14 09:57:11 +00:00
"columnWidth": 96,
"sort": true
},
2014-05-04 17:26:43 +00:00
{
"id": "lccn",
"title": "LCCN",
2014-05-21 00:02:39 +00:00
"type": ["string"],
2014-05-04 17:26:43 +00:00
"columnWidth": 96,
"sort": true
},
{
"id": "olid",
"title": "OLID",
2014-05-21 00:02:39 +00:00
"type": ["string"],
2014-05-04 17:26:43 +00:00
"columnWidth": 96,
"sort": true
},
{
"id": "oclc",
"title": "OCLC",
2014-05-21 00:02:39 +00:00
"type": ["string"],
2014-05-04 17:26:43 +00:00
"columnWidth": 96,
"sort": true
},
{
2014-05-21 00:02:39 +00:00
"id": "primaryid",
"title": "Primary ID",
"type": ["string"]
2014-05-04 17:26:43 +00:00
},
{
"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"},
{"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": "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": "-"}]},
{"id": "classification", "sort": [{"key": "items", "operator": "-"}]}
],
"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",
2014-05-14 09:57:11 +00:00
"updateAdvancedFindResults": false,
2014-05-04 17:26:43 +00:00
"usersSelection": []
}
}
}