diff --git a/pandora/item/tasks.py b/pandora/item/tasks.py index bb77b03aa..79a9a9cb9 100644 --- a/pandora/item/tasks.py +++ b/pandora/item/tasks.py @@ -45,8 +45,10 @@ def load_subtitles(itemId): languages = [f.language for f in item.files.filter(is_main=True, is_subtitle=True, available=True)] if languages: - if 'en' in languages or '' in languages: + if 'en' in languages: language = 'en' + elif '' in languages: + language = '' else: language = languages[0] for f in item.files.filter(is_main=True, is_subtitle=True,