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:
2026-07-16 01:15:36 +02:00
parent a6f976a065
commit 6d73fe88ab
8 changed files with 869 additions and 16 deletions
+3
View File
@@ -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; }