This commit is contained in:
Cloudburst 2022-08-09 17:32:25 +02:00 committed by GitHub
parent 8863cdf57c
commit 9176ce91b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -18,5 +18,5 @@ cloudstream {
status = 1 // will be 3 if unspecified status = 1 // will be 3 if unspecified
// Set to true to get an 18+ symbol next to the plugin // Set to true to get an 18+ symbol next to the plugin
isAdult = false // will be false if unspecified adult = false // will be false if unspecified
} }

View file

@ -4,7 +4,7 @@ import com.lagradost.cloudstream3.TvType
import com.lagradost.cloudstream3.MainAPI import com.lagradost.cloudstream3.MainAPI
import com.lagradost.cloudstream3.SearchResponse import com.lagradost.cloudstream3.SearchResponse
class ExampleProvider : MainAPI() { // all providers must be an intstance of MainAPI class ExampleProvider : MainAPI() { // all providers must be an instance of MainAPI
override var mainUrl = "https://example.com/" override var mainUrl = "https://example.com/"
override var name = "Example provider" override var name = "Example provider"
override val supportedTypes = setOf(TvType.Movie) override val supportedTypes = setOf(TvType.Movie)
@ -18,6 +18,4 @@ class ExampleProvider : MainAPI() { // all providers must be an intstance of Mai
override suspend fun search(query: String): List<SearchResponse> { override suspend fun search(query: String): List<SearchResponse> {
return listOf<SearchResponse>() return listOf<SearchResponse>()
} }
} }