mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
smol tweak to Update PlayerSubtitleHelper.kt
This commit is contained in:
parent
8b3180a9c5
commit
c4dce18a26
1 changed files with 4 additions and 3 deletions
|
@ -23,7 +23,7 @@ enum class SubtitleStatus {
|
|||
enum class SubtitleOrigin {
|
||||
URL,
|
||||
DOWNLOADED_FILE,
|
||||
EMBEDDED_IN_VIDEO
|
||||
EMBEDDED_IN_VIDEO,
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -95,6 +95,7 @@ class PlayerSubtitleHelper {
|
|||
return SubtitleStatus.NOT_FOUND
|
||||
}
|
||||
|
||||
@androidx.annotation.OptIn(androidx.media3.common.util.UnstableApi::class)
|
||||
fun setSubStyle(style: SaveCaptionStyle) {
|
||||
regexSubtitlesToRemoveBloat = style.removeBloat
|
||||
uppercaseSubtitles = style.upperCase
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue