mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-02 06:01:10 +00:00
Adds play and shuffle actions to music library, artist, and album cards. Adds the library play context and the uniform shuffle endpoint. Expands the player bar with queue covers, now playing details, and release type. Updates the bundled themes, API documentation, and the user manual.
28 lines
1.2 KiB
C#
28 lines
1.2 KiB
C#
#region ========================================================================= USING =====================================================================================
|
|
using System;
|
|
using System.Diagnostics;
|
|
#endregion
|
|
|
|
namespace Lumina.Contracts.Responses.MediaLibrary.AudioLibrary.MusicLibrary.Tracks;
|
|
|
|
/// <summary>
|
|
/// Represents a response for a track returned by a randomized shuffle query, carrying everything the client needs to queue and play it.
|
|
/// </summary>
|
|
/// <param name="TrackId">The Id of the track.</param>
|
|
/// <param name="Title">The title of the track.</param>
|
|
/// <param name="DurationInSeconds">The duration of the track in seconds.</param>
|
|
/// <param name="AlbumId">The Id of the album the track belongs to.</param>
|
|
/// <param name="AlbumTitle">The title of the album the track belongs to.</param>
|
|
/// <param name="ArtistId">The Id of the artist the album belongs to.</param>
|
|
/// <param name="CoverPath">The path of the cover of the album, if available.</param>
|
|
[DebuggerDisplay("Title: {Title}")]
|
|
public record ShuffleTrackResponse(
|
|
Guid TrackId,
|
|
string Title,
|
|
int DurationInSeconds,
|
|
Guid AlbumId,
|
|
string AlbumTitle,
|
|
Guid ArtistId,
|
|
string? CoverPath
|
|
);
|