|
|
@ -117,6 +117,8 @@ namespace NzbDrone.Core.Providers
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public virtual Series FindSeries(string title)
|
|
|
|
public virtual Series FindSeries(string title)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
try
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var normalizeTitle = Parser.NormalizeTitle(title);
|
|
|
|
var normalizeTitle = Parser.NormalizeTitle(title);
|
|
|
|
|
|
|
|
|
|
|
@ -133,6 +135,14 @@ namespace NzbDrone.Core.Providers
|
|
|
|
return series;
|
|
|
|
return series;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//This will catch InvalidOperationExceptions that may be thrown for GetSeries due to the series being in SceneMapping, but not in the users Database
|
|
|
|
|
|
|
|
catch (InvalidOperationException ex)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Logger.DebugException(ex.Message, ex);
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public virtual void UpdateSeries(Series series)
|
|
|
|
public virtual void UpdateSeries(Series series)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_database.Update(series);
|
|
|
|
_database.Update(series);
|
|
|
|