mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 18:57:39 -07:00
Fixed Parser (broke 103 naming convention, but it fixed more than it broke).
RssItemProcessingProvider - moved Title fix code to a better location (To ensure we actually want the episode(s) first). SceneNameHelper was bombing when trying to find a matching scene mapping when it didn't exist, changed Single to Find to resolve.
This commit is contained in:
parent
dc552ec873
commit
f07b305684
4 changed files with 15 additions and 8 deletions
|
@ -76,7 +76,7 @@ namespace NzbDrone.Core.Helpers
|
|||
|
||||
public static int FindByName(string cleanSeriesName)
|
||||
{
|
||||
var map = _sceneNameMappings.Single(s => Parser.NormalizeTitle(s.Name) == cleanSeriesName);
|
||||
var map = _sceneNameMappings.Find(s => Parser.NormalizeTitle(s.Name) == cleanSeriesName);
|
||||
|
||||
if (map == null)
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue