format_path: don't use more than 10 director names
This commit is contained in:
parent
7fe62b5ce3
commit
104e9f1c5c
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ def format_path(data, directory_key='director'):
|
|||
year = data['seriesYear' if data['isEpisode'] else 'year'] or None
|
||||
language = 'en' if data['type'] == 'subtitle' and data['language'] == None else data['language']
|
||||
parts = map(format_underscores, filter(lambda x: x != None, [
|
||||
u'; '.join(director),
|
||||
u'; '.join(director[:10]),
|
||||
u'%s%s' % (title, u' (%s)' % year if year else ''),
|
||||
u'%s%s%s%s%s%s' % (
|
||||
data['title'] or 'Untitled',
|
||||
|
|
Loading…
Reference in a new issue