OID changed to a field

DeleteEpsidoesNotInTvdb disabled for now since its broken
This commit is contained in:
Mark McDowall 2013-02-25 23:47:29 -08:00
parent afcbbf54c7
commit bfc026128d
2 changed files with 3 additions and 1 deletions

View File

@ -17,6 +17,6 @@ namespace NzbDrone.Core.Datastore
} }
[JsonProperty(PropertyName = "id")] [JsonProperty(PropertyName = "id")]
private int OID { get; set; } private int OID;
} }
} }

View File

@ -302,6 +302,8 @@ namespace NzbDrone.Core.Tv
private void DeleteEpisodesNotInTvdb(Series series, IEnumerable<Episode> tvdbEpisodes) private void DeleteEpisodesNotInTvdb(Series series, IEnumerable<Episode> tvdbEpisodes)
{ {
//Todo: This will not work as currently implemented - what are we trying to do here?
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 tvdbEpisodes) foreach (var episode in tvdbEpisodes)
{ {