mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
updated some tests
This commit is contained in:
parent
7540890987
commit
020a7462c0
8 changed files with 42 additions and 6 deletions
|
@ -58,7 +58,7 @@ namespace NzbDrone.Core.Controllers
|
|||
|
||||
private void AddShow(string path)
|
||||
{
|
||||
List<TvdbSearchResult> searchResults = _tvDb.SearchSeries(new DirectoryInfo(path).Name);
|
||||
var searchResults = _tvDb.SearchSeries(new DirectoryInfo(path).Name);
|
||||
if (searchResults.Count != 0)
|
||||
{
|
||||
AddShow(path, _tvDb.GetSeries(searchResults[0].Id, searchResults[0].Language));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue