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,6 +2,7 @@ namespace NzbDrone.Core.ImportLists.Custom
|
||||||
{
|
{
|
||||||
public class CustomSeries
|
public class CustomSeries
|
||||||
{
|
{
|
||||||
|
public string Title { get; set; }
|
||||||
public int TvdbId { get; set; }
|
public int TvdbId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,6 +43,7 @@ namespace NzbDrone.Core.ImportLists.Custom
|
||||||
{
|
{
|
||||||
series.Add(new ImportListItemInfo
|
series.Add(new ImportListItemInfo
|
||||||
{
|
{
|
||||||
|
Title = item.Title.IsNullOrWhiteSpace() ? $"TvdbId: {item.TvdbId}" : item.Title,
|
||||||
TvdbId = item.TvdbId
|
TvdbId = item.TvdbId
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue