fixed issue where tvdbepisodeid change would break episode update.

This commit is contained in:
Keivan Beigi 2013-07-05 15:54:42 -07:00
parent fc9dcb1084
commit f4ceb57b2b
2 changed files with 2 additions and 2 deletions

View File

@ -172,8 +172,8 @@ namespace NzbDrone.Core.Tv
} }
} }
_episodeService.InsertMany(newList);
_episodeService.UpdateMany(updateList); _episodeService.UpdateMany(updateList);
_episodeService.InsertMany(newList);
if (newList.Any()) if (newList.Any())
{ {

View File

@ -43,7 +43,7 @@ namespace NzbDrone.Core.Tv
public override string ToString() public override string ToString()
{ {
return string.Format("[{0}][{1}]", Id, Title.NullSafe()); return string.Format("[{0}][{1}]", TvdbId, Title.NullSafe());
} }
} }
} }