fix init
This commit is contained in:
parent
a4876050bc
commit
48aa60a2fb
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue