musikr: indicate song name always known
This commit is contained in:
@@ -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?,
|
||||||
|
|||||||
Reference in New Issue
Block a user