mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
more tests fixed.
This commit is contained in:
parent
f9bb4178ed
commit
7c3c02ba60
8 changed files with 113 additions and 99 deletions
|
@ -53,8 +53,16 @@ namespace NzbDrone.Core.Parser
|
|||
|
||||
public Series GetSeries(string title)
|
||||
{
|
||||
var searchTitle = title;
|
||||
|
||||
var parseResult = Parser.ParseTitle(title);
|
||||
return _seriesService.FindByTitle(parseResult.SeriesTitle);
|
||||
|
||||
if (parseResult != null)
|
||||
{
|
||||
searchTitle = parseResult.SeriesTitle;
|
||||
}
|
||||
|
||||
return _seriesService.FindByTitle(searchTitle);
|
||||
}
|
||||
|
||||
public RemoteEpisode Map(ReportInfo indexerParseResult)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue