Enhance show management: add OriginalName property to ShowSummaryDto, update ListShowsQueryHandler to include OriginalName, and improve upload functionality by allowing auto-detection of shows based on file names. Update translations for better user guidance on show detection.

This commit is contained in:
Leonid Pershin
2026-07-25 18:54:43 +03:00
parent 8718e8b6bf
commit 9cefc6a198
7 changed files with 113 additions and 31 deletions
@@ -35,6 +35,7 @@ public sealed class ListShowsQueryHandler(IAppDbContext dbContext)
return new ShowSummaryDto(
s.Id,
s.Name,
s.OriginalName,
s.Kind,
s.Episodes.Count,
seasons,
@@ -6,6 +6,7 @@ namespace TeleWave.Application.Library;
public sealed record ShowSummaryDto(
Guid Id,
string Name,
string? OriginalName,
ShowKind Kind,
int EpisodeCount,
int SeasonCount,