From 10dd0768d131702411365060d6d2ebe0f0dd09fd Mon Sep 17 00:00:00 2001 From: j Date: Mon, 1 Nov 2021 11:07:57 +0000 Subject: [PATCH] include itemTitleKeys in for clips --- pandora/clip/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/clip/models.py b/pandora/clip/models.py index fcdae282..d3639baa 100644 --- a/pandora/clip/models.py +++ b/pandora/clip/models.py @@ -151,7 +151,7 @@ class MetaClip(object): data['annotation'] = qs[0].public_id data['parts'] = self.item.cache['parts'] data['durations'] = self.item.cache['durations'] - for key in ('title', 'director', 'year', 'videoRatio'): + for key in settings.CONFIG['itemTitleKeys'] + ['videoRatio']: value = self.item.cache.get(key) if value: data[key] = value