From 9176ce91b9b1e6d5b4204049a916aea75a35d973 Mon Sep 17 00:00:00 2001 From: Cloudburst <18114966+C10udburst@users.noreply.github.com> Date: Tue, 9 Aug 2022 17:32:25 +0200 Subject: [PATCH] update to recloudstream/gradle@7f27d97 --- ExampleProvider/build.gradle.kts | 2 +- .../src/main/kotlin/com/example/ExampleProvider.kt | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) 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