Enrich runtime on home as well
This commit is contained in:
parent
c8800f6252
commit
2e7bc818fc
2 changed files with 2 additions and 0 deletions
|
|
@ -539,6 +539,7 @@ class FolderDetailViewModel @Inject constructor(
|
|||
}
|
||||
if (tmdbSettings.useDetails) {
|
||||
result = result.copy(
|
||||
runtime = finalEnrichment.runtimeMinutes?.toString() ?: result.runtime,
|
||||
ageRating = finalEnrichment.ageRating ?: result.ageRating,
|
||||
status = finalEnrichment.status ?: result.status
|
||||
)
|
||||
|
|
|
|||
|
|
@ -551,6 +551,7 @@ private fun HomeViewModel.updateCatalogItemWithTmdb(itemId: String, enrichment:
|
|||
}
|
||||
if (currentTmdbSettings.useDetails) {
|
||||
merged = merged.copy(
|
||||
runtime = enrichment.runtimeMinutes?.toString() ?: merged.runtime,
|
||||
ageRating = enrichment.ageRating ?: merged.ageRating,
|
||||
status = enrichment.status ?: merged.status
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue