mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
fixed sora detail & reduce loklok load in home
This commit is contained in:
parent
bb3f40ab1a
commit
7dd469be03
4 changed files with 5 additions and 5 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// use an integer for version numbers
|
||||
version = 13
|
||||
version = 14
|
||||
|
||||
|
||||
cloudstream {
|
||||
|
|
|
|||
|
|
@ -208,7 +208,7 @@ open class SoraStream : TmdbProvider() {
|
|||
val recommendations =
|
||||
responses.recommandations?.mapNotNull { media -> media.toSearchResponse() }
|
||||
|
||||
val trailer = responses.result.videos?.results?.map { "https://www.youtube.com/watch?v=${it.key}" }?.random()
|
||||
val trailer = responses.result.videos?.results?.map { "https://www.youtube.com/watch?v=${it.key}" }?.randomOrNull()
|
||||
|
||||
return if (type == TvType.TvSeries) {
|
||||
val episodes = mutableListOf<Episode>()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue