namespace octo_fiesta.Models.Subsonic;
///
/// Represents a playlist from an external music provider (Deezer, Qobuz).
///
public class ExternalPlaylist
{
///
/// Unique identifier in the format "pl-{provider}-{externalId}"
/// Example: "pl-deezer-123456" or "pl-qobuz-789"
///
public string Id { get; set; } = string.Empty;
///
/// Playlist name
///
public string Name { get; set; } = string.Empty;
///
/// Playlist description
///
public string? Description { get; set; }
///
/// Name of the playlist creator/curator
///
public string? CuratorName { get; set; }
///
/// Provider name ("deezer" or "qobuz")
///
public string Provider { get; set; } = string.Empty;
///
/// External ID from the provider (without "pl-" prefix)
///
public string ExternalId { get; set; } = string.Empty;
///
/// Number of tracks in the playlist
///
public int TrackCount { get; set; }
///
/// Total duration in seconds
///
public int Duration { get; set; }
///
/// Cover art URL from the provider
///
public string? CoverUrl { get; set; }
///
/// Playlist creation date
///
public DateTime? CreatedDate { get; set; }
}