1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-21 22:05:38 -04:00

New: Add TMDB ID support

Closes #6866
This commit is contained in:
Stephan Sundermann
2024-06-18 05:38:41 +02:00
committed by GitHub
parent c331c8bd11
commit e1b937e8d5
26 changed files with 158 additions and 11 deletions
@@ -23,6 +23,7 @@ namespace NzbDrone.Core.MetadataSource.SkyHook.Resource
public string LastAired { get; set; }
public int? TvRageId { get; set; }
public int? TvMazeId { get; set; }
public int? TmdbId { get; set; }
public string Status { get; set; }
public int? Runtime { get; set; }
@@ -188,6 +188,11 @@ namespace NzbDrone.Core.MetadataSource.SkyHook
series.TvMazeId = show.TvMazeId.Value;
}
if (show.TmdbId.HasValue)
{
series.TmdbId = show.TmdbId.Value;
}
series.ImdbId = show.ImdbId;
series.Title = show.Title;
series.CleanTitle = Parser.Parser.CleanSeriesTitle(show.Title);