|
|
@ -144,8 +144,6 @@ namespace NzbDrone.Core.Tv
|
|
|
|
episodeToUpdate.Overview = episode.Overview;
|
|
|
|
episodeToUpdate.Overview = episode.Overview;
|
|
|
|
episodeToUpdate.AirDate = episode.AirDate;
|
|
|
|
episodeToUpdate.AirDate = episode.AirDate;
|
|
|
|
|
|
|
|
|
|
|
|
if (episodeToUpdate.AirDate < series.FirstAired) episodeToUpdate.AirDate = null;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
successCount++;
|
|
|
|
successCount++;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch (Exception e)
|
|
|
|
catch (Exception e)
|
|
|
@ -201,7 +199,7 @@ namespace NzbDrone.Core.Tv
|
|
|
|
/* private void DeleteEpisodesNotAvailableAnymore(Series series, IEnumerable<Episode> onlineEpisodes)
|
|
|
|
/* private void DeleteEpisodesNotAvailableAnymore(Series series, IEnumerable<Episode> onlineEpisodes)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
//Todo: This will not work as currently implemented - what are we trying to do here?
|
|
|
|
//Todo: This will not work as currently implemented - what are we trying to do here?
|
|
|
|
* //We were trying to remove episodes that were once on tvdb but were removed, for whatever reason, instead of polluting our DB with them.
|
|
|
|
//Todo: We were trying to remove episodes that were once on tvdb but were removed, for whatever reason, instead of polluting our DB with them.
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
_logger.Trace("Starting deletion of episodes that no longer exist in TVDB: {0}", series.Title.WithDefault(series.Id));
|
|
|
|
_logger.Trace("Starting deletion of episodes that no longer exist in TVDB: {0}", series.Title.WithDefault(series.Id));
|
|
|
|
foreach (var episode in onlineEpisodes)
|
|
|
|
foreach (var episode in onlineEpisodes)
|
|
|
|