This commit is contained in:
bskjon 2025-02-24 01:17:04 +01:00
parent a1b91eefc0
commit b8737fb687
2 changed files with 5 additions and 1 deletions

View File

@ -87,7 +87,10 @@ class CompletedTaskListener : CoordinatorEventListener() {
return null return null
} }
val proper = mediaInfo?.data?.toValueObject() ?: return null val proper = mediaInfo?.data?.toValueObject() ?: run {
log.error { "Unable to get media object from data" }
return null
}
val details = VideoDetails( val details = VideoDetails(
type = proper.type, type = proper.type,

View File

@ -110,6 +110,7 @@ object ContentCatalogStore {
} }
private fun storeSerie(collection: String, videoDetails: VideoDetails) { private fun storeSerie(collection: String, videoDetails: VideoDetails) {
log.info { "Attempting to store $collection!" }
val serieInfo = videoDetails.serieInfo ?: run { val serieInfo = videoDetails.serieInfo ?: run {
log.error { "serieInfo in videoDetails is null!" } log.error { "serieInfo in videoDetails is null!" }
return return