From b92fc94c42695a4b5df4a2bb54c5857ce2a56921 Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 12 Jan 2024 14:27:43 +0700 Subject: [PATCH] update --- SoraStream/src/main/kotlin/com/hexated/SoraStream.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SoraStream/src/main/kotlin/com/hexated/SoraStream.kt b/SoraStream/src/main/kotlin/com/hexated/SoraStream.kt index 64e37094..7f37edeb 100644 --- a/SoraStream/src/main/kotlin/com/hexated/SoraStream.kt +++ b/SoraStream/src/main/kotlin/com/hexated/SoraStream.kt @@ -302,7 +302,7 @@ open class SoraStream : TmdbProvider() { this.backgroundPosterUrl = bgPoster this.year = year this.plot = res.overview - this.tags = keywords ?: genres + this.tags = keywords.takeIf { !it.isNullOrEmpty() } ?: genres this.rating = rating this.showStatus = getStatus(res.status) this.recommendations = recommendations @@ -339,7 +339,7 @@ open class SoraStream : TmdbProvider() { this.year = year this.plot = res.overview this.duration = res.runtime - this.tags = keywords ?: genres + this.tags = keywords.takeIf { !it.isNullOrEmpty() } ?: genres this.rating = rating this.recommendations = recommendations this.actors = actors