sora: support content ratings

#441
This commit is contained in:
Luna712 2023-12-09 11:31:12 -07:00 committed by GitHub
parent 96c8017fe8
commit 0889ed3880
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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)