moved logic for reading static file to mappers

This commit is contained in:
kay.one 2013-08-19 23:23:36 -07:00
commit 9f0ae763ff
20 changed files with 144 additions and 209 deletions

View file

@ -10,7 +10,7 @@ namespace NzbDrone.Core.DataAugmentation.Scene
{
public interface ISceneMappingService
{
string GetSceneName(int tvdbId, int seasonNumber = -1);
string GetSceneName(int tvdbId);
Nullable<int> GetTvDbId(string cleanName);
}
@ -35,7 +35,7 @@ namespace NzbDrone.Core.DataAugmentation.Scene
_logger = logger;
}
public string GetSceneName(int tvdbId, int seasonNumber = -1)
public string GetSceneName(int tvdbId)
{
var mapping = _getSceneNameCache.Find(tvdbId.ToString());