|
|
@ -44,7 +44,6 @@ namespace NzbDrone.Core.DataAugmentation.Scene
|
|
|
|
return mapping.SearchTerm;
|
|
|
|
return mapping.SearchTerm;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Nullable<Int32> GetTvDbId(string cleanName)
|
|
|
|
public Nullable<Int32> GetTvDbId(string cleanName)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var mapping = _gettvdbIdCache.Find(cleanName.CleanSeriesTitle());
|
|
|
|
var mapping = _gettvdbIdCache.Find(cleanName.CleanSeriesTitle());
|
|
|
@ -55,7 +54,6 @@ namespace NzbDrone.Core.DataAugmentation.Scene
|
|
|
|
return mapping.TvdbId;
|
|
|
|
return mapping.TvdbId;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void UpdateMappings()
|
|
|
|
private void UpdateMappings()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_logger.Info("Updating Scene mapping");
|
|
|
|
_logger.Info("Updating Scene mapping");
|
|
|
@ -74,7 +72,6 @@ namespace NzbDrone.Core.DataAugmentation.Scene
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
_repository.InsertMany(mappings);
|
|
|
|
_repository.InsertMany(mappings);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|