musikr: indicate song name always known

This commit is contained in:
Alexander Capehart
2024-12-14 15:58:38 -05:00
parent b5657f0202
commit 31e092a649
2 changed files with 2 additions and 1 deletions
@@ -242,6 +242,7 @@ sealed interface MusicParent : Music {
* @author Alexander Capehart (OxygenCobalt)
*/
interface Song : Music {
override val name: Name.Known
/** The track number. Will be null if no valid track number was present in the metadata. */
val track: Int?
/** The [Disc] number. Will be null if no valid disc number was present in the metadata. */
@@ -34,7 +34,7 @@ import org.oxycblt.musikr.util.update
data class PreSong(
val musicBrainzId: UUID?,
val name: Name,
val name: Name.Known,
val rawName: String,
val track: Int?,
val disc: Disc?,