Fix linting for PlayerViewModel (if closing bracket indentation)
This commit is contained in:
parent
b0d1b77448
commit
4aafb806f1
1 changed files with 1 additions and 0 deletions
|
@ -147,6 +147,7 @@ class PlayerViewModel @Inject internal constructor(
|
|||
}
|
||||
val externalSubtitles = mediaSource.mediaStreams
|
||||
.filter { mediaStream ->
|
||||
// When transcoding, subtitles aren't embedded, so we add them externally
|
||||
(appPreferences.playerPreferredQuality != "Original" || mediaStream.isExternal) &&
|
||||
mediaStream.type == MediaStreamType.SUBTITLE &&
|
||||
!mediaStream.path.isNullOrBlank()
|
||||
|
|
Loading…
Reference in a new issue