Custom Import List improvements

Fixed: Add placeholder title for Custom Import List title
New: Support 'title' property for Custom Import List
This commit is contained in:
Mark McDowall 2024-06-28 17:03:06 -07:00 committed by Mark McDowall
parent 81ac73299a
commit 04f8595498
2 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@ namespace NzbDrone.Core.ImportLists.Custom
{
public class CustomSeries
{
public string Title { get; set; }
public int TvdbId { get; set; }
}
}

View File

@ -43,6 +43,7 @@ namespace NzbDrone.Core.ImportLists.Custom
{
series.Add(new ImportListItemInfo
{
Title = item.Title.IsNullOrWhiteSpace() ? $"TvdbId: {item.TvdbId}" : item.Title,
TvdbId = item.TvdbId
});
}