further support for embedded-forced

This commit is contained in:
panni
2017-11-04 04:01:39 +01:00
parent 0b1037b497
commit c3e7e336b5
+3 -2
View File
@@ -109,7 +109,7 @@ def find_subtitles(part):
# get fn without forced/default/normal tag
split_tag = root.rsplit(".", 1)
if len(split_tag) > 1 and split_tag[1].lower() in ['forced', 'normal', 'default', 'embedded',
'custom']:
'embedded-forced', 'custom']:
root = split_tag[0]
# get associated media file name without language
@@ -135,7 +135,8 @@ def find_subtitles(part):
# get fn without forced/default/normal tag
split_tag = local_basename.rsplit(".", 1)
has_additional_tag = False
if len(split_tag) > 1 and split_tag[1].lower() in ['forced', 'normal', 'default', 'embedded', 'custom']:
if len(split_tag) > 1 and split_tag[1].lower() in ['forced', 'normal', 'default', 'embedded', 'embedded-forced',
'custom']:
local_basename = split_tag[0]
has_additional_tag = True