update config, fix poster
This commit is contained in:
parent
fa9835117c
commit
d1addb6626
2 changed files with 172 additions and 109 deletions
280
config.jsonc
280
config.jsonc
|
@ -38,47 +38,47 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
texts of a rights level up to and including x
|
texts of a rights level up to and including x
|
||||||
*/
|
*/
|
||||||
"capabilities": {
|
"capabilities": {
|
||||||
"canAddItems": {"member": true, "staff": true, "admin": true},
|
"canAddItems": {"member": true, "admin": true},
|
||||||
"canAddDocuments": {"member": true, "staff": true, "admin": true},
|
"canAddDocuments": {"member": true, "admin": true},
|
||||||
"canDownloadVideo": {"guest": 1, "member": 1, "staff": 4, "admin": 4},
|
"canDownloadVideo": {"guest": 1, "member": 1, "admin": 1},
|
||||||
"canEditAnnotations": {"staff": true, "admin": true},
|
"canEditAnnotations": {"member": true, "admin": true},
|
||||||
"canEditDocuments": {"staff": true, "admin": true},
|
"canEditDocuments": {"member": true, "admin": true},
|
||||||
"canEditEntities": {"staff": true, "admin": true},
|
"canEditEntities": {"member": true, "admin": true},
|
||||||
"canEditEvents": {"staff": true, "admin": true},
|
"canEditEvents": {"member": true, "admin": true},
|
||||||
"canEditFeaturedCollections": {"staff": true, "admin": true},
|
"canEditFeaturedCollections": {"admin": true},
|
||||||
"canEditFeaturedEdits": {"staff": true, "admin": true},
|
"canEditFeaturedEdits": {"admin": true},
|
||||||
"canEditFeaturedLists": {"staff": true, "admin": true},
|
"canEditFeaturedLists": {"admin": true},
|
||||||
"canEditFeaturedTexts": {"staff": true, "admin": true},
|
"canEditFeaturedTexts": {"admin": true},
|
||||||
"canEditMedia": {"staff": true, "admin": true},
|
"canEditMedia": {"member": true, "admin": true},
|
||||||
"canEditMetadata": {"staff": true, "admin": true},
|
"canEditMetadata": {"member": true, "admin": true},
|
||||||
"canEditPlaces": {"staff": true, "admin": true},
|
"canEditPlaces": {"member": true, "admin": true},
|
||||||
"canEditRightsLevel": {"member": true, "staff": true, "admin": true},
|
"canEditRightsLevel": {"admin": true},
|
||||||
"canEditSitePages": {"staff": true, "admin": true},
|
"canEditSitePages": {"admin": true},
|
||||||
"canEditUsers": {"admin": true},
|
"canEditUsers": {"admin": true},
|
||||||
"canExportAnnotations": {"member": true, "staff": true, "admin": true},
|
"canExportAnnotations": {"member": true, "admin": true},
|
||||||
"canImportAnnotations": {"member": true, "staff": true, "admin": true},
|
"canImportAnnotations": {"member": true, "admin": true},
|
||||||
"canImportItems": {"member": true, "staff": true, "admin": true},
|
"canImportItems": {"member": true, "admin": true},
|
||||||
"canManageDocuments": {"member": true, "staff": true, "admin": true},
|
"canManageDocuments": {"member": true, "admin": true},
|
||||||
"canManageEntities": {"member": true, "staff": true, "admin": true},
|
"canManageEntities": {"member": true, "admin": true},
|
||||||
"canManageHome": {"staff": true, "admin": true},
|
"canManageHome": {"admin": true},
|
||||||
"canManagePlacesAndEvents": {"member": true, "staff": true, "admin": true},
|
"canManagePlacesAndEvents": {"member": true, "admin": true},
|
||||||
"canManageTitlesAndNames": {"member": true, "staff": true, "admin": true},
|
"canManageTitlesAndNames": {"member": true, "admin": true},
|
||||||
"canManageUsers": {"staff": true, "admin": true},
|
"canManageUsers": {"admin": true},
|
||||||
"canPlayClips": {"guest": 1, "member": 1, "staff": 4, "admin": 4},
|
"canPlayClips": {"guest": 1, "member": 1, "admin": 1},
|
||||||
"canPlayVideo": {"guest": 1, "member": 1, "staff": 4, "admin": 4},
|
"canPlayVideo": {"guest": 1, "member": 1, "admin": 1},
|
||||||
"canReadText": {"guest": 0, "member": 0, "staff": 1, "admin": 1},
|
"canReadText": {"guest": 1, "member": 1, "admin": 1},
|
||||||
"canRemoveItems": {"staff": true, "admin": true},
|
"canRemoveItems": {"admin": true},
|
||||||
"canRemoveDocuments": {"staff": true, "admin": true},
|
"canRemoveDocuments": {"admin": true},
|
||||||
"canSeeAccessed": {"staff": true, "admin": true},
|
"canSeeAccessed": {"admin": true},
|
||||||
"canSeeAllTasks": {"staff": true, "admin": true},
|
"canSeeAllTasks": {"admin": true},
|
||||||
"canSeeDebugMenu": {"staff": true, "admin": true},
|
"canSeeDebugMenu": {"admin": true},
|
||||||
"canSeeExtraItemViews": {"staff": true, "admin": true},
|
"canSeeExtraItemViews": {"admin": true},
|
||||||
"canSeeMedia": {"staff": true, "admin": true},
|
"canSeeMedia": {"admin": true},
|
||||||
"canSeeDocument": {"guest": 1, "member": 1, "staff": 4, "admin": 4},
|
"canSeeDocument": {"guest": 0, "member": 0, "admin": 1},
|
||||||
"canSeeItem": {"guest": 1, "member": 1, "staff": 4, "admin": 4},
|
"canSeeItem": {"guest": 0, "member": 0, "admin": 1},
|
||||||
"canSeeSize": {"staff": true, "admin": true},
|
"canSeeSize": {"admin": true},
|
||||||
"canSeeSoftwareVersion": {"staff": true, "admin": true},
|
"canSeeSoftwareVersion": {"admin": true},
|
||||||
"canSendMail": {"staff": true, "admin": true}
|
"canSendMail": {"admin": true}
|
||||||
},
|
},
|
||||||
/*
|
/*
|
||||||
"clipKeys" are the properties that clips can be sorted by (the values are
|
"clipKeys" are the properties that clips can be sorted by (the values are
|
||||||
|
@ -99,7 +99,7 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
text of clips (in grid view, below the icon). Excluding a layer from this
|
text of clips (in grid view, below the icon). Excluding a layer from this
|
||||||
list means it will not be included in find annotations.
|
list means it will not be included in find annotations.
|
||||||
*/
|
*/
|
||||||
"clipLayers": ["publicnotes", "keywords", "subtitles"],
|
"clipLayers": ["subtitles", "tags", "publicnotes"],
|
||||||
/*
|
/*
|
||||||
"documentKeys" defines the metadata associated with each document. Required keys
|
"documentKeys" defines the metadata associated with each document. Required keys
|
||||||
are "*", "id" and "title".
|
are "*", "id" and "title".
|
||||||
|
@ -163,6 +163,28 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
"autocomplete": true,
|
"autocomplete": true,
|
||||||
"columnWidth": 256
|
"columnWidth": 256
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "work",
|
||||||
|
"operator": "+",
|
||||||
|
"title": "Work",
|
||||||
|
"type": "string",
|
||||||
|
"find": true,
|
||||||
|
"sort": true,
|
||||||
|
"sortType": "title",
|
||||||
|
"autocomplete": true,
|
||||||
|
"columnWidth": 256
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "version",
|
||||||
|
"operator": "+",
|
||||||
|
"title": "Ver",
|
||||||
|
"type": "string",
|
||||||
|
"find": true,
|
||||||
|
"sort": true,
|
||||||
|
"sortType": "title",
|
||||||
|
"autocomplete": true,
|
||||||
|
"columnWidth": 256
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "type",
|
"id": "type",
|
||||||
"operator": "+",
|
"operator": "+",
|
||||||
|
@ -186,6 +208,18 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
"autocomplete": true,
|
"autocomplete": true,
|
||||||
"columnWidth": 256
|
"columnWidth": 256
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "versionauthor",
|
||||||
|
"operator": "+",
|
||||||
|
"title": "Version Author",
|
||||||
|
"type": ["string"],
|
||||||
|
"filter": true,
|
||||||
|
"find": true,
|
||||||
|
"sort": true,
|
||||||
|
"sortType": "person",
|
||||||
|
"autocomplete": true,
|
||||||
|
"columnWidth": 256
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "publisher",
|
"id": "publisher",
|
||||||
"operator": "+",
|
"operator": "+",
|
||||||
|
@ -214,21 +248,6 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
//"format": {"type": "date", "args": ["%a, %b %e, %Y"]},
|
//"format": {"type": "date", "args": ["%a, %b %e, %Y"]},
|
||||||
"sort": true
|
"sort": true
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "series",
|
|
||||||
"title": "Series",
|
|
||||||
"type": "string",
|
|
||||||
"columnWidth": 128,
|
|
||||||
"find": true,
|
|
||||||
"sort": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "edition",
|
|
||||||
"title": "Edition",
|
|
||||||
"type": "string",
|
|
||||||
"columnWidth": 128,
|
|
||||||
"find": true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "language",
|
"id": "language",
|
||||||
"title": "Language",
|
"title": "Language",
|
||||||
|
@ -238,6 +257,24 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
"find": true,
|
"find": true,
|
||||||
"sort": true
|
"sort": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "keywords",
|
||||||
|
"title": "Keywords",
|
||||||
|
"type": ["string"],
|
||||||
|
"autocomplete": true,
|
||||||
|
"filter": true,
|
||||||
|
"find": true,
|
||||||
|
"sort": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "description",
|
||||||
|
"operator": "+",
|
||||||
|
"title": "Description",
|
||||||
|
"type": "text",
|
||||||
|
"find": true,
|
||||||
|
"sort": true,
|
||||||
|
"columnWidth": 256
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "id",
|
"id": "id",
|
||||||
"operator": "+",
|
"operator": "+",
|
||||||
|
@ -274,15 +311,6 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
"format": {"type": "value", "args": ["B"]},
|
"format": {"type": "value", "args": ["B"]},
|
||||||
"columnWidth": 64
|
"columnWidth": 64
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "description",
|
|
||||||
"operator": "+",
|
|
||||||
"title": "Description",
|
|
||||||
"type": "text",
|
|
||||||
"find": true,
|
|
||||||
"sort": true,
|
|
||||||
"columnWidth": 256
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "matches",
|
"id": "matches",
|
||||||
"operator": "-",
|
"operator": "-",
|
||||||
|
@ -355,14 +383,13 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
"documentRightsLevel" defines which initial rights level will be assigned to documents
|
"documentRightsLevel" defines which initial rights level will be assigned to documents
|
||||||
created by users of these user levels.
|
created by users of these user levels.
|
||||||
*/
|
*/
|
||||||
"documentRightsLevel": {"member": 0, "staff": 0, "admin": 0},
|
"documentRightsLevel": {"member": 1, "admin": 1},
|
||||||
/*
|
/*
|
||||||
"documentRightsLevels" is an ordered list of rights levels, one of which will be
|
"documentRightsLevels" is an ordered list of rights levels, one of which will be
|
||||||
assigned to each document.
|
assigned to each document.
|
||||||
*/
|
*/
|
||||||
"documentRightsLevels": [
|
"documentRightsLevels": [
|
||||||
{"name": "Public", "color": [128, 255, 128]},
|
{"name": "Public", "color": [128, 255, 128]},
|
||||||
{"name": "Restricted", "color": [255, 212, 128]},
|
|
||||||
{"name": "Private", "color": [255, 128, 128]}
|
{"name": "Private", "color": [255, 128, 128]}
|
||||||
],
|
],
|
||||||
/*
|
/*
|
||||||
|
@ -502,6 +529,30 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
"sort": true,
|
"sort": true,
|
||||||
"sortType": "title"
|
"sortType": "title"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "work",
|
||||||
|
"title": "Work",
|
||||||
|
"type": "string",
|
||||||
|
"autocomplete": true,
|
||||||
|
"autocompleteSort": [{"key": "timesaccessed", "operator": "-"}],
|
||||||
|
"columnRequired": true,
|
||||||
|
"columnWidth": 180,
|
||||||
|
"find": true,
|
||||||
|
"sort": true,
|
||||||
|
"sortType": "title"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "version",
|
||||||
|
"title": "Version",
|
||||||
|
"type": "string",
|
||||||
|
"autocomplete": true,
|
||||||
|
"autocompleteSort": [{"key": "timesaccessed", "operator": "-"}],
|
||||||
|
"columnRequired": true,
|
||||||
|
"columnWidth": 180,
|
||||||
|
"find": true,
|
||||||
|
"sort": true,
|
||||||
|
"sortType": "title"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "name",
|
"id": "name",
|
||||||
"title": "Name",
|
"title": "Name",
|
||||||
|
@ -510,8 +561,8 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
"find": true
|
"find": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "director",
|
"id": "author",
|
||||||
"title": "Director",
|
"title": "Author",
|
||||||
"type": ["string"],
|
"type": ["string"],
|
||||||
"autocomplete": true,
|
"autocomplete": true,
|
||||||
"columnRequired": true,
|
"columnRequired": true,
|
||||||
|
@ -521,8 +572,8 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
"sortType": "person"
|
"sortType": "person"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "featuring",
|
"id": "workauthor",
|
||||||
"title": "Featuring",
|
"title": "Work Author",
|
||||||
"type": ["string"],
|
"type": ["string"],
|
||||||
"autocomplete": true,
|
"autocomplete": true,
|
||||||
"columnRequired": true,
|
"columnRequired": true,
|
||||||
|
@ -531,6 +582,30 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
"sort": true,
|
"sort": true,
|
||||||
"sortType": "person"
|
"sortType": "person"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "location",
|
||||||
|
"title": "Location",
|
||||||
|
"type": "string",
|
||||||
|
"autocomplete": true,
|
||||||
|
"columnWidth": 180,
|
||||||
|
"filter": true,
|
||||||
|
"find": true,
|
||||||
|
"sort": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "date",
|
||||||
|
"title": "Date",
|
||||||
|
"type": "date",
|
||||||
|
"additionalSort": [
|
||||||
|
{"key": "director", "operator": "+"},
|
||||||
|
{"key": "title", "operator": "+"}
|
||||||
|
],
|
||||||
|
"autocomplete": true,
|
||||||
|
"columnWidth": 60,
|
||||||
|
"filter": true,
|
||||||
|
"find": true,
|
||||||
|
"sort": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "language",
|
"id": "language",
|
||||||
"title": "Language",
|
"title": "Language",
|
||||||
|
@ -542,33 +617,17 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
"sort": true
|
"sort": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "country",
|
"id": "keywords",
|
||||||
"title": "Country",
|
"title": "Keywords",
|
||||||
"type": "string",
|
"type": ["string"],
|
||||||
"autocomplete": true,
|
"autocomplete": true,
|
||||||
"columnWidth": 180,
|
|
||||||
"filter": true,
|
|
||||||
"find": true,
|
|
||||||
"flag": "country",
|
|
||||||
"sort": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "year",
|
|
||||||
"title": "Year",
|
|
||||||
"type": "year",
|
|
||||||
"additionalSort": [
|
|
||||||
{"key": "director", "operator": "+"},
|
|
||||||
{"key": "title", "operator": "+"}
|
|
||||||
],
|
|
||||||
"autocomplete": true,
|
|
||||||
"columnWidth": 60,
|
|
||||||
"filter": true,
|
"filter": true,
|
||||||
"find": true,
|
"find": true,
|
||||||
"sort": true
|
"sort": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "summary",
|
"id": "description",
|
||||||
"title": "Summary",
|
"title": "Description",
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"find": true
|
"find": true
|
||||||
},
|
},
|
||||||
|
@ -586,21 +645,27 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
"sort": true
|
"sort": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "keywords",
|
"id": "tags",
|
||||||
"title": "Keywords",
|
"title": "Tags",
|
||||||
"type": "layer",
|
"type": "layer",
|
||||||
"filter": true,
|
"filter": true,
|
||||||
"find": true
|
"find": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "subtitles",
|
"id": "privatenotes",
|
||||||
"title": "Subtitles",
|
"title": "Private Notes",
|
||||||
"type": "layer",
|
"type": "layer",
|
||||||
"find": true
|
"find": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "publicnotes",
|
"id": "publicnotes",
|
||||||
"title": "Notes",
|
"title": "Public Notes",
|
||||||
|
"type": "layer",
|
||||||
|
"find": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "subtitles",
|
||||||
|
"title": "Subtitles",
|
||||||
"type": "layer",
|
"type": "layer",
|
||||||
"find": true
|
"find": true
|
||||||
},
|
},
|
||||||
|
@ -871,17 +936,17 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
*/
|
*/
|
||||||
"layers": [
|
"layers": [
|
||||||
{
|
{
|
||||||
"id": "keywords",
|
"id": "tags",
|
||||||
"title": "Keywords",
|
"title": "Tags",
|
||||||
"canAddAnnotations": {"member": true, "staff": true, "admin": true},
|
"canAddAnnotations": {"member": true, "admin": true},
|
||||||
"item": "Keyword",
|
"item": "Tag",
|
||||||
"overlap": true,
|
"overlap": true,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "privatenotes",
|
"id": "privatenotes",
|
||||||
"title": "Private Notes",
|
"title": "Private Notes",
|
||||||
"canAddAnnotations": {"member": true, "staff": true, "admin": true},
|
"canAddAnnotations": {"member": true, "admin": true},
|
||||||
"item": "Private Note",
|
"item": "Private Note",
|
||||||
"overlap": true,
|
"overlap": true,
|
||||||
"private": true,
|
"private": true,
|
||||||
|
@ -890,8 +955,8 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "publicnotes",
|
"id": "publicnotes",
|
||||||
"title": "Notes",
|
"title": "Public Notes",
|
||||||
"canAddAnnotations": {"member": true, "staff": true, "admin": true},
|
"canAddAnnotations": {"member": true, "admin": true},
|
||||||
"item": "Public Note",
|
"item": "Public Note",
|
||||||
"overlap": true,
|
"overlap": true,
|
||||||
"showInfo": true,
|
"showInfo": true,
|
||||||
|
@ -900,7 +965,7 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
{
|
{
|
||||||
"id": "subtitles",
|
"id": "subtitles",
|
||||||
"title": "Subtitles",
|
"title": "Subtitles",
|
||||||
"canAddAnnotations": {"staff": true, "admin": true},
|
"canAddAnnotations": {"member": true, "admin": true},
|
||||||
"canPlayClips": true,
|
"canPlayClips": true,
|
||||||
"hasEvents": true,
|
"hasEvents": true,
|
||||||
"hasPlaces": true,
|
"hasPlaces": true,
|
||||||
|
@ -969,14 +1034,13 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
"rightsLevel" defines which initial rights level will be assigned to items
|
"rightsLevel" defines which initial rights level will be assigned to items
|
||||||
and texts created by users of these user levels.
|
and texts created by users of these user levels.
|
||||||
*/
|
*/
|
||||||
"rightsLevel": {"member": 2, "staff": 2, "admin": 2},
|
"rightsLevel": {"member": 1, "admin": 1},
|
||||||
/*
|
/*
|
||||||
"rightsLevels" is an ordered list of rights levels, one of which will be
|
"rightsLevels" is an ordered list of rights levels, one of which will be
|
||||||
assigned to each item.
|
assigned to each item.
|
||||||
*/
|
*/
|
||||||
"rightsLevels": [
|
"rightsLevels": [
|
||||||
{"name": "Public", "color": [128, 255, 128]},
|
{"name": "Public", "color": [128, 255, 128]},
|
||||||
{"name": "Restricted", "color": [255, 192, 128]},
|
|
||||||
{"name": "Private", "color": [255, 128, 128]}
|
{"name": "Private", "color": [255, 128, 128]}
|
||||||
],
|
],
|
||||||
/*
|
/*
|
||||||
|
@ -1238,7 +1302,7 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
"userLevels" is an ordered list of user classes. The first entry is for
|
"userLevels" is an ordered list of user classes. The first entry is for
|
||||||
unregistered visitors.
|
unregistered visitors.
|
||||||
*/
|
*/
|
||||||
"userLevels": ["guest", "member", "staff", "admin"],
|
"userLevels": ["guest", "member", "admin"],
|
||||||
/*
|
/*
|
||||||
"video" contains the video settings.
|
"video" contains the video settings.
|
||||||
"formats": Supported video formats.
|
"formats": Supported video formats.
|
||||||
|
|
|
@ -50,7 +50,6 @@ def render_poster(data, poster):
|
||||||
title = title.replace(key, value)
|
title = title.replace(key, value)
|
||||||
director = director.replace(key, value)
|
director = director.replace(key, value)
|
||||||
year = str(data.get('year', ''))
|
year = str(data.get('year', ''))
|
||||||
title = data.get('title', '')
|
|
||||||
duration = data.get('duration')
|
duration = data.get('duration')
|
||||||
id = data['id']
|
id = data['id']
|
||||||
frame = data.get('frame')
|
frame = data.get('frame')
|
||||||
|
|
Loading…
Reference in a new issue