mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-04-23 22:27:17 -04:00
Fixed issue with API not returning proper subtitles hi or forced subtitles in some edge cases
This commit is contained in:
parent
c7195db715
commit
e780edd0b7
1 changed files with 2 additions and 2 deletions
|
@ -73,8 +73,8 @@ def postprocess(item):
|
|||
if len(language) > 1:
|
||||
item['subtitles'][i].update(
|
||||
{
|
||||
"forced": language[1] == 'forced',
|
||||
"hi": language[1] == 'hi',
|
||||
"forced": language[1].lower() == 'forced',
|
||||
"hi": language[1].lower() == 'hi',
|
||||
}
|
||||
)
|
||||
if settings.general.embedded_subs_show_desired and item.get('profileId'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue