From 05a661d59b7f52c9529e347cf05a453b1268b1ca Mon Sep 17 00:00:00 2001
From: Jace <54625750+Jacekun@users.noreply.github.com>
Date: Fri, 19 Aug 2022 10:58:12 +0800
Subject: [PATCH] Removed example provider
---
ExampleProvider/build.gradle.kts | 24 -------------------
ExampleProvider/src/main/AndroidManifest.xml | 2 --
.../main/kotlin/com/example/ExamplePlugin.kt | 13 ----------
.../kotlin/com/example/ExampleProvider.kt | 21 ----------------
4 files changed, 60 deletions(-)
delete mode 100644 ExampleProvider/build.gradle.kts
delete mode 100644 ExampleProvider/src/main/AndroidManifest.xml
delete mode 100644 ExampleProvider/src/main/kotlin/com/example/ExamplePlugin.kt
delete mode 100644 ExampleProvider/src/main/kotlin/com/example/ExampleProvider.kt
diff --git a/ExampleProvider/build.gradle.kts b/ExampleProvider/build.gradle.kts
deleted file mode 100644
index 58645fe..0000000
--- a/ExampleProvider/build.gradle.kts
+++ /dev/null
@@ -1,24 +0,0 @@
-// use an integer for version numbers
-version = 1
-
-
-cloudstream {
- // All of these properties are optional, you can safely remove them
-
- description = "Lorem Ipsum"
- authors = listOf("Cloudburst")
-
- /**
- * Status int as the following:
- * 0: Down
- * 1: Ok
- * 2: Slow
- * 3: Beta only
- * */
- status = 1 // will be 3 if unspecified
-
- // List of video source types. Users are able to filter for extensions in a given category.
- // You can find a list of avaliable types here:
- // https://recloudstream.github.io/cloudstream/html/app/com.lagradost.cloudstream3/-tv-type/index.html
- tvTypes = listOf("Others")
-}
diff --git a/ExampleProvider/src/main/AndroidManifest.xml b/ExampleProvider/src/main/AndroidManifest.xml
deleted file mode 100644
index 1863f02..0000000
--- a/ExampleProvider/src/main/AndroidManifest.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/ExampleProvider/src/main/kotlin/com/example/ExamplePlugin.kt b/ExampleProvider/src/main/kotlin/com/example/ExamplePlugin.kt
deleted file mode 100644
index 8ddce48..0000000
--- a/ExampleProvider/src/main/kotlin/com/example/ExamplePlugin.kt
+++ /dev/null
@@ -1,13 +0,0 @@
-package com.example
-
-import com.lagradost.cloudstream3.plugins.CloudstreamPlugin
-import com.lagradost.cloudstream3.plugins.Plugin
-import android.content.Context
-
-@CloudstreamPlugin
-class TestPlugin: Plugin() {
- override fun load(context: Context) {
- // All providers should be added in this manner. Please don't edit the providers list directly.
- registerMainAPI(ExampleProvider())
- }
-}
\ 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
deleted file mode 100644
index e44a21b..0000000
--- a/ExampleProvider/src/main/kotlin/com/example/ExampleProvider.kt
+++ /dev/null
@@ -1,21 +0,0 @@
-package com.example
-
-import com.lagradost.cloudstream3.TvType
-import com.lagradost.cloudstream3.MainAPI
-import com.lagradost.cloudstream3.SearchResponse
-
-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)
-
- override var lang = "en"
-
- // enable this when your provider has a main page
- override val hasMainPage = true
-
- // this function gets called when you search for something
- override suspend fun search(query: String): List {
- return listOf()
- }
-}
\ No newline at end of file