mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-09 16:11:20 +02:00
Fix subtitle smart mode to check chosen audio language (#420)
Fixes how the smart subtitle mode logic works Fixes #406
This commit is contained in:
parent
319b46983f
commit
c5c0dff705
3 changed files with 50 additions and 25 deletions
|
|
@ -59,6 +59,7 @@ class ItemPlaybackRepository
|
|||
)
|
||||
val subtitleStream =
|
||||
streamChoiceService.chooseSubtitleStream(
|
||||
audioStream = audioStream,
|
||||
candidates =
|
||||
source.mediaStreams
|
||||
?.filter { it.type == MediaStreamType.SUBTITLE }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue