mirror of
https://github.com/Sonarr/Sonarr
synced 2026-04-27 23:51:31 +02: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 @@ public class CustomSeries
|
|||
{
|
||||
public string Title { get; set; }
|
||||
public int TvdbId { get; set; }
|
||||
public int TmdbId { get; set; }
|
||||
public string ImdbId { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,7 +44,9 @@ public override ImportListFetchResult Fetch()
|
|||
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…
Reference in a new issue