1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-28 23:16:32 -04:00

New: Add Original Country information

Closes #5143
This commit is contained in:
Mark McDowall
2026-02-22 20:27:21 -08:00
parent 965b6144e3
commit da6340e421
27 changed files with 487 additions and 140 deletions
@@ -47,6 +47,7 @@ public class SeriesResource : RestResource
public string? Folder { get; set; }
public string? Certification { get; set; }
public List<string>? Genres { get; set; }
public string? OriginalCountry { get; set; }
public HashSet<int>? Tags { get; set; }
public DateTime Added { get; set; }
public AddSeriesOptions? AddOptions { get; set; }
@@ -71,6 +72,7 @@ public static class SeriesResourceMapper
Images = model.Images.JsonClone(),
Seasons = model.Seasons.ToResource(includeSeasonImages),
Year = model.Year,
OriginalCountry = model.OriginalCountry,
OriginalLanguage = model.OriginalLanguage,
Path = model.Path,
QualityProfileId = model.QualityProfileId,