diff --git a/ExampleProvider/build.gradle.kts b/ExampleProvider/build.gradle.kts index b34fa1a..62ee453 100644 --- a/ExampleProvider/build.gradle.kts +++ b/ExampleProvider/build.gradle.kts @@ -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 } \ No newline at end of file diff --git a/ExampleProvider/src/main/kotlin/com/example/ExampleProvider.kt b/ExampleProvider/src/main/kotlin/com/example/ExampleProvider.kt index e66aaa9..e44a21b 100644 --- a/ExampleProvider/src/main/kotlin/com/example/ExampleProvider.kt +++ b/ExampleProvider/src/main/kotlin/com/example/ExampleProvider.kt @@ -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 { return listOf() } - - } \ No newline at end of file