mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-02 00:34:37 +02: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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user