mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Converted jobs to dynamic
This commit is contained in:
parent
93402f4932
commit
a4dde81ceb
42 changed files with 166 additions and 170 deletions
|
@ -40,13 +40,13 @@ namespace NzbDrone.Core.Jobs
|
|||
get { return TimeSpan.FromDays(30); }
|
||||
}
|
||||
|
||||
public virtual void Start(ProgressNotification notification, int targetId, int secondaryTargetId)
|
||||
public virtual void Start(ProgressNotification notification, dynamic options)
|
||||
{
|
||||
Logger.Debug("Starting banner download job");
|
||||
|
||||
if (targetId > 0)
|
||||
if (options != null)
|
||||
{
|
||||
var series = _seriesProvider.GetSeries(targetId);
|
||||
var series = _seriesProvider.GetSeries(options.SeriesId);
|
||||
|
||||
if (series != null && !String.IsNullOrEmpty(series.BannerUrl))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue