mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
deleted some old files. updated some ui
This commit is contained in:
parent
386bc90ae4
commit
d310c06f2e
107 changed files with 446 additions and 664 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue