deleted some old files. updated some ui

This commit is contained in:
kay.one 2011-03-30 18:42:27 -07:00
commit d310c06f2e
107 changed files with 446 additions and 664 deletions

View file

@ -25,13 +25,13 @@ namespace NzbDrone.Web.Controllers
public ActionResult ProcessEpisode(string apiKey, string dir, string nzbName, string category)
{
if (apiKey != _configProvider.GetValue("ApiKey", String.Empty, true))
if (apiKey != _configProvider.ApiKey)
{
Logger.Warn("API Key from Post Processing Script is Invalid");
return Content("Invalid API Key");
}
if (_configProvider.GetValue("SabTvCategory", String.Empty, true) == category)
if (_configProvider.SabTvCategory == category)
{
_postProcessingProvider.ProcessEpisode(dir, nzbName);
return Content("ok");