mirror of
https://github.com/recloudstream/plugin-template.git
synced 2024-08-15 03:16:05 +00:00
update to recloudstream/gradle@7f27d97
This commit is contained in:
parent
8863cdf57c
commit
9176ce91b9
2 changed files with 2 additions and 4 deletions
|
@ -18,5 +18,5 @@ cloudstream {
|
|||
status = 1 // will be 3 if unspecified
|
||||
|
||||
// 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
|
||||
}
|
|
@ -4,7 +4,7 @@ import com.lagradost.cloudstream3.TvType
|
|||
import com.lagradost.cloudstream3.MainAPI
|
||||
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 name = "Example provider"
|
||||
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> {
|
||||
return listOf<SearchResponse>()
|
||||
}
|
||||
|
||||
|
||||
}
|
Loading…
Reference in a new issue