fixed Kickassanime, Kuramanime and added duration in SoraStream

This commit is contained in:
hexated 2023-02-04 14:44:26 +07:00
parent c4a5dfe065
commit 4e68bcf923
5 changed files with 13 additions and 8 deletions

View file

@ -310,6 +310,7 @@ open class SoraStream : TmdbProvider() {
this.backgroundPosterUrl = bgPoster
this.year = year
this.plot = res.overview
this.duration = res.runtime
this.tags = if (isAnime) keywords else genres
this.rating = rating
this.recommendations = recommendations
@ -724,6 +725,7 @@ open class SoraStream : TmdbProvider() {
@JsonProperty("release_date") val releaseDate: String? = null,
@JsonProperty("first_air_date") val firstAirDate: String? = null,
@JsonProperty("overview") val overview: String? = null,
@JsonProperty("runtime") val runtime: Int? = null,
@JsonProperty("vote_average") val vote_average: Any? = null,
@JsonProperty("original_language") val original_language: String? = null,
@JsonProperty("status") val status: String? = null,