mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
try fixing build
This commit is contained in:
parent
b6ee928275
commit
5033ff7fa6
1 changed files with 40 additions and 40 deletions
|
@ -334,46 +334,46 @@ open class SoraStream : TmdbProvider() {
|
||||||
}
|
}
|
||||||
|
|
||||||
argamap(
|
argamap(
|
||||||
// {
|
{
|
||||||
// invokeSoraVIP(
|
invokeSoraVIP(
|
||||||
// res.title,
|
res.title,
|
||||||
// res.orgTitle,
|
res.orgTitle,
|
||||||
// res.year,
|
res.year,
|
||||||
// res.season,
|
res.season,
|
||||||
// res.episode,
|
res.episode,
|
||||||
// subtitleCallback,
|
subtitleCallback,
|
||||||
// callback
|
callback
|
||||||
// )
|
)
|
||||||
// },
|
},
|
||||||
// {
|
{
|
||||||
// val json = app.get(
|
val json = app.get(
|
||||||
// query,
|
query,
|
||||||
// referer = referer,
|
referer = referer,
|
||||||
// headers = mapOf("User-Agent" to getRandomUserAgent())
|
headers = mapOf("User-Agent" to getRandomUserAgent())
|
||||||
// ).parsedSafe<LoadLinks>()
|
).parsedSafe<LoadLinks>()
|
||||||
//
|
|
||||||
// json?.sources?.map { source ->
|
json?.sources?.map { source ->
|
||||||
// callback.invoke(
|
callback.invoke(
|
||||||
// ExtractorLink(
|
ExtractorLink(
|
||||||
// this.name,
|
this.name,
|
||||||
// this.name,
|
this.name,
|
||||||
// source.url ?: return@map null,
|
source.url ?: return@map null,
|
||||||
// "$mainServerAPI/",
|
"$mainServerAPI/",
|
||||||
// source.quality?.toIntOrNull() ?: Qualities.Unknown.value,
|
source.quality?.toIntOrNull() ?: Qualities.Unknown.value,
|
||||||
// isM3u8 = source.isM3U8,
|
isM3u8 = source.isM3U8,
|
||||||
// headers = mapOf("Origin" to mainServerAPI)
|
headers = mapOf("Origin" to mainServerAPI)
|
||||||
// )
|
)
|
||||||
// )
|
)
|
||||||
// }
|
}
|
||||||
// json?.subtitles?.map { sub ->
|
json?.subtitles?.map { sub ->
|
||||||
// subtitleCallback.invoke(
|
subtitleCallback.invoke(
|
||||||
// SubtitleFile(
|
SubtitleFile(
|
||||||
// getLanguage(sub.lang.toString()),
|
getLanguage(sub.lang.toString()),
|
||||||
// sub.url ?: return@map null
|
sub.url ?: return@map null
|
||||||
// )
|
)
|
||||||
// )
|
)
|
||||||
// }
|
}
|
||||||
// },
|
},
|
||||||
{
|
{
|
||||||
invokeTwoEmbed(res.id, res.season, res.episode, subtitleCallback, callback)
|
invokeTwoEmbed(res.id, res.season, res.episode, subtitleCallback, callback)
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue