mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 00:53:57 -07:00
Force Refresh added to Series Editor
This commit is contained in:
parent
2982e79065
commit
9d5c942cbf
5 changed files with 136 additions and 21 deletions
|
@ -62,6 +62,16 @@ namespace NzbDrone.Web.Controllers
|
|||
{
|
||||
_jobProvider.QueueJob(typeof(UpdateInfoJob), seriesId);
|
||||
_jobProvider.QueueJob(typeof(DiskScanJob), seriesId);
|
||||
_jobProvider.QueueJob(typeof(RefreshEpisodeMetadata), seriesId);
|
||||
|
||||
return JsonNotificationResult.Queued("Episode update/Disk scan");
|
||||
}
|
||||
|
||||
public JsonResult ForceRefreshAll()
|
||||
{
|
||||
_jobProvider.QueueJob(typeof(UpdateInfoJob));
|
||||
_jobProvider.QueueJob(typeof(DiskScanJob));
|
||||
_jobProvider.QueueJob(typeof(RefreshEpisodeMetadata));
|
||||
|
||||
return JsonNotificationResult.Queued("Episode update/Disk scan");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue