updated some tests

This commit is contained in:
Keivan 2010-09-27 17:27:02 -07:00
commit 020a7462c0
8 changed files with 42 additions and 6 deletions

View file

@ -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));