sora: support content ratings (#442)

#441
This commit is contained in:
Luna712 2023-12-09 13:01:24 -07:00 committed by GitHub
parent 9b05f65f2c
commit 4af99964f0
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)