mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-07-26 22:42:17 +00:00
Merge branch 'cmp-rewrite' of https://github.com/NuvioMedia/NuvioMobile into cmp-rewrite
This commit is contained in:
commit
e2215b64a4
1 changed files with 2 additions and 1 deletions
|
|
@ -647,7 +647,8 @@ object TmdbMetadataService {
|
|||
updated = updated.copy(
|
||||
name = enrichment.localizedTitle ?: updated.name,
|
||||
description = enrichment.description ?: updated.description,
|
||||
imdbRating = enrichment.rating?.formatRating() ?: updated.imdbRating,
|
||||
imdbRating = updated.imdbRating?.takeIf { it.isNotBlank() }
|
||||
?: enrichment.rating?.formatRating(),
|
||||
genres = enrichment.genres.ifEmpty { updated.genres },
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue