Matching TvRage to TvDb

#ND-15 In Progress
This commit is contained in:
Mark McDowall
2012-12-19 08:41:51 -08:00
parent f00b17ac47
commit 253426873c
17 changed files with 753 additions and 7 deletions

View File

@@ -99,5 +99,15 @@ namespace NzbDrone.Core.Providers
return false;
}
public virtual string GetCleanName(int seriesId)
{
var item = _database.FirstOrDefault<SceneMapping>("WHERE SeriesId = @0", seriesId);
if (item == null)
return null;
return item.CleanTitle;
}
}
}