Merge remote-tracking branch 'origin/master'

This commit is contained in:
hexated 2023-04-05 17:13:10 +07:00
commit 511ee5febe

View file

@ -28,7 +28,7 @@ class StremioC : MainAPI() {
mainUrl = mainUrl.fixSourceUrl()
val res = tryParseJson<Manifest>(app.get("${mainUrl}/manifest.json").text) ?: return null
val lists = mutableListOf<HomePageList>()
res.catalogs.forEach { catalog ->
res.catalogs.apmap { catalog ->
catalog.toHomePageList(this)?.let {
if (it.list.isNotEmpty()) lists.add(it)
}
@ -362,4 +362,4 @@ class StremioC : MainAPI() {
}
}
}
}
}