@@ -25,7 +25,6 @@ import com.lagradost.cloudstream3.addDate
2525import com.lagradost.cloudstream3.app
2626import com.lagradost.cloudstream3.isUpcoming
2727import com.lagradost.cloudstream3.mainPageOf
28- import com.lagradost.cloudstream3.mvvm.logError
2928import com.lagradost.cloudstream3.newEpisode
3029import com.lagradost.cloudstream3.newHomePageResponse
3130import com.lagradost.cloudstream3.newMovieLoadResponse
@@ -114,6 +113,7 @@ open class TraktProvider : MainAPI() {
114113
115114 val posterUrl = fixPath(mediaDetails?.images?.poster?.firstOrNull())
116115 val backDropUrl = fixPath(mediaDetails?.images?.fanart?.firstOrNull())
116+ val logoUrl = fixPath(mediaDetails?.images?.logo?.firstOrNull())
117117
118118 val resActor =
119119 getApi(" $traktApiUrl /$moviesOrShows /${mediaDetails?.ids?.trakt} /people?extended=full,images" )
@@ -183,6 +183,7 @@ open class TraktProvider : MainAPI() {
183183 this .comingSoon = isUpcoming(mediaDetails.released)
184184 // posterHeaders
185185 this .backgroundPosterUrl = backDropUrl
186+ this .logoUrl = logoUrl
186187 this .contentRating = mediaDetails.certification
187188 addTrailer(mediaDetails.trailer)
188189 addImdbId(mediaDetails.ids?.imdb)
@@ -273,6 +274,7 @@ open class TraktProvider : MainAPI() {
273274 // posterHeaders
274275 this .nextAiring = nextAir
275276 this .backgroundPosterUrl = backDropUrl
277+ this .logoUrl = logoUrl
276278 this .contentRating = mediaDetails.certification
277279 addTrailer(mediaDetails.trailer)
278280 addImdbId(mediaDetails.ids?.imdb)
0 commit comments