mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
moved logic for reading static file to mappers
This commit is contained in:
parent
290e072f2e
commit
9f0ae763ff
20 changed files with 144 additions and 209 deletions
|
@ -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());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue