add metadata

This commit is contained in:
j 2021-10-11 15:33:24 +01:00
commit 844af58b1d
3 changed files with 13 additions and 1 deletions

View file

@ -16,7 +16,10 @@ class Command(BaseCommand):
'query': {
'conditions': [{'key': 'groups', 'value': options['group'], 'operator': '=='}]
},
'keys': ['id', 'title', 'director', 'summary', 'source', 'sourcedescription', 'date', 'location'],
'keys': [
'id', 'title', 'director', 'summary', 'source', 'sourcedescription', 'date', 'location',
'duration'
],
'range': [0, 1000]
}
for item in api.find(**query)['data']['items']: