musikr: indicate song name always known
This commit is contained in:
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)
|
* @author Alexander Capehart (OxygenCobalt)
|
||||||
*/
|
*/
|
||||||
interface Song : Music {
|
interface Song : Music {
|
||||||
|
override val name: Name.Known
|
||||||
/** The track number. Will be null if no valid track number was present in the metadata. */
|
/** The track number. Will be null if no valid track number was present in the metadata. */
|
||||||
val track: Int?
|
val track: Int?
|
||||||
/** The [Disc] number. Will be null if no valid disc number was present in the metadata. */
|
/** 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(
|
data class PreSong(
|
||||||
val musicBrainzId: UUID?,
|
val musicBrainzId: UUID?,
|
||||||
val name: Name,
|
val name: Name.Known,
|
||||||
val rawName: String,
|
val rawName: String,
|
||||||
val track: Int?,
|
val track: Int?,
|
||||||
val disc: Disc?,
|
val disc: Disc?,
|
||||||
|
|
Loading…
Reference in a new issue