mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
Fixed IInitializable registration
I tried to make it all happen in the same method as AutoRegisterImplementations, but it caused issues with BasicRepo.
This commit is contained in:
parent
28d4010c5c
commit
9ae21cf7a1
4 changed files with 22 additions and 7 deletions
|
@ -21,7 +21,6 @@ namespace NzbDrone.Core.MetadataSource
|
|||
return response.Data.Select(MapSeries).ToList();
|
||||
}
|
||||
|
||||
|
||||
public Series GetSeriesInfo(int tvDbSeriesId)
|
||||
{
|
||||
var client = BuildClient("show", "summary");
|
||||
|
@ -40,7 +39,6 @@ namespace NzbDrone.Core.MetadataSource
|
|||
return response.Data.seasons.SelectMany(c => c.episodes).Select(MapEpisode).ToList();
|
||||
}
|
||||
|
||||
|
||||
private static IRestClient BuildClient(string resource, string method)
|
||||
{
|
||||
return new RestClient(string.Format("http://api.trakt.tv/{0}/{1}.json/6fc98f83c6a02decd17eb7e13d00e89c", resource, method));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue