mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-15 16:20:03 +00:00
Fix metadata merging bug in GameService
This commit is contained in:
@@ -277,6 +277,7 @@ class GameService(
|
|||||||
mergedGame.images = runBlocking {
|
mergedGame.images = runBlocking {
|
||||||
screenshotUrls.map { Image(originalUrl = it.toURL(), type = ImageType.SCREENSHOT) }.toSet()
|
screenshotUrls.map { Image(originalUrl = it.toURL(), type = ImageType.SCREENSHOT) }.toSet()
|
||||||
}
|
}
|
||||||
|
metadataMap["images"] = FieldMetadata(sourcePlugin)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
metadata.videoUrls?.takeIf { it.isNotEmpty() }?.let { videoUrls ->
|
metadata.videoUrls?.takeIf { it.isNotEmpty() }?.let { videoUrls ->
|
||||||
|
|||||||
Reference in New Issue
Block a user