mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Search Results grid added.
This commit is contained in:
parent
c83d8879a2
commit
4f005e45c0
12 changed files with 191 additions and 31 deletions
|
@ -192,7 +192,6 @@ namespace NzbDrone.Core.Providers.Indexer
|
|||
{
|
||||
parsedEpisode.NzbUrl = NzbDownloadUrl(item);
|
||||
parsedEpisode.Indexer = Name;
|
||||
parsedEpisode.OriginalString = item.Title.Text;
|
||||
result.Add(parsedEpisode);
|
||||
}
|
||||
}
|
||||
|
@ -237,6 +236,7 @@ namespace NzbDrone.Core.Providers.Indexer
|
|||
var title = TitlePreParser(item);
|
||||
|
||||
var episodeParseResult = Parser.ParseTitle(title);
|
||||
episodeParseResult.OriginalString = title;
|
||||
if (episodeParseResult != null) episodeParseResult.Age = DateTime.Now.Date.Subtract(item.PublishDate.Date).Days;
|
||||
|
||||
_logger.Trace("Parsed: {0} from: {1}", episodeParseResult, item.Title.Text);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue