mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Episodes older than 14 days have their own priority
This commit is contained in:
parent
c12ea363d8
commit
98e94643fb
16 changed files with 164 additions and 66 deletions
|
@ -25,12 +25,15 @@ namespace NzbDrone.Core.Download.Clients
|
|||
_diskProvider = diskProvider;
|
||||
}
|
||||
|
||||
public virtual bool DownloadNzb(string url, string title)
|
||||
public virtual bool DownloadNzb(RemoteEpisode remoteEpisode)
|
||||
{
|
||||
var url = remoteEpisode.Report.NzbUrl;
|
||||
var title = remoteEpisode.Report.Title;
|
||||
|
||||
try
|
||||
{
|
||||
//Todo: Allow full season releases
|
||||
if (Parser.Parser.ParseTitle(title).FullSeason)
|
||||
if (remoteEpisode.ParsedEpisodeInfo.FullSeason)
|
||||
{
|
||||
logger.Info("Skipping Full Season Release: {0}", title);
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue