mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 18:57:39 -07:00
Full Season searching added (Single NZB). SearchProvider added to perform both Season and Episode searching, triggered via jobs.
Tests added for season searching.
This commit is contained in:
parent
07a4c94032
commit
485f618e02
18 changed files with 644 additions and 262 deletions
16
NzbDrone.Core/Model/Search/SearchModel.cs
Normal file
16
NzbDrone.Core/Model/Search/SearchModel.cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NzbDrone.Core.Model.Search
|
||||
{
|
||||
public class SearchModel
|
||||
{
|
||||
public string SeriesTitle { get; set; }
|
||||
public int EpisodeNumber { get; set; }
|
||||
public int SeasonNumber { get; set; }
|
||||
public DateTime AirDate { get; set; }
|
||||
public SearchType SearchType { get; set; }
|
||||
}
|
||||
}
|
14
NzbDrone.Core/Model/Search/SearchType.cs
Normal file
14
NzbDrone.Core/Model/Search/SearchType.cs
Normal file
|
@ -0,0 +1,14 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace NzbDrone.Core.Model.Search
|
||||
{
|
||||
public enum SearchType
|
||||
{
|
||||
EpisodeSearch = 0,
|
||||
DailySearch = 1,
|
||||
SeasonSearch = 2
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue