mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-18 21:35:27 -04: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:
committed by
Mark McDowall
parent
81ac73299a
commit
04f8595498
@@ -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
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user