forked from 0x2620/pandora
include itemTitleKeys in for clips
This commit is contained in:
parent
bc123a885e
commit
10dd0768d1
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ class MetaClip(object):
|
||||||
data['annotation'] = qs[0].public_id
|
data['annotation'] = qs[0].public_id
|
||||||
data['parts'] = self.item.cache['parts']
|
data['parts'] = self.item.cache['parts']
|
||||||
data['durations'] = self.item.cache['durations']
|
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)
|
value = self.item.cache.get(key)
|
||||||
if value:
|
if value:
|
||||||
data[key] = value
|
data[key] = value
|
||||||
|
|
Loading…
Reference in a new issue