Adds playlist management and playback

This commit is contained in:
BinaryAlley committed 2026-10-21 16:30:58 +03:00
1 parent 009a0c8156
commit 9889c86c76
296 files changed
+18830 -367

No files matched your search

@@ -9,35 +9,17 @@ namespace Lumina.Application.Common.DTO.MediaLibrary.AudioLibrary.MusicLibrary.A
/// <summary>
/// Lightweight read model of an album, containing only the fields needed to display the album in a card-based grid or a list.
/// </summary>
public sealed record AlbumLiteRow
{
/// <summary>
/// Gets the Id of the album.
/// </summary>
public required Guid Id { get; init; }
/// <summary>
/// Gets the title of the album.
/// </summary>
public required string Title { get; init; }
/// <summary>
/// Gets the number of tracks of the release.
/// </summary>
public int TotalTracks { get; init; }
/// <summary>
/// Gets the path of the image representing the album, if available.
/// </summary>
public string? CoverPath { get; init; }
/// <summary>
/// Gets the release year of the album (the re-release year, if available, or the original release year), if known.
/// </summary>
public int? ReleaseYear { get; init; }
/// <summary>
/// Gets the set of types of the release.
/// </summary>
public List<MusicReleaseType>? ReleaseTypes { get; init; }
}
/// <param name="Id">The Id of the album.</param>
/// <param name="Title">The title of the album.</param>
/// <param name="TotalTracks">The number of tracks of the release.</param>
/// <param name="CoverPath">The path of the image representing the album, if available.</param>
/// <param name="ReleaseYear">The release year of the album (the re-release year, if available, or the original release year), if known.</param>
/// <param name="ReleaseTypes">The set of types of the release.</param>
public sealed record AlbumLiteRow(
Guid Id,
string Title,
int TotalTracks,
string? CoverPath,
int? ReleaseYear,
List<MusicReleaseType>? ReleaseTypes
);