This commit is contained in:
Eddy 2022-11-05 21:11:02 +01:00
parent a4876050bc
commit 48aa60a2fb
1 changed files with 3 additions and 2 deletions

View File

@ -13,17 +13,18 @@ import com.lagradost.cloudstream3.ui.settings.SettingsAccount
@CloudstreamPlugin
class MacIPTVProviderPlugin : Plugin() {
val iptvboxApi = MacIptvAPI(0)
val tagsiptvboxApi = TagsMacIptvAPI(1)
val tagsiptvboxApi = TagsMacIptvAPI(1)
override fun load(context: Context) {
// All providers should be added in this manner. Please don't edit the providers list directly.
iptvboxApi.init()
tagsiptvboxApi.init()
registerMainAPI(MacIPTVProvider("fr"))
registerMainAPI(MacIPTVProvider("en"))
registerMainAPI(MacIPTVProvider("ar"))
ioSafe {
iptvboxApi.initialize()
tagsiptvboxApi.initialize()
tagsiptvboxApi.initialize()
}
}