mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
added random trailer into Sora
This commit is contained in:
parent
aa6ed888c0
commit
bb3f40ab1a
1 changed files with 1 additions and 1 deletions
|
@ -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}" }?.first()
|
||||
val trailer = responses.result.videos?.results?.map { "https://www.youtube.com/watch?v=${it.key}" }?.random()
|
||||
|
||||
return if (type == TvType.TvSeries) {
|
||||
val episodes = mutableListOf<Episode>()
|
||||
|
|
Loading…
Reference in a new issue