hotfix
This commit is contained in:
parent
2b2e6ce58b
commit
75ea1dc43a
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ class PlayerViewModel @Inject internal constructor(
|
|||
} else {
|
||||
mediaSources[mediaSourceIndex]
|
||||
}
|
||||
val externalSubtitles = if (mediaSource.type == FindroidSourceType.LOCAL) {
|
||||
val externalSubtitles = if (mediaSource.type.toString() == "LOCAL" ) {
|
||||
mediaSource.mediaStreams
|
||||
.filter { mediaStream ->
|
||||
mediaStream.type == MediaStreamType.SUBTITLE && !mediaStream.path.isNullOrBlank()
|
||||
|
|
Loading…
Reference in a new issue