movie.py: add fixme
This commit is contained in:
parent
a22f07ee26
commit
0979f1edda
1 changed files with 2 additions and 1 deletions
|
@ -212,13 +212,14 @@ def parse_paths(paths):
|
||||||
version_files[''] = [
|
version_files[''] = [
|
||||||
file for file in files_by_version if file['part'] == None
|
file for file in files_by_version if file['part'] == None
|
||||||
]
|
]
|
||||||
version_files['%s[1]' % (' ' + version if version else '')] = [
|
version_files['%s[multi-part]' % (' ' + version if version else '')] = [
|
||||||
file for file in files_by_version if file['part'] != None
|
file for file in files_by_version if file['part'] != None
|
||||||
]
|
]
|
||||||
else:
|
else:
|
||||||
version_files[version or ''] = files_by_version
|
version_files[version or ''] = files_by_version
|
||||||
versions = sorted(version_files.keys())
|
versions = sorted(version_files.keys())
|
||||||
for version in versions:
|
for version in versions:
|
||||||
|
# FIXME: make video_extensions and subtitle_languages local variables
|
||||||
data[version] = {'isMainVersion': False, 'files': [], 'videoExtensions': [], 'subtitleLanguages': []}
|
data[version] = {'isMainVersion': False, 'files': [], 'videoExtensions': [], 'subtitleLanguages': []}
|
||||||
parts = sorted(list(set([file['part'] for file in version_files[version]])))
|
parts = sorted(list(set([file['part'] for file in version_files[version]])))
|
||||||
# videoExtensions
|
# videoExtensions
|
||||||
|
|
Loading…
Reference in a new issue