From 4af99964f0c39b320af41da984f9d127acb63cf9 Mon Sep 17 00:00:00 2001 From: Luna712 <142361265+Luna712@users.noreply.github.com> Date: Sat, 9 Dec 2023 13:01:24 -0700 Subject: [PATCH] sora: support content ratings (#442) #441 --- SoraStream/src/main/kotlin/com/hexated/SoraStream.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SoraStream/src/main/kotlin/com/hexated/SoraStream.kt b/SoraStream/src/main/kotlin/com/hexated/SoraStream.kt index 68b209e82..2167135f9 100644 --- a/SoraStream/src/main/kotlin/com/hexated/SoraStream.kt +++ b/SoraStream/src/main/kotlin/com/hexated/SoraStream.kt @@ -300,6 +300,7 @@ open class SoraStream : TmdbProvider() { this.showStatus = getStatus(res.status) this.recommendations = recommendations this.actors = actors + this.contentRating = fetchContentRating(data.id, "US") addTrailer(trailer) addTMDbId(data.id.toString()) addImdbId(res.external_ids?.imdb_id) @@ -334,6 +335,7 @@ open class SoraStream : TmdbProvider() { this.rating = rating this.recommendations = recommendations this.actors = actors + this.contentRating = fetchContentRating(data.id, "US") addTrailer(trailer) addTMDbId(data.id.toString()) addImdbId(res.external_ids?.imdb_id)