Skip to content

Commit

Permalink
captions and plyr: choose correct default track
Browse files Browse the repository at this point in the history
  • Loading branch information
zrose584 committed May 22, 2022
1 parent 2897105 commit 6c5d1b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions youtube/watch.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,9 @@ def score_lang(lang):
# set as on by default since settings indicate to set it as such even if it's not manual
sources[-1]['on'] = True

if settings.video_player == 1: # Plyr
sources[-1]['on'] = True

return sources


Expand Down

0 comments on commit 6c5d1b2

Please sign in to comment.