Skip to content

Commit

Permalink
Allow missing parsed meta data.
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulWoitaschek committed Jul 16, 2022
1 parent c60eae6 commit 2daeb49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scanner/src/main/kotlin/voice/app/scanner/Metadata.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import kotlin.time.Duration.Companion.seconds

@Serializable
data class MetaDataScanResult(
val streams: List<MetaDataStream>,
val chapters: List<MetaDataChapter>,
val format: MetaDataFormat?
val streams: List<MetaDataStream> = emptyList(),
val chapters: List<MetaDataChapter> = emptyList(),
val format: MetaDataFormat? = null,
)

enum class TagType {
Expand Down

0 comments on commit 2daeb49

Please sign in to comment.