mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
Converted jobs to dynamic
This commit is contained in:
parent
93402f4932
commit
a4dde81ceb
42 changed files with 166 additions and 170 deletions
|
@ -31,12 +31,12 @@ namespace NzbDrone.Core.Jobs
|
|||
get { return TimeSpan.FromTicks(0); }
|
||||
}
|
||||
|
||||
public virtual void Start(ProgressNotification notification, int targetId, int secondaryTargetId)
|
||||
public virtual void Start(ProgressNotification notification, dynamic options)
|
||||
{
|
||||
if (targetId <= 0)
|
||||
throw new ArgumentOutOfRangeException("targetId");
|
||||
if (options == null || options.EpisodeId <= 0)
|
||||
throw new ArgumentException("options");
|
||||
|
||||
_searchProvider.EpisodeSearch(notification, targetId);
|
||||
_searchProvider.EpisodeSearch(notification, options.EpisodeId);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue