mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-04-22 21:37:12 -04:00
New: Support TMDb and IMDB IDs in Custom Import Lists
This commit is contained in:
parent
33da537a63
commit
5cebec6ae4
2 changed files with 5 additions and 1 deletions
|
@ -4,5 +4,7 @@ namespace NzbDrone.Core.ImportLists.Custom
|
|||
{
|
||||
public string Title { get; set; }
|
||||
public int TvdbId { get; set; }
|
||||
public int TmdbId { get; set; }
|
||||
public string ImdbId { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -44,7 +44,9 @@ namespace NzbDrone.Core.ImportLists.Custom
|
|||
series.Add(new ImportListItemInfo
|
||||
{
|
||||
Title = item.Title.IsNullOrWhiteSpace() ? $"TvdbId: {item.TvdbId}" : item.Title,
|
||||
TvdbId = item.TvdbId
|
||||
TvdbId = item.TvdbId,
|
||||
TmdbId = item.TmdbId,
|
||||
ImdbId = item.ImdbId
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue