2017-09-15 12:15:50 +02:00
/ *
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
p a n . d o / r a C o n f i g u r a t i o n
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Y o u c a n e d i t t h i s f i l e . M o s t c h a n g e s a r e e f f e c t i v e i m m e d i a t e l y ; e v e r y t h i n g t h a t
a f f e c t s t h e d a t a b a s e l a y o u t ( a d d i n g a n e w i t e m k e y , a n n o t a t i o n l a y e r e t c . ) w i l l
r e q u i r e a s e r v e r r e s t a r t . Y o u m a y a l s o w a n t t o t a k e a l o o k a t t h e c o n f i g u r a t i o n
e x a m p l e s ( c o n f i g . S I T E N A M E . j s o n c ) t h a t a r e p a r t o f t h i s p a n . d o / r a d i s t r i b u t i o n .
* /
{
/ *
"annotations" c o n f i g u r e s t h e a n n o t a t i o n p a n e l .
2018-12-05 12:39:59 +01:00
"separator" i s t h e c h a r a c t e r , s t r i n g o r H T M L t a g t h a t s e p a r a t e s
a n n o t a t i o n s o f t y p e "string"
2017-09-15 12:15:50 +02:00
"showUsers" : I f true , i n c l u d e l i s t o f u s e r s i n m e n u , s o t h a t
a n n o t a t i o n s b y s p e c i f i c u s e r s c a n b e t u r n e d o n a n d o f f
2018-12-05 12:39:59 +01:00
2017-09-15 12:15:50 +02:00
* /
"annotations" : {
2018-12-05 12:39:59 +01:00
"separator" : ";" ,
2017-09-15 12:15:50 +02:00
"showUsers" : false
} ,
/ *
"cantPlay" s p e c i f i e s t h e U I f o r c l i p s o r v i d e o s t h a t a u s e r i s n o t a l l o w e d
t o p l a y .
"icon" : S y m b o l n a m e ( s e e h t t p s : //oxjs.org/#examples/symbols/live)
"link" : U R L l o a d e d o n c l i c k ( f o r e x a m p l e "/rights" , i f "rights" i s
d e f i n e d i n "sitePages" )
"text" : T e x t s h o w n o n m o u s e o v e r
* /
"cantPlay" : {
"icon" : "noCopyright" ,
"link" : "" ,
"text" : ""
} ,
/ *
"capabilities" a r e p e r m i s s i o n s p e r u s e r l e v e l .
D e p e n d i n g o n t h e c a p a b i l i t y , t h i s i s e i t h e r g l o b a l :
{ l e v e l : t r u e } m e a n s a u s e r o f t h a t l e v e l h a s t h e c a p a b i l i t y
o r r e l a t e d t o t h e r i g h t s l e v e l s o f i t e m s o r t e x t s :
{ l e v e l : x } m e a n s a u s e r o f t h a t l e v e l h a s t h e c a p a b i l i t y f o r i t e m s o r
t e x t s o f a r i g h t s l e v e l u p t o a n d i n c l u d i n g x
* /
"capabilities" : {
"canAddItems" : { "member" : true , "staff" : true , "admin" : true } ,
"canAddDocuments" : { "member" : true , "staff" : true , "admin" : true } ,
"canDownloadVideo" : { "guest" : 1 , "member" : 1 , "staff" : 4 , "admin" : 4 } ,
"canEditAnnotations" : { "staff" : true , "admin" : true } ,
"canEditDocuments" : { "staff" : true , "admin" : true } ,
"canEditEntities" : { "staff" : true , "admin" : true } ,
"canEditEvents" : { "staff" : true , "admin" : true } ,
"canEditFeaturedCollections" : { "staff" : true , "admin" : true } ,
"canEditFeaturedEdits" : { "staff" : true , "admin" : true } ,
"canEditFeaturedLists" : { "staff" : true , "admin" : true } ,
"canEditFeaturedTexts" : { "staff" : true , "admin" : true } ,
"canEditMedia" : { "staff" : true , "admin" : true } ,
"canEditMetadata" : { "staff" : true , "admin" : true } ,
"canEditPlaces" : { "staff" : true , "admin" : true } ,
"canEditRightsLevel" : { "member" : true , "staff" : true , "admin" : true } ,
"canEditSitePages" : { "staff" : true , "admin" : true } ,
"canEditUsers" : { "admin" : true } ,
"canExportAnnotations" : { "member" : true , "staff" : true , "admin" : true } ,
"canImportAnnotations" : { "member" : true , "staff" : true , "admin" : true } ,
"canImportItems" : { "member" : true , "staff" : true , "admin" : true } ,
"canManageDocuments" : { "member" : true , "staff" : true , "admin" : true } ,
"canManageEntities" : { "member" : true , "staff" : true , "admin" : true } ,
"canManageHome" : { "staff" : true , "admin" : true } ,
"canManagePlacesAndEvents" : { "member" : true , "staff" : true , "admin" : true } ,
"canManageTitlesAndNames" : { "member" : true , "staff" : true , "admin" : true } ,
2018-12-05 12:39:59 +01:00
"canManageTranslations" : { "admin" : true } ,
2017-09-15 12:15:50 +02:00
"canManageUsers" : { "staff" : true , "admin" : true } ,
"canPlayClips" : { "guest" : 1 , "member" : 1 , "staff" : 4 , "admin" : 4 } ,
"canPlayVideo" : { "guest" : 1 , "member" : 1 , "staff" : 4 , "admin" : 4 } ,
"canReadText" : { "guest" : 0 , "member" : 0 , "staff" : 1 , "admin" : 1 } ,
"canRemoveItems" : { "staff" : true , "admin" : true } ,
"canRemoveDocuments" : { "staff" : true , "admin" : true } ,
"canSeeAccessed" : { "staff" : true , "admin" : true } ,
"canSeeAllTasks" : { "staff" : true , "admin" : true } ,
"canSeeDebugMenu" : { "staff" : true , "admin" : true } ,
"canSeeExtraItemViews" : { "staff" : true , "admin" : true } ,
"canSeeMedia" : { "staff" : true , "admin" : true } ,
"canSeeDocument" : { "guest" : 1 , "member" : 1 , "staff" : 4 , "admin" : 4 } ,
"canSeeItem" : { "guest" : 1 , "member" : 1 , "staff" : 4 , "admin" : 4 } ,
"canSeeSize" : { "staff" : true , "admin" : true } ,
"canSeeSoftwareVersion" : { "staff" : true , "admin" : true } ,
"canSendMail" : { "staff" : true , "admin" : true }
} ,
/ *
"clipKeys" a r e t h e p r o p e r t i e s t h a t c l i p s c a n b e s o r t e d b y ( t h e v a l u e s a r e
p o p u l a t e d a u t o m a t i c a l l y ) . I f "sortOperator" i s n o t s p e c i f i e d , i t w i l l b e
"+" ( a s c e n d i n g ) f o r s t r i n g s a n d "-" ( d e s c e n d i n g ) f o r n u m b e r s .
* /
"clipKeys" : [
{ "id" : "text" , "title" : "Text" , "type" : "string" } ,
{ "id" : "position" , "title" : "Position" , "type" : "float" , "sortOperator" : "+" } ,
{ "id" : "duration" , "title" : "Duration" , "type" : "float" } ,
{ "id" : "hue" , "title" : "Hue" , "type" : "float" , "sortOperator" : "+" } ,
{ "id" : "saturation" , "title" : "Saturation" , "type" : "float" } ,
{ "id" : "lightness" , "title" : "Lightness" , "type" : "float" } ,
{ "id" : "volume" , "title" : "Volume" , "type" : "float" }
] ,
/ *
"clipLayers" i s t h e o r d e r e d l i s t o f p u b l i c l a y e r s t h a t w i l l a p p e a r a s t h e
t e x t o f c l i p s ( i n g r i d v i e w , b e l o w t h e i c o n ) . E x c l u d i n g a l a y e r f r o m t h i s
l i s t m e a n s i t w i l l n o t b e i n c l u d e d i n f i n d a n n o t a t i o n s .
* /
2017-10-23 22:38:18 +02:00
"clipLayers" : [ "publicnotes" , "keywords" , "subtitles" , "places" , "events" ] ,
2017-09-15 12:15:50 +02:00
/ *
"documentKeys" d e f i n e s t h e m e t a d a t a a s s o c i a t e d w i t h e a c h d o c u m e n t . R e q u i r e d k e y s
2018-12-05 12:39:59 +01:00
a r e "*" , "id" a n d "title" .
2017-09-15 12:15:50 +02:00
A d o c u m e n t K e y m u s t h a v e t h e f o l l o w i n g p r o p e r t i e s :
"id" : T h e u n i q u e i d o f t h e k e y ( a s u s e d b y t h e s e r v e r )
"title" : T h e t i t l e o f t h e k e y ( a s d i s p l a y e d b y t h e c l i e n t )
"type" : C a n b e "boolean" , "date" , "enum" , "float" , "hue" , "integer" ,
"layer" , "string" , "text" , "time" o r [ "..." ] ( l i s t o f v a l u e s o f
t h i s t y p e ) . I f t y p e i s "layer" , t h i s i s a r e f e r e n c e t o t h e
a n n o t a t i o n s l a y e r w i t h t h e s a m e i d .
a n d c a n h a v e a n y o f t h e f o l l o w i n g p r o p e r t i e s :
"additionalSort" : O r d e r e d l i s t o f { k e y , o p e r a t o r } o b j e c t s , w h e r e k e y i s
a n o t h e r i t e m K e y a n d o p e r a t o r i s "+" o r "-" . T h i s c a n b e u s e d t o
o v e r r i d e u s e r . u i . l i s t S o r t w h e n r e s u l t s a r e s o r t e d b y t h i s k e y .
"autocomplete" : I f true , t h e f i n d e l e m e n t w i l l p r o v i d e a u t o c o m p l e t e
"autocompleteSort" : S o r t o r d e r o f a u t o c o m p l e t e s u g g e s t i o n s
"capability" : A c a p a b i l i t y r e q u i r e d t o s e e d a t a f o r t h i s k e y
"columnRequired" : I f true , t h e c o l u m n c a n ' t b e r e m o v e d f r o m l i s t v i e w
"columnWidth" : D e f a u l t c o l u m n w i d t h i n p x . I f a b s e n t , n o c o l u m n f o r
t h i s k e y c a n b e a d d e d i n l i s t v i e w .
"filter" : I f true , o n e c a n f i l t e r r e s u l t s b y t h i s k e y
"find" : I f true , t h i s k e y w i l l a p p e a r a s a n o p t i o n i n t h e f i n d e l e m e n t
"flag" : C a n b e "country" o r "language" . I f s e t ( a n d f i l t e r i s true ) , a
f l a g i c o n c o r r e s p o n d i n g t o t h e f i e l d ' s v a l u e w i l l b e d i s p l a y e d .
"format" : { t y p e : s t r i n g , a r g s : [ v a l u e , v a l u e , . . . ] } , u s e d f o r s p e c i a l
f o r m a t t i n g . T h i s w i l l i n v o k e O x . f o r m a t T y p e ( a r g s ) . F o r d e t a i l s , s e e
h t t p s : //oxjs.org/#doc/Ox.formatArea etc.
"secondaryId" : I f true , l o a d i n g t h e U R L "/value" w i l l r e d i r e c t t o t h e
c o r r e s p o n d i n g i t e m , i n c a s e t h e r e i s a n e x a c t m a t c h f o r t h i s k e y
"sort" : I f true , o n e c a n s o r t r e s u l t s b y t h i s k e y
"sortOperator" : S o r t o r d e r ( "+" o r "-" ) , i n c a s e i t d i f f e r s f r o m t h e
d e f a u l t f o r t h e k e y ' s t y p e ( "+" f o r s t r i n g s , "-" f o r n u m b e r s )
"sortType" : S p e c i a l s o r t t y p e ( "person" o r "title" ) w h i c h c a n b e
f u r t h e r c o n f i g u r e d i n "Manage Names" o r "Manage Titles"
"value" : { k e y : s t r i n g , t y p e : s t r i n g } o r { l a y e r : s t r i n g , t y p e : s t r i n g } ,
f o r k e y s w h o s e v a l u e i s d e r i v e d f r o m o t h e r k e y s o r l a y e r s ( l i k e
"number of actors" o r "words per minute" ) . P o s s i b l e v a l u e s f o r t y p e
a r e "length" , "lengthperminute" , "words" , a n d "wordsperminute" .
A l t e r n a t i v e l y , "value" c a n b e s e t t o t h e s t r i n g "capability" , w h i c h
r e s u l t s i n a n i t e m K e y w h o s e b o o l e a n v a l u e i n d i c a t e s t h e p r e s e n c e o r
a b s e n c e o f a u s e r L e v e l - d e p e n d e n t c a p a b i l i t y . T h i s c a n b e u s e d t o
c r e a t e q u e r i e s a n d l i s t s l i k e "all items this user can play" e t c .
"values" : [ v a l u e , v a l u e , . . . ] O r d e r e d l i s t o f v a l u e s , i n c a s e "type" i s
"enum"
* /
"documentKeys" : [
{
"id" : "*" ,
"title" : "All" ,
"type" : "text" ,
"find" : true
} ,
{
"id" : "title" ,
"operator" : "+" ,
"title" : "Title" ,
"type" : "string" ,
"find" : true ,
"sort" : true ,
"sortType" : "title" ,
"autocomplete" : true ,
"columnWidth" : 256
} ,
{
"id" : "type" ,
"operator" : "+" ,
"title" : "Type" ,
"type" : "string" ,
"filter" : true ,
"find" : true ,
"sort" : true ,
"autocomplete" : true ,
"columnWidth" : 128
} ,
{
"id" : "author" ,
"operator" : "+" ,
"title" : "Author" ,
"type" : [ "string" ] ,
"filter" : true ,
"find" : true ,
"sort" : true ,
"sortType" : "person" ,
"autocomplete" : true ,
"columnWidth" : 256
} ,
{
"id" : "publisher" ,
"operator" : "+" ,
"title" : "Publisher" ,
"type" : "string" ,
"filter" : true ,
"find" : true ,
"sort" : true ,
"autocomplete" : true ,
"columnWidth" : 256
} ,
{
"id" : "place" ,
"title" : "Place" ,
"type" : [ "string" ] ,
"columnWidth" : 128 ,
"filter" : true ,
"find" : true ,
"sort" : true
} ,
{
"id" : "date" ,
"title" : "Date" ,
"type" : "string" ,
"columnWidth" : 120 ,
//"format": {"type": "date", "args": ["%a, %b %e, %Y"]},
"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" ,
"title" : "Language" ,
"type" : [ "string" ] ,
"columnWidth" : 128 ,
"filter" : true ,
"find" : true ,
"sort" : true
} ,
{
"id" : "id" ,
"operator" : "+" ,
"title" : "ID" ,
"type" : "string" ,
"sort" : true ,
"columnWidth" : 64
} ,
{
"id" : "extension" ,
"operator" : "+" ,
"title" : "Extension" ,
"type" : "string" ,
"filter" : true ,
"find" : true ,
"sort" : true ,
"autocomplete" : true ,
"columnWidth" : 64
} ,
{
"id" : "dimensions" ,
"operator" : "-" ,
"title" : "Dimensions" ,
"type" : "integer" ,
"sort" : true ,
"columnWidth" : 128
} ,
{
"id" : "size" ,
"operator" : "-" ,
"title" : "Size" ,
"type" : "integer" ,
"sort" : true ,
"format" : { "type" : "value" , "args" : [ "B" ] } ,
"columnWidth" : 64
} ,
{
"id" : "description" ,
"operator" : "+" ,
"title" : "Description" ,
"type" : "text" ,
"find" : true ,
"sort" : true ,
"columnWidth" : 256
} ,
{
"id" : "matches" ,
"operator" : "-" ,
"title" : "Matches" ,
"type" : "integer" ,
"sort" : true ,
"columnWidth" : 64
} ,
{
"id" : "user" ,
"operator" : "+" ,
"title" : "User" ,
"type" : "string" ,
"filter" : true ,
"find" : true ,
"sort" : true ,
"autocomplete" : true ,
"columnWidth" : 128
} ,
{
"id" : "created" ,
"operator" : "-" ,
"title" : "Created" ,
"format" : { "type" : "date" , "args" : [ "%Y-%m-%d %H:%M:%S" ] } ,
"type" : "date" ,
"sort" : true ,
"columnWidth" : 144
} ,
{
"id" : "modified" ,
"operator" : "-" ,
"title" : "Modified" ,
"format" : { "type" : "date" , "args" : [ "%Y-%m-%d %H:%M:%S" ] } ,
"type" : "date" ,
"sort" : true ,
"columnWidth" : 144
} ,
{
"id" : "accessed" ,
"title" : "Last Accessed" ,
"type" : "date" ,
"capability" : "canSeeAccessed" ,
"columnWidth" : 150 ,
"format" : { "type" : "date" , "args" : [ "%Y-%m-%d %H:%M:%S" ] } ,
"sort" : true
} ,
{
"id" : "timesaccessed" ,
"title" : "Times Accessed" ,
"type" : "integer" ,
"capability" : "canSeeAccessed" ,
"columnWidth" : 60 ,
"format" : { "type" : "number" , "args" : [ ] } ,
"sort" : true
} ,
{
"id" : "rightslevel" ,
"title" : "Rights Level" ,
"type" : "enum" ,
"columnWidth" : 90 ,
"format" : { "type" : "ColorLevel" , "args" : [
[ "Public" , "Out of Copyright" , "Under Copyright" , "Private" ]
] } ,
"sort" : true ,
"sortOperator" : "+" ,
"values" : [ "Public" , "Out of Copyright" , "Under Copyright" , "Private" , "Unknown" ]
}
] ,
/ *
"documentRightsLevel" d e f i n e s w h i c h i n i t i a l r i g h t s l e v e l w i l l b e a s s i g n e d t o d o c u m e n t s
c r e a t e d b y u s e r s o f t h e s e u s e r l e v e l s .
* /
"documentRightsLevel" : { "member" : 0 , "staff" : 0 , "admin" : 0 } ,
/ *
"documentRightsLevels" i s a n o r d e r e d l i s t o f r i g h t s l e v e l s , o n e o f w h i c h w i l l b e
a s s i g n e d t o e a c h d o c u m e n t .
* /
"documentRightsLevels" : [
{ "name" : "Public" , "color" : [ 128 , 255 , 128 ] } ,
{ "name" : "Restricted" , "color" : [ 255 , 212 , 128 ] } ,
{ "name" : "Private" , "color" : [ 255 , 128 , 128 ] }
] ,
/ *
"entities" c a n b e u s e d t o s t o r e a r b i t r a r y d a t a . T h e y c a n b e r e f e r e n c e d i n
a n n o t a t i o n s , i n f o v i e w , o r e l s e w h e r e . E a c h e n t r y d e f i n e s a s p e c i f i c c l a s s
o f e n t i t y o b j e c t , i t s p r o p e r t i e s a n d t h e i r t y p e s ( f o r e x a m p l e a n "actor"
w i t h "name" , "biography" , "portrait" e t c ) . T h e H T M L r e p r e s e n t a t i o n f o r
e n t i t i e s c a n b e c u s t o m i z e d b y a d d i n g "/static/js/entity.SITENAME.js" .
E a c h e n t i t y h a s t h e f o l l o w i n g p r o p e r t i e s :
"id" : U n i q u e i n t e r n a l I D ( c a n b e r e f e r e n c e d i n "layers" )
"title" : H u m a n - r e a d a b l e t i t l e
"keys" : L i s t o f p r o p e r t i e s
"sortType" : O p t i o n a l . I f s e t t o "person" o r "title" , t h e n t h e s o r t
o r d e r c a n b e c o n f i g u r e d i n "Manage Names" o r "Manage Titles"
E a c h k e y h a s t h e p r o p e r t i e s "id" , "title" a n d "type" . "type" c a n b e
"boolean" , "number" , "string" , "text" , "document" ( r e f e r e n c e t o t h e i d o f a
d o c u m e n t a d d e d v i a "Manage Documents" ) o r [ "string" ] ( l i s t o f s t r i n g s ) .
"id" a n d "name" k e y s a r e r e q u i r e d . I f "alternativeNames" i s p r e s e n t , t h e s e
w i l l a c t a s s y n o n y m s w h e n a u t o c o m p l e t i n g v a l u e s e n t e r e d a s a n n o t a t i o n s .
* /
"entities" : [
{
"id" : "people" ,
"title" : "People" ,
"keys" : [
{ "id" : "id" , "title" : "ID" , "type" : "string" } ,
{ "id" : "name" , "title" : "Name" , "type" : "string" } ,
{ "id" : "additionalNames" , "title" : "Additional Names" , "type" : [ "string" ] } ,
{ "id" : "biography" , "title" : "Biography" , "type" : "text" } ,
{ "id" : "portrait" , "title" : "Portrait" , "type" : "document" }
] ,
"sortType" : "person"
}
] ,
/ *
"flags" , i f s e t t o true , w i l l c a u s e f l a g i c o n s t o a p p e a r i n f i l t e r s .
* /
"flags" : true ,
/ *
"help" s p e c i f i e s t h e s e c t i o n s o f t h e h e l p d i a l o g .
* /
"help" : [
{ "id" : "help" , "title" : "Help" } ,
{ "id" : "accounts" , "title" : "Accounts" } ,
{ "id" : "navigation" , "title" : "Navigation" } ,
{ "id" : "views" , "title" : "Views" } ,
{ "id" : "timelines" , "title" : "Timelines" } ,
{ "id" : "clips" , "title" : "Clips" } ,
{ "id" : "maps" , "title" : "Maps" } ,
{ "id" : "calendars" , "title" : "Calendars" } ,
{ "id" : "find" , "title" : "Find" } ,
{ "id" : "filters" , "title" : "Filters" } ,
{ "id" : "lists" , "title" : "Lists" } ,
{ "id" : "player" , "title" : "Player" } ,
{ "id" : "editor" , "title" : "Editor" } ,
{ "id" : "documents" , "title" : "Documents" } ,
{ "id" : "entities" , "title" : "Entities" } ,
{ "id" : "edits" , "title" : "Edits" } ,
{ "id" : "texts" , "title" : "Texts" } ,
{ "id" : "embeds" , "title" : "Embeds" }
] ,
/ *
"importMetadata" d e f i n e s w h a t f i e l d s ( a s d e f i n e d i n "itemKeys" ) w i l l g e t
p o p u l a t e d w i t h i m p o r t e d m e t a d a t a . T h e r e i s m e t a d a t a f o r "title" ,
"description" , "uploader" , "date" , "tags" , "id" , "url" , a n d t h e v a l u e m u s t
b e a f o r m a t s t r i n g ( l i k e "{title} ({id})" ) . T h e t y p e o f t h e i t e m K e y s m u s t
b e "string" , [ "string" ] , "text" , "date" o r "year" . T h e l a s t t w o o n l y w o r k
w i t h "{date}" .
* /
"importMetadata" : {
"title" : "{title}"
} ,
/ *
"itemKeys" d e f i n e s t h e m e t a d a t a a s s o c i a t e d w i t h e a c h i t e m . R e q u i r e d k e y s
a r e "*" , "id" a n d "title" . A n n o t a t i o n l a y e r s c a n b e r e f e r e n c e d t o o , w h i c h
m a k e s t h e m a v a i l a b l e i n t h e f i n d e l e m e n t . A d d i n g a k e y w i t h "annotations"
a s i d a d d s a "find in any annotation layer" o p t i o n . F u r t h e r , a d d i n g a k e y
w i t h "random" a s i d c a n b e u s e d f o r a r a n d o m s o r t o r d e r .
A n i t e m K e y m u s t h a v e t h e f o l l o w i n g p r o p e r t i e s :
"id" : T h e u n i q u e i d o f t h e k e y ( a s u s e d b y t h e s e r v e r )
"title" : T h e t i t l e o f t h e k e y ( a s d i s p l a y e d b y t h e c l i e n t )
"type" : C a n b e "boolean" , "date" , "enum" , "float" , "hue" , "integer" ,
"layer" , "string" , "text" , "time" o r [ "..." ] ( l i s t o f v a l u e s o f
t h i s t y p e ) . I f t y p e i s "layer" , t h i s i s a r e f e r e n c e t o t h e
a n n o t a t i o n s l a y e r w i t h t h e s a m e i d .
a n d c a n h a v e a n y o f t h e f o l l o w i n g p r o p e r t i e s :
"additionalSort" : O r d e r e d l i s t o f { k e y , o p e r a t o r } o b j e c t s , w h e r e k e y i s
a n o t h e r i t e m K e y a n d o p e r a t o r i s "+" o r "-" . T h i s c a n b e u s e d t o
o v e r r i d e u s e r . u i . l i s t S o r t w h e n r e s u l t s a r e s o r t e d b y t h i s k e y .
"autocomplete" : I f true , t h e f i n d e l e m e n t w i l l p r o v i d e a u t o c o m p l e t e
"autocompleteSort" : S o r t o r d e r o f a u t o c o m p l e t e s u g g e s t i o n s
"capability" : A c a p a b i l i t y r e q u i r e d t o s e e d a t a f o r t h i s k e y
"columnRequired" : I f true , t h e c o l u m n c a n ' t b e r e m o v e d f r o m l i s t v i e w
"columnWidth" : D e f a u l t c o l u m n w i d t h i n p x . I f a b s e n t , n o c o l u m n f o r
t h i s k e y c a n b e a d d e d i n l i s t v i e w .
"filter" : I f true , o n e c a n f i l t e r r e s u l t s b y t h i s k e y
"find" : I f true , t h i s k e y w i l l a p p e a r a s a n o p t i o n i n t h e f i n d e l e m e n t
"flag" : C a n b e "country" o r "language" . I f s e t ( a n d f i l t e r i s true ) , a
f l a g i c o n c o r r e s p o n d i n g t o t h e f i e l d ' s v a l u e w i l l b e d i s p l a y e d .
"format" : { t y p e : s t r i n g , a r g s : [ v a l u e , v a l u e , . . . ] } , u s e d f o r s p e c i a l
f o r m a t t i n g . T h i s w i l l i n v o k e O x . f o r m a t T y p e ( a r g s ) . F o r d e t a i l s , s e e
h t t p s : //oxjs.org/#doc/Ox.formatArea etc.
"secondaryId" : I f true , l o a d i n g t h e U R L "/value" w i l l r e d i r e c t t o t h e
c o r r e s p o n d i n g i t e m , i n c a s e t h e r e i s a n e x a c t m a t c h f o r t h i s k e y
"sort" : I f true , o n e c a n s o r t r e s u l t s b y t h i s k e y
"sortOperator" : S o r t o r d e r ( "+" o r "-" ) , i n c a s e i t d i f f e r s f r o m t h e
d e f a u l t f o r t h e k e y ' s t y p e ( "+" f o r s t r i n g s , "-" f o r n u m b e r s )
"sortType" : S p e c i a l s o r t t y p e ( "person" o r "title" ) w h i c h c a n b e
f u r t h e r c o n f i g u r e d i n "Manage Names" o r "Manage Titles"
"value" : { k e y : s t r i n g , t y p e : s t r i n g } o r { l a y e r : s t r i n g , t y p e : s t r i n g } ,
f o r k e y s w h o s e v a l u e i s d e r i v e d f r o m o t h e r k e y s o r l a y e r s ( l i k e
"number of actors" o r "words per minute" ) . P o s s i b l e v a l u e s f o r t y p e
a r e "length" , "lengthperminute" , "words" , a n d "wordsperminute" .
A l t e r n a t i v e l y , "value" c a n b e s e t t o t h e s t r i n g "capability" , w h i c h
r e s u l t s i n a n i t e m K e y w h o s e b o o l e a n v a l u e i n d i c a t e s t h e p r e s e n c e o r
a b s e n c e o f a u s e r L e v e l - d e p e n d e n t c a p a b i l i t y . T h i s c a n b e u s e d t o
c r e a t e q u e r i e s a n d l i s t s l i k e "all items this user can play" e t c .
"values" : [ v a l u e , v a l u e , . . . ] O r d e r e d l i s t o f v a l u e s , i n c a s e "type" i s
"enum"
* /
"itemKeys" : [
{
"id" : "*" ,
"title" : "All" ,
"type" : "text" ,
"find" : true
} ,
{
"id" : "title" ,
"title" : "Title" ,
"type" : "string" ,
"autocomplete" : true ,
"autocompleteSort" : [ { "key" : "timesaccessed" , "operator" : "-" } ] ,
"columnRequired" : true ,
"columnWidth" : 180 ,
"find" : true ,
"sort" : true ,
"sortType" : "title"
} ,
{
"id" : "name" ,
"title" : "Name" ,
"type" : [ "string" ] ,
"autocomplete" : true ,
"find" : true
} ,
{
"id" : "director" ,
"title" : "Director" ,
"type" : [ "string" ] ,
"autocomplete" : true ,
"columnRequired" : true ,
"columnWidth" : 180 ,
"filter" : true ,
"sort" : true ,
"sortType" : "person"
} ,
{
"id" : "featuring" ,
"title" : "Featuring" ,
"type" : [ "string" ] ,
"autocomplete" : true ,
"columnRequired" : true ,
"columnWidth" : 180 ,
"filter" : true ,
"sort" : true ,
"sortType" : "person"
} ,
{
"id" : "language" ,
"title" : "Language" ,
"type" : [ "string" ] ,
"autocomplete" : true ,
"columnWidth" : 120 ,
"filter" : true ,
"find" : true ,
"sort" : true
} ,
{
"id" : "country" ,
"title" : "Country" ,
"type" : "string" ,
"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 ,
"find" : true ,
"sort" : true
} ,
{
"id" : "summary" ,
"title" : "Summary" ,
"type" : "text" ,
"find" : true
} ,
{
"id" : "notes" ,
"title" : "Notes" ,
"type" : "text" ,
"capability" : "canEditMetadata"
} ,
{
"id" : "id" ,
"title" : "ID" ,
"type" : "string" ,
"columnWidth" : 90 ,
"sort" : true
} ,
{
"id" : "keywords" ,
"title" : "Keywords" ,
"type" : "layer" ,
2018-12-05 12:39:59 +01:00
"autocomplete" : true ,
2017-09-15 12:15:50 +02:00
"filter" : true ,
"find" : true
} ,
{
"id" : "subtitles" ,
"title" : "Subtitles" ,
"type" : "layer" ,
"find" : true
} ,
{
"id" : "publicnotes" ,
"title" : "Notes" ,
"type" : "layer" ,
"find" : true
} ,
{
"id" : "numberofannotations" ,
"title" : "Annotations" ,
"type" : "integer" ,
"columnWidth" : 60 ,
"sort" : true
} ,
{
"id" : "duration" ,
"title" : "Duration" ,
"type" : "time" ,
"columnWidth" : 90 ,
"format" : { "type" : "duration" , "args" : [ 0 , "short" ] } ,
"sort" : true
} ,
{
"id" : "resolution" ,
"title" : "Resolution" ,
"type" : [ "integer" ] ,
"columnWidth" : 90 ,
"format" : { "type" : "resolution" , "args" : [ "px" ] } ,
"sort" : true
} ,
{
"id" : "aspectratio" ,
"title" : "Aspect Ratio" ,
"type" : "float" ,
"columnWidth" : 90 ,
"format" : { "type" : "unit" , "args" : [ ":1" , 3 ] } ,
"sort" : true
} ,
{
"id" : "pixels" ,
"title" : "Pixels" ,
"type" : "integer" ,
"columnWidth" : 90 ,
"format" : { "type" : "value" , "args" : [ "px" ] } ,
"sort" : true
} ,
{
"id" : "hue" ,
"title" : "Hue" ,
"type" : "hue" ,
"columnWidth" : 90 ,
"format" : { "type" : "color" , "args" : [ "hue" ] } ,
"sort" : true ,
"sortOperator" : "+"
} ,
{
"id" : "saturation" ,
"title" : "Saturation" ,
"type" : "float" ,
"columnWidth" : 90 ,
"format" : { "type" : "color" , "args" : [ "saturation" ] } ,
"sort" : true
} ,
{
"id" : "lightness" ,
"title" : "Lightness" ,
"type" : "float" ,
"columnWidth" : 90 ,
"format" : { "type" : "color" , "args" : [ "lightness" ] } ,
"sort" : true
} ,
{
"id" : "volume" ,
"title" : "Volume" ,
"type" : "float" ,
"columnWidth" : 60 ,
"format" : { "type" : "color" , "args" : [ "lightness" ] } ,
"sort" : true
} ,
{
"id" : "numberofcuts" ,
"title" : "Number of Cuts" ,
"type" : "integer" ,
"columnWidth" : 60 ,
"format" : { "type" : "number" , "args" : [ ] } ,
"sort" : true ,
"value" : { "key" : "cuts" , "type" : "length" }
} ,
{
"id" : "cutsperminute" ,
"title" : "Cuts per Minute" ,
"type" : "float" ,
"columnWidth" : 60 ,
"format" : { "type" : "number" , "args" : [ 3 ] } ,
"sort" : true ,
"value" : { "key" : "cuts" , "type" : "lengthperminute" }
} ,
{
"id" : "words" ,
"title" : "Number of Words" ,
"type" : "integer" ,
"columnWidth" : 60 ,
"format" : { "type" : "number" , "args" : [ ] } ,
"sort" : true ,
"value" : { "layer" : "subtitles" , "type" : "words" }
} ,
{
"id" : "wordsperminute" ,
"title" : "Words per Minute" ,
"type" : "float" ,
"columnWidth" : 60 ,
"format" : { "type" : "number" , "args" : [ 3 ] } ,
"sort" : true ,
"value" : { "layer" : "subtitles" , "type" : "wordsperminute" }
} ,
{
"id" : "size" ,
"title" : "Size" ,
"type" : "integer" ,
"capability" : "canSeeMedia" ,
"columnWidth" : 60 ,
"format" : { "type" : "value" , "args" : [ "B" ] } ,
"sort" : true
} ,
{
"id" : "bitrate" ,
"title" : "Bitrate" ,
"type" : "integer" ,
"columnWidth" : 60 ,
"format" : { "type" : "value" , "args" : [ "bps" ] } ,
"sort" : true
} ,
{
"id" : "numberoffiles" ,
"title" : "Number of Files" ,
"type" : "integer" ,
"capability" : "canSeeMedia" ,
"columnWidth" : 60 ,
"sort" : true ,
"value" : { "key" : "files" , "type" : "length" }
} ,
{
"id" : "user" ,
"title" : "User" ,
"type" : "string" ,
"capability" : "canSeeMedia" ,
"find" : true
} ,
{
"id" : "created" ,
"title" : "Date Created" ,
"type" : "date" ,
"columnWidth" : 120 ,
"format" : { "type" : "date" , "args" : [ "%Y-%m-%d %H:%M:%S" ] } ,
"sort" : true
} ,
{
"id" : "modified" ,
"title" : "Last Modified" ,
"type" : "date" ,
"columnWidth" : 90 ,
"format" : { "type" : "date" , "args" : [ "%Y-%m-%d %H:%M:%S" ] } ,
"sort" : true
} ,
{
"id" : "accessed" ,
"title" : "Last Accessed" ,
"type" : "date" ,
"capability" : "canSeeAccessed" ,
"columnWidth" : 90 ,
"format" : { "type" : "date" , "args" : [ "%Y-%m-%d %H:%M:%S" ] } ,
"sort" : true
} ,
{
"id" : "timesaccessed" ,
"title" : "Times Accessed" ,
"type" : "integer" ,
"capability" : "canSeeAccessed" ,
"columnWidth" : 60 ,
"format" : { "type" : "number" , "args" : [ ] } ,
"sort" : true
} ,
{
"id" : "rightslevel" ,
"title" : "Rights Level" ,
"type" : "enum" ,
"columnWidth" : 90 ,
"format" : { "type" : "ColorLevel" , "args" : [
[ "Public" , "Restricted" , "Private" ]
] } ,
"sort" : true ,
"sortOperator" : "+" ,
"values" : [ "Public" , "Restricted" , "Private" , "Unknown" ]
} ,
{
"id" : "random" ,
"title" : "Random" ,
"type" : "integer" ,
"sort" : true
2017-10-23 22:38:18 +02:00
} ,
{
"id" : "places" ,
"title" : "Places" ,
"type" : "layer" ,
"filter" : true ,
"find" : true
} ,
{
"id" : "events" ,
"title" : "Events" ,
"type" : "layer" ,
"filter" : true ,
"find" : true
2017-09-15 12:15:50 +02:00
}
] ,
/ *
"itemName" s p e c i f i e s t h e n a m e o f i t e m s ( "Movies" , "Videos" o r s i m i l a r ) .
N o t e t h a t a n y t h i n g e x c e s s i v e l y l o n g m a y c a u s e l a y o u t e r r o r s .
* /
"itemName" : {
"singular" : "Video" ,
"plural" : "Videos"
} ,
/ *
"itemRequiresVideo" r e g u l a t e s i f i t e m s w i t h o u t v i d e o c a n b e c r e a t e d . I f s e t
t o true , t h e o n l y w a y t o a d d a n e w i t e m i s t o u p l o a d a n e w v i d e o .
* /
"itemRequiresVideo" : true ,
/ *
"itemTitleKeys" i s a l i s t o f i t e m K e y s r e q u i r e d t o c o m p o s e t h e i t e m t i t l e
d i s p l a y e d a t t h e t o p o f t h e s c r e e n . T h i s t i t l e c a n b e c u s t o m i z e d b y a d d i n g
"/static/js/getItemTitle.SITENAME.js" .
* /
"itemTitleKeys" : [ "title" , "director" , "year" ] ,
/ *
"itemViews" i s a n o r d e r e d l i s t o f a v a i l a b l e i t e m v i e w s . I m p l e m e n t e d v i e w s
a r e "info" , "documents" , "player" , "editor" , "timeline" , "clips" , "map" ,
"calendar" , "data" a n d "media" .
* /
"itemViews" : [
{ "id" : "info" , "title" : "Info" } ,
{ "id" : "player" , "title" : "Player" } ,
{ "id" : "editor" , "title" : "Editor" } ,
{ "id" : "timeline" , "title" : "Timeline" } ,
{ "id" : "clips" , "title" : "Clips" } ,
{ "id" : "map" , "title" : "Map" } ,
{ "id" : "calendar" , "title" : "Calendar" } ,
{ "id" : "documents" , "title" : "Documents" } ,
{ "id" : "data" , "title" : "Data" } ,
{ "id" : "media" , "title" : "Media" }
] ,
/ *
"language" i s t h e d e f a u l t l a n g u a g e f o r a n n o t a t i o n s o f t y p e "text" . T e x t i n
o t h e r l a n g u a g e s c a n b e a d d e d v i a m a r k u p , f o r e x a m p l e :
< s p a n l a n g = "fr" > V o i l à ! < / s p a n >
* /
"language" : "cs" ,
/ *
"languages" i s t h e l i s t o f l a n g u a g e s t h a t t h e i n t e r f a c e c a n b e s w i t c h e d t o .
C u r r e n t l y , l o c a l i z a t i o n e x i s t s f o r "ar" , "el" , "en" a n d "hi" .
* /
"languages" : [ "ar" , "cs" , "el" , "en" , "hi" ] ,
/ *
"layers" d e f i n e s t h e t y p e s o f t i m e - b a s e d a n n o t a t i o n s t h a t c a n b e e n t e r e d .
R e q u i r e d k e y s a r e :
"id" : I n t e r n a l I D
"item" : N a m e o f o n e s u c h a n n o t a t i o n ( s i n g u l a r )
"title" : D i s p l a y t i t l e
"type" : C a n b e "entity" , "string" o r "text" ( s t r i n g s c a n n o t c o n t a i n
l i n e b r e a k s , t e x t c a n c o n t a i n H T M L m a r k u p ) .
O p t i o n a l k e y s a r e :
"autocomplete" : A v a i l a b l e i f t h e l a y e r i s u s e d a s a f i l t e r
"canAddAnnotations" : P e r m i s s i o n s p e r u s e r l e v e l
"canPlayClips" : I f true , c l i p s f r o m t h i s l a y e r w i l l p l a y f o r u s e r s
w i t h c a n P l a y C l i p s a c c e s s
"entity" : I D o f t h e r e f e r e n c e d e n t i t y ( i f t y p e i s "entity" )
2018-12-05 12:39:59 +01:00
"getDefaults" : f u n c t i o n i n p a n d o r a n a m e s p a c e t h a t g e t s c a l l e d
t o p o p u l a t e d e f a u l t s f o r n e w a n n o t a t i o n s . i . e . g e t C u r r e n t F r a m e A n n o t a t i o n
2017-09-15 12:15:50 +02:00
"hasEvents" : I f true , t h e c a l e n d a r w i l l b e p o p u l a t e d w i t h m a t c h e s f r o m
t h i s l a y e r
"hasPlaces" : I f true , t h e m a p w i l l b e p o p u l a t e d w i t h m a t c h e s f r o m t h i s
l a y e r
"isSubtitles" : I f true , t h i s l a y e r w i l l b e d i s p l a y e d a s s u b t i t l e s
"overlap" : I f true , o v e r l a p p i n g a n n o t a t i o n s a r e a l l o w e d . N o t e t h a t
e n f o r c e m e n t o f "overlap" : false i s n o t i m p l e m e n t e d
"showInfo" : I f true , u s e r a n d c r e a t i o n t i m e w i l l b e d i s p l a y e d i n t h e
t o o l t i p t h a t a p p e a r s o n m o u s e o v e r .
* /
"layers" : [
{
"id" : "keywords" ,
"title" : "Keywords" ,
"canAddAnnotations" : { "member" : true , "staff" : true , "admin" : true } ,
"item" : "Keyword" ,
2018-12-05 12:39:59 +01:00
"autocomplete" : true ,
2017-09-15 12:15:50 +02:00
"overlap" : true ,
"type" : "string"
} ,
{
"id" : "privatenotes" ,
"title" : "Private Notes" ,
"canAddAnnotations" : { "member" : true , "staff" : true , "admin" : true } ,
"item" : "Private Note" ,
"overlap" : true ,
"private" : true ,
"showInfo" : true ,
"type" : "text"
} ,
{
"id" : "publicnotes" ,
"title" : "Notes" ,
"canAddAnnotations" : { "member" : true , "staff" : true , "admin" : true } ,
"item" : "Public Note" ,
"overlap" : true ,
"showInfo" : true ,
"type" : "text"
} ,
{
"id" : "subtitles" ,
"title" : "Subtitles" ,
"canAddAnnotations" : { "staff" : true , "admin" : true } ,
"canPlayClips" : true ,
"hasEvents" : true ,
"hasPlaces" : true ,
"isSubtitles" : true ,
"item" : "Subtitle" ,
"type" : "text"
2017-10-23 22:38:18 +02:00
} ,
{
"id" : "places" ,
"title" : "Places" ,
"canAddAnnotations" : { "member" : true , "staff" : true , "admin" : true } ,
"item" : "Place" ,
"overlap" : true ,
"type" : "place"
} ,
{
"id" : "events" ,
"title" : "Events" ,
"canAddAnnotations" : { "member" : true , "staff" : true , "admin" : true } ,
"item" : "Event" ,
"overlap" : true ,
"type" : "event"
2017-09-15 12:15:50 +02:00
}
] ,
/ *
"license" c a n b e u s e d t o i m p l e m e n t i n s t a n c e - s p e c i f i c l i c e n s e s e t t i n g s
* /
"license" : null ,
/ *
"listViews" i s a n o r d e r e d l i s t o f a v a i l a b l e l i s t v i e w s . I m p l e m e n t e d v i e w s
a r e "list" , "grid" , "timelines" , "clips" , "clip" , "map" a n d "calendar" .
* /
"listViews" : [
{ "id" : "list" , "title" : "as List" } ,
{ "id" : "grid" , "title" : "as Grid" } ,
{ "id" : "timelines" , "title" : "with Timelines" } ,
{ "id" : "clips" , "title" : "with Clips" } ,
{ "id" : "clip" , "title" : "as Clips" } ,
{ "id" : "map" , "title" : "on Map" } ,
{ "id" : "calendar" , "title" : "on Calendar" }
] ,
/ *
"media" d e f i n e s a d d i t i o n a l m e d i a t h a t g e t s a d d e d w h e n i m p o r t i n g i t e m s .
"importPosters" : I f true , a p o s t e r f i l e w i l l b e i m p o r t e d ( i f p r e s e n t )
"importFrames" : I f true , 3 f u l l - r e s o l u t i o n f r a m e s p e r f i l e w i l l b e
i m p o r t e d . T h i s i s u s e f u l t o r e n d e r h i g h - r e s o l u t i o n i c o n s a n d
p o s t e r s f o r a n i n s t a n c e t h a t h a s o n l y l o w - r e s o l u t i o n v i d e o .
* /
"media" : {
"importPosters" : false ,
2018-12-05 12:39:59 +01:00
"importFrames" : false
2017-09-15 12:15:50 +02:00
} ,
/ *
"menuExtras" c a n b e u s e d t o a d d e x t r a f u n c t i o n a l i t y t o t h e m a i n m e n u b a r .
T h e p l u g - i n a r c h i t e c t u r e i s n o t y e t f i n a l i z e d , d o c u m e n t a t i o n f o r t h c o m i n g .
* /
"menuExtras" : [
"upload" ,
"user" ,
// "locale",
"reload"
] ,
/ *
"personalLists" s p e c i f i e s w h i c h p r e - d e f i n e d l i s t s a n e w m e m b e r w i l l h a v e
a f t e r s i g n u p . "title" i s r e q u i r e d . I f "query" i s p r e s e n t , t h i s d e f i n e s a
s m a r t l i s t . "query" c a n b e a n y p a n . d o / r a q u e r y o b j e c t , s e e / a p i / f i n d f o r
f u r t h e r d o c u m e n t a t i o n . I f y o u n e e d t o r e f e r e n c e t h e u s e r n a m e ( f o r e x a m p l e
i n o r d e r t o i n c l u d e a d e f a u l t "My Videos" l i s t ) , y o u c a n u s e t h e s y n t a x
{ "user" : "{username}" }
* /
"personalLists" : [
{ "title" : "Favorites" }
] ,
/ *
"posters" c o n t a i n s d e t a i l s a b o u t t h e p o s t e r i c o n s . "ratio" i s t h e d e f a u l t
r a t i o ( u s e d t o d i s p l a y a p l a c e h o l d e r w h i l e p o s t e r i c o n s a r e l o a d i n g ) .
* /
"posters" : {
"ratio" : 0.625
} ,
/ *
"rightsLevel" d e f i n e s w h i c h i n i t i a l r i g h t s l e v e l w i l l b e a s s i g n e d t o i t e m s
a n d t e x t s c r e a t e d b y u s e r s o f t h e s e u s e r l e v e l s .
* /
"rightsLevel" : { "member" : 2 , "staff" : 2 , "admin" : 2 } ,
/ *
"rightsLevels" i s a n o r d e r e d l i s t o f r i g h t s l e v e l s , o n e o f w h i c h w i l l b e
a s s i g n e d t o e a c h i t e m .
* /
"rightsLevels" : [
{ "name" : "Public" , "color" : [ 128 , 255 , 128 ] } ,
{ "name" : "Restricted" , "color" : [ 255 , 192 , 128 ] } ,
{ "name" : "Private" , "color" : [ 255 , 128 , 128 ] }
] ,
/ *
"sendReferrer" , i f s e t t o false , w i l l c a u s e a l l o u t g o i n g l i n k s t o o r i g i n a t e
f r o m o n e s i n g l e U R L
* /
"sendReferrer" : false ,
/ *
"site" c o n t a i n s v a r i o u s s e t t i n g s f o r t h i s i n s t a n c e . I n "email" , "contact"
i f t h e a d d r e s s i n t h e c o n t a c t f o r m ( t o ) , "system" i s t h e a d d r e s s u s e d b y
t h e s y s t e m ( f r o m ) .
* /
"site" : {
"description" : "This is a demo of pan.do/ra - a free, open source media archive. It allows you to manage large, decentralized collections of video, to collaboratively create metadata and time-based annotations, and to serve your archive as a cutting-edge web application." ,
"email" : {
// E-mail address in contact form (to)
2017-10-23 10:46:14 +02:00
"contact" : "spotter@bloguje.cz" ,
2017-09-15 12:15:50 +02:00
"footer" : "-- \npan.do/ra - http://pan.do/ra" ,
"prefix" : "pan.do/ra News -" ,
// E-mail address uses by the system (from)
2017-10-23 10:46:14 +02:00
"system" : "spotter@bloguje.cz"
2017-09-15 12:15:50 +02:00
} ,
2017-10-23 10:46:14 +02:00
"https" : true ,
2017-09-15 12:15:50 +02:00
"id" : "pandora" ,
"name" : "pan.do/ra" ,
2018-12-05 12:39:59 +01:00
// Set to true to allow search engines to index the site
"public" : false ,
2017-09-15 12:15:50 +02:00
"sendReferrer" : true ,
2018-07-18 12:32:40 +02:00
"url" : "pandora.spotter.vm"
2017-09-15 12:15:50 +02:00
} ,
/ *
"sitePages" d e f i n e s t h e s e c t i o n s o f t h e m a i n s i t e d i a l o g . I f "news" i s
p r e s e n t , t h i s w i l l a d d a n i n t e r f a c e t o a d d n e w s i t e m s . I f "contact" i s
p r e s e n t , t h i s w i l l a d d a n i n t e r f a c e t o c o n t a c t t h e s i t e o w n e r s .
* /
"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" } ,
{ "id" : "license" , "title" : "License" } ,
{ "id" : "contact" , "title" : "Contact" }
] ,
/ *
"sites" s p e c i f i e s w h i c h o t h e r p a n . d o / r a i n s t a n c e s , i f a n y , w i l l a p p e a r i n
t h e u s e r i n t e r f a c e f o r c r e a t i n g e m b e d s . T h i s a l l o w s f o r e a s i e r c r e a t i o n o f
c r o s s - i n s t a n c e r e f e r e n c e s .
* /
"sites" : [
{ "name" : "0xDB" , "url" : "0xdb.org" , "https" : true } ,
{ "name" : "Pad.ma" , "url" : "pad.ma" , "https" : true } ,
{ "name" : "Indiancine.ma" , "url" : "indiancine.ma" , "https" : true }
] ,
/ *
"textRightsLevels" d e f i n e s a l i s t o f r i g h t s l e v e l s f o r t e x t s .
* /
"textRightsLevels" : [
{ "name" : "Public" , "color" : [ 128 , 255 , 128 ] } ,
{ "name" : "Private" , "color" : [ 255 , 128 , 128 ] }
] ,
/ *
"themes" i s a l i s t o f t h e m e s t h a t t h e u s e r i n t e r f a c e c a n b e s w i t c h e d t o .
C u r r e n t l y a v a i l a b l e t h e m e s a r e "oxlight" , "oxmedium" a n d "oxdark" . T h e
d e f a u l t t h e m e c a n b e s e t i n u s e r . u i . t h e m e .
* /
"themes" : [ "oxlight" , "oxmedium" , "oxdark" ] ,
/ *
"timelines" i s a l i s t o f t i m e l i n e t y p e s . I m p l e m e n t e d t y p e s a r e "antialias" ,
"slitscan" , "keyframes" a n d "audio" .
* /
"timelines" : [
{ "id" : "antialias" , "title" : "Anti-Alias" } ,
{ "id" : "slitscan" , "title" : "Slit-Scan" } ,
{ "id" : "keyframes" , "title" : "Keyframes" } ,
{ "id" : "audio" , "title" : "Waveform" }
] ,
/ *
"totals" s p e c i f i e s w h i c h t o t a l s a r e d i s p l a y e d i n t h e s t a t u s b a r a t t h e
b o t t o m o f l i s t v i e w s . P o s s i b l e i d s a r e "duration" , "files" , "items" ,
"pixels" a n d "size" . A d d i n g a c a p a b i l i t y l i m i t s t h e d i s p l a y o f a s p e c i f i c
t o t a l t o u s e r s o f t h e c o r r e s p o n d i n g u s e r l e v e l s .
* /
"totals" : [
{ "id" : "items" } ,
{ "id" : "files" , "capability" : "canSeeMedia" } ,
{ "id" : "duration" , "capability" : "canSeeMedia" } ,
{ "id" : "size" , "capability" : "canSeeMedia" } ,
{ "id" : "pixels" }
] ,
/ *
I f "tv" i s s e t t o true , t h e n i n T V m o d e , t h e s i t e l o g o w i l l b e d i s p l a y e d i n
t h e c o r n e r o f t h e s c r e e n .
* /
"tv" : {
"showLogo" : false
} ,
/ *
T h e "user" o b j e c t c o n t a i n s t h e d e f a u l t u s e r s e t t i n g s . "ui" i s t h e d e f a u l t
i n t e r f a c e s t a t e f o r n e w u s e r s , a n d a f t e r s e l e c t i n g "Reset UI Settings" i n
P r e f e r e n c e s - > A d v a n c e d . T h i s i s t h e p l a c e t o c o n f i g u r e v a r i o u s d e f a u l t s ,
l i k e t h e s i t e - w i d e l a n g u a g e a n d t h e m e , t h e d e f a u l t l i s t a n d i t e m v i e w s , t h e
d e f a u l t s e t o f f i l t e r s , e t c .
P l e a s e m a k e s u r e t h a t i n c a s e y o u r e n a m e o r r e m o v e e n t r i e s t h a t a r e
r e f e r e n c e d i n "ui" , y o u u p d a t e t h e m h e r e a s w e l l .
* /
"user" : {
"level" : "guest" ,
"ui" : {
"annotationsCalendarSize" : 128 ,
2018-12-05 12:39:59 +01:00
"annotationsHighlight" : "none" ,
2017-09-15 12:15:50 +02:00
"annotationsMapSize" : 128 ,
"annotationsRange" : "all" ,
"annotationsSize" : 256 ,
"annotationsSort" : "position" ,
"calendarFind" : "" ,
"calendarSelection" : "" ,
"clipColumns" : 2 ,
"clipSize" : 416 ,
"collectionColumns" : [ "title" , "id" , "extension" , "dimensions" , "size" , "description" , "matches" , "user" , "created" , "modified" ] ,
"collectionColumnWidth" : { } ,
"collectionSelection" : [ ] ,
"collectionSort" : [
{ "key" : "title" , "operator" : "+" } ,
{ "key" : "extension" , "operator" : "+" }
] ,
"collectionView" : "grid" ,
"collections" : { } ,
"columns" : {
"Colors" : {
"columns" : [ "title" , "director" , "language" , "hue" , "saturation" , "brightness" ] ,
"columnWidth" : { }
}
} ,
"document" : "" ,
"documents" : { } ,
"documentSize" : 256 ,
"documentView" : "view" ,
"documentsSelection" : { } ,
"documentsSort" : [ { "key" : "title" , "operator" : "+" } ] ,
"documentsView" : "grid" ,
"edit" : "" ,
"edits" : { } ,
"editSelection" : [ ] ,
"editSort" : [
{ "key" : "index" , "operator" : "+" } ,
{ "key" : "year" , "operator" : "+" } ,
{ "key" : "director" , "operator" : "+" } ,
{ "key" : "title" , "operator" : "+" } ,
{ "key" : "position" , "operator" : "+" } ,
{ "key" : "duration" , "operator" : "+" }
] ,
"editView" : "list" ,
"embedSize" : 256 ,
"entitiesSelection" : { } ,
"entitiesType" : "" ,
"filters" : [
{ "id" : "director" , "sort" : [ { "key" : "items" , "operator" : "-" } ] } ,
{ "id" : "country" , "sort" : [ { "key" : "items" , "operator" : "-" } ] } ,
{ "id" : "year" , "sort" : [ { "key" : "name" , "operator" : "-" } ] } ,
{ "id" : "featuring" , "sort" : [ { "key" : "items" , "operator" : "-" } ] } ,
{ "id" : "keywords" , "sort" : [ { "key" : "items" , "operator" : "-" } ] }
] ,
"filtersSize" : 176 ,
"find" : { "conditions" : [ ] , "operator" : "&" } ,
"findDocuments" : { "conditions" : [ ] , "operator" : "&" } ,
"followPlayer" : true ,
"help" : "" ,
2017-10-23 22:38:18 +02:00
"icons" : "frames" ,
2017-09-15 12:15:50 +02:00
"infoIconSize" : 256 ,
"item" : "" ,
"itemFind" : "" ,
"itemSort" : [ { "key" : "position" , "operator" : "+" } ] ,
"itemView" : "info" ,
"listColumns" : [ "title" , "director" , "year" , "language" , "duration" ] ,
"listColumnWidth" : { } ,
"listSelection" : [ ] ,
"listSort" : [ { "key" : "title" , "operator" : "+" } ] ,
"listView" : "grid" ,
"lists" : { } ,
"locale" : "cs" ,
"mapFind" : "" ,
"mapSelection" : "" ,
"page" : "" ,
"part" : {
"api" : "" ,
"document" : "" ,
"entities" : "" ,
"faq" : "" ,
"help" : "" ,
"news" : "" ,
"preferences" : "" ,
"tv" : ""
} ,
"section" : "items" ,
"sequenceMode" : "shape" ,
"sequenceSort" : [ { "key" : "director" , "operator" : "+" } ] ,
"showAdvancedEmbedOptions" : false ,
"showAnnotations" : true ,
"showAnnotationsCalendar" : true ,
"showAnnotationsMap" : true ,
"showBrowser" : true ,
"showCalendarControls" : false ,
"showClips" : true ,
"showDocument" : true ,
"showFilters" : true ,
"showIconBrowser" : false ,
"showInfo" : true ,
"showLayers" : {
"keywords" : true ,
"privatenotes" : true ,
"publicnotes" : true ,
2017-10-23 22:38:18 +02:00
"subtitles" : true ,
"places" : true ,
"events" : true
2017-09-15 12:15:50 +02:00
} ,
"showMapControls" : false ,
"showMapLabels" : false ,
"showFolder" : {
"edits" : {
"personal" : true ,
"favorite" : true ,
"featured" : true ,
"volumes" : true
} ,
"items" : {
"personal" : true ,
"favorite" : true ,
"featured" : true ,
"volumes" : true
} ,
"documents" : {
"personal" : true ,
"favorite" : true ,
"featured" : true
}
} ,
"showReflections" : true ,
"showSidebar" : true ,
"showSitePosters" : false ,
"showTimeline" : true ,
"sidebarSize" : 256 ,
"text" : "" ,
"texts" : { } ,
2017-10-23 22:38:18 +02:00
"theme" : "oxdark" ,
2017-09-15 12:15:50 +02:00
"updateAdvancedFindResults" : false ,
"videoLoop" : false ,
"videoMuted" : false ,
"videoPoints" : { } ,
"videoResolution" : 240 ,
"videoScale" : "fit" ,
"videoSize" : "small" ,
"videoSubtitles" : true ,
"videoSubtitlesOffset" : 0 ,
"videoTimeline" : "antialias" ,
"videoView" : "player" ,
"videoVolume" : 1
} ,
"script" : "" ,
"username" : "" ,
"volumes" : [ ]
} ,
/ *
"userLevels" i s a n o r d e r e d l i s t o f u s e r c l a s s e s . T h e f i r s t e n t r y i s f o r
u n r e g i s t e r e d v i s i t o r s .
* /
"userLevels" : [ "guest" , "member" , "staff" , "admin" ] ,
/ *
"video" c o n t a i n s t h e v i d e o s e t t i n g s .
"formats" : S u p p o r t e d v i d e o f o r m a t s .
S h o u l d b e [ "webm" , "mp4" ] t o s u p p o r t W e b M a n d M P 4 ,
[ "webm" ] i f o n l y W e b M i s u s e d o r
[ "mp4" ] f o r M P 4 o n l y .
"previewRatio" : A s p e c t r a t i o u s e d i n t h e i n f o p a n e l i n t h e b o t t o m l e f t
c o r n e r o f t h e s c r e e n
"resolutions" : L i s t o f v i d e o r e s o l u t i o n s . S u p p o r t e d v a l u e s a r e 96 , 144 ,
240 , 288 , 360 , 432 , 480 , 720 a n d 1080 .
"torrent" : I f true , v i d e o d o w n l o a d s a r e o f f e r e d v i a B i t T o r r e n t
* /
"video" : {
2018-02-16 21:31:25 +01:00
"downloadFormat" : "mp4" ,
2017-09-24 20:31:29 +02:00
"formats" : [ "mp4" ] ,
2017-09-15 12:15:50 +02:00
"previewRatio" : 1.3333333333 ,
2017-09-24 20:31:29 +02:00
"resolutions" : [ 96 , 1080 ] ,
2017-09-15 12:15:50 +02:00
"torrent" : true
}
}