|
|
|
@ -118,11 +118,11 @@ def pp_replace(pp_command, episode, subtitles, language, language_code2, languag
|
|
|
|
|
pp_command = pp_command.replace('{{episode}}', episode)
|
|
|
|
|
pp_command = pp_command.replace('{{episode_name}}', os.path.splitext(os.path.basename(episode))[0])
|
|
|
|
|
pp_command = pp_command.replace('{{subtitles}}', str(subtitles))
|
|
|
|
|
pp_command = pp_command.replace('{{subtitles_language}}', str(language) + modifier_string)
|
|
|
|
|
pp_command = pp_command.replace('{{subtitles_language_code2}}', str(language_code2) + modifier_code)
|
|
|
|
|
pp_command = pp_command.replace('{{subtitles_language_code3}}', str(language_code3) + modifier_code)
|
|
|
|
|
pp_command = pp_command.replace('{{subtitles_language_code2_dot}}', str(language_code2) + modifier_code_dot)
|
|
|
|
|
pp_command = pp_command.replace('{{subtitles_language_code3_dot}}', str(language_code3) + modifier_code_dot)
|
|
|
|
|
pp_command = pp_command.replace('{{subtitles_language}}', str(language))
|
|
|
|
|
pp_command = pp_command.replace('{{subtitles_language_code2}}', str(language_code2))
|
|
|
|
|
pp_command = pp_command.replace('{{subtitles_language_code3}}', str(language_code3))
|
|
|
|
|
pp_command = pp_command.replace('{{subtitles_language_code2_dot}}', str(language_code2).replace(':', '.'))
|
|
|
|
|
pp_command = pp_command.replace('{{subtitles_language_code3_dot}}', str(language_code3).replace(':', '.'))
|
|
|
|
|
pp_command = pp_command.replace('{{episode_language}}', str(episode_language))
|
|
|
|
|
pp_command = pp_command.replace('{{episode_language_code2}}', str(episode_language_code2))
|
|
|
|
|
pp_command = pp_command.replace('{{episode_language_code3}}', str(episode_language_code3))
|
|
|
|
|