Add metadata management for shows: implement metadata retrieval, application, and updates in the API and UI. Enhance Show and ShowDto models to include metadata fields, and update the database schema accordingly. Introduce new endpoints for metadata operations and integrate metadata display in the ShowDetail component.

This commit is contained in:
Leonid Pershin committed 2026-07-25 09:07:55 +03:00
1 parent ba023bc416
commit 0d2dee815e
42 files changed
+2271 -4

No files matched your search

@@ -45,7 +45,17 @@ public sealed class GetShowQueryHandler(IAppDbContext dbContext)
.ToList();
return Result.Success(
new ShowDto(show.Id, show.Name, show.Kind, show.Description, episodeDtos)
new ShowDto(
show.Id,
show.Name,
show.Kind,
show.Description,
show.MetadataProvider,
show.MetadataExternalId,
show.Year,
show.PosterPath is not null,
episodeDtos
)
);
}
}