We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a25c215 commit e910657Copy full SHA for e910657
1 file changed
pythonbits/bb.py
@@ -293,12 +293,16 @@ def _render_tags(self):
293
# todo: get episode-specific actors (from imdb?)
294
295
n = self['options']['num_cast']
296
- d = self['options']['num_directors']
297
tags = list(self['summary']['genres'])
298
- if 'directors' in self['summary']:
299
- tags += [a['name']
300
- for a in self['summary']['directors'][:d]
301
- if a['name']]
+
+ # only add the Director tag/s for movie submissions
+ if(self.subcategory() == MovieSubmission):
+ d = self['options']['num_directors']
+ if 'directors' in self['summary']:
302
+ tags += [a['name']
303
+ for a in self['summary']['directors'][:d]
304
+ if a['name']]
305
306
if 'cast' in self['summary']:
307
tags += [a['name']
308
for a in self['summary']['cast'][:n]
0 commit comments