rip-py: Fix leftover PEP8 errors

This commit is contained in:
MasterofJOKers 2023-12-06 00:06:56 +01:00
parent 074b368b82
commit cf53e5dd3d
1 changed files with 3 additions and 3 deletions

View File

@ -172,7 +172,7 @@ def _get_parameterized_ffmpeg_cmd(media_type, quality, extra_opts, use_gpu,
ffmpeg_cmd[-1].extend([ ffmpeg_cmd[-1].extend([
'-map', map_target, '-map', map_target,
'-metadata:s:a:{}'.format(i), 'language={}'.format(lang) '-metadata:s:a:{}'.format(i), 'language={}'.format(lang)
]) ])
else: else:
ffmpeg_cmd[-1].extend(['-map', '0:a:0', '-metadata:s:a:0', 'language=de']) ffmpeg_cmd[-1].extend(['-map', '0:a:0', '-metadata:s:a:0', 'language=de'])
@ -185,7 +185,7 @@ def _get_parameterized_ffmpeg_cmd(media_type, quality, extra_opts, use_gpu,
ffmpeg_cmd[-1].extend([ ffmpeg_cmd[-1].extend([
'-map', map_target, '-map', map_target,
'-metadata:s:s:{}'.format(i), 'language={}'.format(lang) '-metadata:s:s:{}'.format(i), 'language={}'.format(lang)
]) ])
# TODO we are probably able to do forced subtitles. we probably want that # TODO we are probably able to do forced subtitles. we probably want that
@ -657,7 +657,7 @@ def split_file(output_dir, input_file, chapters_file, number, reencode,
'-c:v', 'copy', '-c:v', 'copy',
'-movflags', '+faststart', '-movflags', '+faststart',
out_path out_path
] ]
else: else:
use_gpu = False use_gpu = False
ffmpeg_cmd = _get_ffmpeg_cmd(out_path, input_file, media_type, ffmpeg_cmd = _get_ffmpeg_cmd(out_path, input_file, media_type,