From 842a73f6d1bae0b4d53f8a2b1fe5351679c11c69 Mon Sep 17 00:00:00 2001 From: Osten <11805592+LagradOst@users.noreply.github.com> Date: Thu, 1 Sep 2022 18:09:04 +0200 Subject: [PATCH] added rec on superstream --- SuperStream/src/main/kotlin/com/lagradost/SuperStream.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SuperStream/src/main/kotlin/com/lagradost/SuperStream.kt b/SuperStream/src/main/kotlin/com/lagradost/SuperStream.kt index b1041a8..ab31b2c 100644 --- a/SuperStream/src/main/kotlin/com/lagradost/SuperStream.kt +++ b/SuperStream/src/main/kotlin/com/lagradost/SuperStream.kt @@ -307,6 +307,7 @@ class SuperStream : MainAPI() { @JsonProperty("trailer_url") val trailerUrl: String? = null, @JsonProperty("imdb_link") val imdbLink: String? = null, @JsonProperty("box_type") val boxType: Int? = null, + @JsonProperty("recommend") val recommend: List = listOf(), ) private data class MovieDataProp( @@ -469,6 +470,7 @@ class SuperStream : MainAPI() { null ), ) { + this.recommendations = data.recommend.mapNotNull { it.toSearchResponse() } this.posterUrl = data.posterOrg ?: data.poster this.year = data.year this.plot = data.description