mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 04:21:27 +02:00
Force Refresh added to Series Editor
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
Reference in New Issue
Block a user