Removed single episode rename button

Fix: while renaming series/seasons a single failure no longer stops the whole process
Fix: much better notification during batch rename
This commit is contained in:
kay.one 2012-02-24 18:01:53 -08:00
parent 4e49ceb640
commit 3b18c9f621
12 changed files with 55 additions and 129 deletions

View file

@ -1,4 +1,5 @@
using System.Web.Mvc;
using System;
using System.Web.Mvc;
using NzbDrone.Core.Jobs;
using NzbDrone.Web.Models;
@ -33,12 +34,6 @@ namespace NzbDrone.Web.Controllers
return JsonNotificationResult.Info("Queued");
}
public JsonResult Rename(int episodeFileId)
{
_jobProvider.QueueJob(typeof(RenameEpisodeJob), episodeFileId);
return JsonNotificationResult.Info("Queued");
}
public JsonResult RenameSeason(int seriesId, int seasonNumber)
{
_jobProvider.QueueJob(typeof(RenameSeasonJob), seriesId, seasonNumber);