//Todo: How do we want to handle this really? Episode could be released before information is on TheTvDB (Parks and Rec did this a lot in the first season, from experience)
//Todo: How do we want to handle this really? Episode could be released before information is on TheTvDB
//(Parks and Rec did this a lot in the first season, from experience)
//Keivan: Should automatically add the episode to db with minimal information. then update the description/title when avilable.
thrownewNotImplementedException("Episode was not found in the database");
}
episode.EpisodeId=dbEpisode.EpisodeId;
varfile=dbEpisode.EpisodeFile;
varfile=episodeInfo.EpisodeFile;
if(file!=null)
{
//If not null we need to see if this episode has the quality as the download (or if it is better)
if(file.Quality==episode.Quality)
{
//If the episodeFile is a Proper we don't need to download again