mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-22 22:14:44 -04:00
Added support for tvmaze.
This commit is contained in:
@@ -20,6 +20,7 @@ namespace NzbDrone.Core.MetadataSource.SkyHook.Resource
|
||||
public string Slug { get; set; }
|
||||
public string FirstAired { get; set; }
|
||||
public int? TvRageId { get; set; }
|
||||
public int? TvMazeId { get; set; }
|
||||
|
||||
public string Status { get; set; }
|
||||
public int? Runtime { get; set; }
|
||||
|
||||
@@ -110,6 +110,11 @@ namespace NzbDrone.Core.MetadataSource.SkyHook
|
||||
series.TvRageId = show.TvRageId.Value;
|
||||
}
|
||||
|
||||
if (show.TvMazeId.HasValue)
|
||||
{
|
||||
series.TvMazeId = show.TvMazeId.Value;
|
||||
}
|
||||
|
||||
series.ImdbId = show.ImdbId;
|
||||
series.Title = show.Title;
|
||||
series.CleanTitle = Parser.Parser.CleanSeriesTitle(show.Title);
|
||||
|
||||
Reference in New Issue
Block a user