Add Existing Series works, UI shows TVDB Name and Path so you can check before adding to DB.

This commit is contained in:
markus101
2011-03-09 23:49:59 -08:00
parent 64a1b2d28d
commit 48b89abfeb
14 changed files with 216 additions and 50 deletions

View File

@@ -9,5 +9,7 @@ namespace NzbDrone.Web.Models
{
public bool IsWanted { get; set; }
public string Path { get; set; }
public int TvDbId { get; set; }
public string TvDbName { get; set; }
}
}

View File

@@ -7,16 +7,12 @@ using System.Web;
namespace NzbDrone.Web.Models
{
public class AddSeriesModel
public class AddNewSeriesModel
{
[Required(ErrorMessage = "Please enter a series name")]
[DataType(DataType.Text)]
[DisplayName("Single Series Path")]
[DisplayFormat(ConvertEmptyStringToNull = false)]
public string SingleSeries { get; set; }
[DataType(DataType.Text)]
[DisplayName("Series Root Path")]
[DisplayFormat(ConvertEmptyStringToNull = false)]
public string SeriesRoot { get; set; }
public string SeriesName { get; set; }
}
}