mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-31 20:26:16 +00:00
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:
parent
81ac73299a
commit
04f8595498
2 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,7 @@ namespace NzbDrone.Core.ImportLists.Custom
|
|||
{
|
||||
public class CustomSeries
|
||||
{
|
||||
public string Title { get; set; }
|
||||
public int TvdbId { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue