[ie/ArteTV] rename "partial" suffix to "forced"

This commit is contained in:
Vincent Texier 2024-05-19 21:44:06 +02:00
parent 7b820f71e3
commit 20fefd1f27
1 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ class ArteTVIE(ArteTVBaseIE):
'subtitles': {
'fr': 'mincount:1',
'fr-acc': 'mincount:1',
'fr-partial': 'mincount:1',
'fr-forced': 'mincount:1',
},
},
}, {
@ -133,7 +133,7 @@ class ArteTVIE(ArteTVBaseIE):
for fmt in sub_formats:
url = fmt.get('url') or ''
suffix = ('acc' if url.endswith('-MAL.m3u8')
else 'partial' if '_VO' not in url
else 'forced' if '_VO' not in url
else None)
updated_subs.setdefault(join_nonempty(lang, suffix), []).append(fmt)
return updated_subs