feat(backend): record listening history for YouTube playback
Playing a YouTube song now creates a lightweight track row (without queueing a download) and writes listening history; saving to a playlist queues the download via the new DownloadRequested flag.
This commit is contained in:
@@ -34,6 +34,9 @@ namespace Musify.Domain.Entities
|
||||
[MaxLength(16)]
|
||||
public string ExternalId { get; set; } = string.Empty;
|
||||
|
||||
[Required]
|
||||
public bool DownloadRequested { get; set; } = false;
|
||||
|
||||
[Required]
|
||||
[MaxLength(64)]
|
||||
public required string OriginalPictureName { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user