mirror of
https://github.com/recloudstream/cloudstream-extensions-multilingual.git
synced 2024-08-15 03:15:14 +00:00
fix init
This commit is contained in:
parent
a4876050bc
commit
48aa60a2fb
1 changed files with 3 additions and 2 deletions
|
@ -13,17 +13,18 @@ import com.lagradost.cloudstream3.ui.settings.SettingsAccount
|
||||||
@CloudstreamPlugin
|
@CloudstreamPlugin
|
||||||
class MacIPTVProviderPlugin : Plugin() {
|
class MacIPTVProviderPlugin : Plugin() {
|
||||||
val iptvboxApi = MacIptvAPI(0)
|
val iptvboxApi = MacIptvAPI(0)
|
||||||
val tagsiptvboxApi = TagsMacIptvAPI(1)
|
val tagsiptvboxApi = TagsMacIptvAPI(1)
|
||||||
|
|
||||||
override fun load(context: Context) {
|
override fun load(context: Context) {
|
||||||
// All providers should be added in this manner. Please don't edit the providers list directly.
|
// All providers should be added in this manner. Please don't edit the providers list directly.
|
||||||
iptvboxApi.init()
|
iptvboxApi.init()
|
||||||
|
tagsiptvboxApi.init()
|
||||||
registerMainAPI(MacIPTVProvider("fr"))
|
registerMainAPI(MacIPTVProvider("fr"))
|
||||||
registerMainAPI(MacIPTVProvider("en"))
|
registerMainAPI(MacIPTVProvider("en"))
|
||||||
registerMainAPI(MacIPTVProvider("ar"))
|
registerMainAPI(MacIPTVProvider("ar"))
|
||||||
ioSafe {
|
ioSafe {
|
||||||
iptvboxApi.initialize()
|
iptvboxApi.initialize()
|
||||||
tagsiptvboxApi.initialize()
|
tagsiptvboxApi.initialize()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue