|
|
@ -52,7 +52,7 @@ namespace NzbDrone.Web.Controllers
|
|
|
|
ViewData["RootDirs"] = _rootFolderProvider.GetAll().Select(c => c.Path).OrderBy(e => e).ToList();
|
|
|
|
ViewData["RootDirs"] = _rootFolderProvider.GetAll().Select(c => c.Path).OrderBy(e => e).ToList();
|
|
|
|
|
|
|
|
|
|
|
|
var defaultQuality = _configProvider.DefaultQualityProfile;
|
|
|
|
var defaultQuality = _configProvider.DefaultQualityProfile;
|
|
|
|
var qualityProfiles = _qualityProvider.GetAllProfiles();
|
|
|
|
var qualityProfiles = _qualityProvider.All();
|
|
|
|
|
|
|
|
|
|
|
|
ViewData["qualityList"] = qualityProfiles;
|
|
|
|
ViewData["qualityList"] = qualityProfiles;
|
|
|
|
|
|
|
|
|
|
|
@ -69,7 +69,7 @@ namespace NzbDrone.Web.Controllers
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var rootDirs = _rootFolderProvider.GetAll();
|
|
|
|
var rootDirs = _rootFolderProvider.GetAll();
|
|
|
|
|
|
|
|
|
|
|
|
var profiles = _qualityProvider.GetAllProfiles();
|
|
|
|
var profiles = _qualityProvider.All();
|
|
|
|
var defaultQuality = Convert.ToInt32(_configProvider.DefaultQualityProfile);
|
|
|
|
var defaultQuality = Convert.ToInt32(_configProvider.DefaultQualityProfile);
|
|
|
|
var selectList = new SelectList(profiles, "QualityProfileId", "Name", defaultQuality);
|
|
|
|
var selectList = new SelectList(profiles, "QualityProfileId", "Name", defaultQuality);
|
|
|
|
ViewData["qualities"] = selectList;
|
|
|
|
ViewData["qualities"] = selectList;
|
|
|
@ -106,7 +106,7 @@ namespace NzbDrone.Web.Controllers
|
|
|
|
ViewData["javaPath"] = path.Replace(Path.DirectorySeparatorChar, '|').Replace(Path.VolumeSeparatorChar, '^').Replace('\'', '`');
|
|
|
|
ViewData["javaPath"] = path.Replace(Path.DirectorySeparatorChar, '|').Replace(Path.VolumeSeparatorChar, '^').Replace('\'', '`');
|
|
|
|
|
|
|
|
|
|
|
|
var defaultQuality = _configProvider.DefaultQualityProfile;
|
|
|
|
var defaultQuality = _configProvider.DefaultQualityProfile;
|
|
|
|
var qualityProfiles = _qualityProvider.GetAllProfiles();
|
|
|
|
var qualityProfiles = _qualityProvider.All();
|
|
|
|
|
|
|
|
|
|
|
|
ViewData["quality"] = new SelectList(
|
|
|
|
ViewData["quality"] = new SelectList(
|
|
|
|
qualityProfiles,
|
|
|
|
qualityProfiles,
|
|
|
|