From aa4b5432eec55cbf886c0cf1706f85ccad0f19b9 Mon Sep 17 00:00:00 2001 From: LikDev-256 Date: Thu, 6 Oct 2022 21:49:50 +0530 Subject: [PATCH] Add TamilYogiProvider.kt for testing --- app/src/main/java/com/lagradost/cloudstream3/MainAPI.kt | 5 ++++- .../java/com/lagradost/cloudstream3/TamilYogiProvider.kt | 5 +---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/com/lagradost/cloudstream3/MainAPI.kt b/app/src/main/java/com/lagradost/cloudstream3/MainAPI.kt index 47afbc42..b59e097e 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/MainAPI.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/MainAPI.kt @@ -41,7 +41,10 @@ object APIHolder { private const val defProvider = 0 // ConcurrentModificationException is possible!!! - val allProviders: MutableList = arrayListOf() + //TamilYogiProvider() + val allProviders: MutableList = arrayListOf( + TamilYogiProvider() + ) fun initAll() { for (api in allProviders) { diff --git a/app/src/main/java/com/lagradost/cloudstream3/TamilYogiProvider.kt b/app/src/main/java/com/lagradost/cloudstream3/TamilYogiProvider.kt index 6ead76cb..a1a3157f 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/TamilYogiProvider.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/TamilYogiProvider.kt @@ -1,8 +1,5 @@ -package com.likdev256 +package com.lagradost.cloudstream3 -import com.lagradost.cloudstream3.* -import com.lagradost.cloudstream3.LoadResponse.Companion.addActors -import com.lagradost.cloudstream3.LoadResponse.Companion.addTrailer import com.lagradost.cloudstream3.mvvm.safeApiCall import com.lagradost.cloudstream3.utils.ExtractorLink import com.lagradost.cloudstream3.utils.loadExtractor