mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
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:
parent
4e49ceb640
commit
3b18c9f621
12 changed files with 55 additions and 129 deletions
|
@ -36,23 +36,15 @@ namespace NzbDrone.Core.Jobs
|
|||
|
||||
private void DeleteSeries(ProgressNotification notification, int seriesId)
|
||||
{
|
||||
Logger.Warn("Deleting Series [{0}]", seriesId);
|
||||
Logger.Trace("Deleting Series [{0}]", seriesId);
|
||||
|
||||
try
|
||||
{
|
||||
var title = _seriesProvider.GetSeries(seriesId).Title;
|
||||
var title = _seriesProvider.GetSeries(seriesId).Title;
|
||||
|
||||
notification.CurrentMessage = String.Format("Deleting '{0}' from database", title);
|
||||
notification.CurrentMessage = String.Format("Deleting '{0}' from database", title);
|
||||
|
||||
_seriesProvider.DeleteSeries(seriesId);
|
||||
_seriesProvider.DeleteSeries(seriesId);
|
||||
|
||||
notification.CurrentMessage = String.Format("Successfully deleted '{0}' from database", title);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Logger.ErrorException("An error has occurred while deleting series: " + seriesId, e);
|
||||
throw;
|
||||
}
|
||||
notification.CurrentMessage = String.Format("Successfully deleted '{0}' from database", title);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue