Skip to content
This repository was archived by the owner on Oct 2, 2022. It is now read-only.

Commit e47b081

Browse files
committed
[Feature] Add SuperStream provider
1 parent 5c5caf7 commit e47b081

2 files changed

Lines changed: 669 additions & 1 deletion

File tree

app/src/main/java/com/lagradost/cloudstream3/MainAPI.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ object APIHolder {
110110
PhimmoichillProvider(),
111111
HDrezkaProvider(),
112112
YomoviesProvider(),
113+
SuperStream(),
113114

114115

115116
// Metadata providers
@@ -181,6 +182,10 @@ object APIHolder {
181182
apiMap = null
182183
}
183184

185+
fun String.capitalize(): String {
186+
return this.replaceFirstChar { if (it.isLowerCase()) it.titlecase(Locale.getDefault()) else it.toString() }
187+
}
188+
184189
var apis: List<MainAPI> = arrayListOf()
185190
var apiMap: Map<String, Int>? = null
186191

@@ -1005,7 +1010,7 @@ data class MovieSearchResponse(
10051010
override var type: TvType? = null,
10061011

10071012
override var posterUrl: String? = null,
1008-
val year: Int? = null,
1013+
var year: Int? = null,
10091014
override var id: Int? = null,
10101015
override var quality: SearchQuality? = null,
10111016
override var posterHeaders: Map<String, String>? = null,

0 commit comments

Comments
 (0)