fixed issue where tvdbepisodeid change would break episode update.

pull/6/head
Keivan Beigi 12 years ago
parent fc9dcb1084
commit f4ceb57b2b

@ -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())
{ {

@ -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());
} }
} }
} }
Loading…
Cancel
Save