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