mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
Manage multiple Tv Root Folders in Settings/General.
Start of AddExisting.
This commit is contained in:
parent
2e9dd7f1ff
commit
2871723bfe
21 changed files with 381 additions and 90 deletions
13
NzbDrone.Web/Models/AddExistingSeriesModel.cs
Normal file
13
NzbDrone.Web/Models/AddExistingSeriesModel.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace NzbDrone.Web.Models
|
||||
{
|
||||
public class AddExistingSeriesModel
|
||||
{
|
||||
public bool IsWanted { get; set; }
|
||||
public string Path { get; set; }
|
||||
}
|
||||
}
|
|
@ -10,22 +10,7 @@ namespace NzbDrone.Web.Models
|
|||
|
||||
public class SettingsModel
|
||||
{
|
||||
|
||||
[DataType(DataType.Text)]
|
||||
[Required(ErrorMessage = "Please enter a valid TV path")]
|
||||
[DisplayName("TV Folder")]
|
||||
public String TvFolder
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
[DataType(DataType.Text)]
|
||||
[DisplayName("Initial Quality")]
|
||||
public int Quality
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
[DisplayName("TV Series Root Folder(s)")]
|
||||
public List<RootDir> Directories { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue