Logger.Trace("File {0}:{1} attached to '{2}'",episodeFile.FileId,filePath,episode.EpisodeId);
returnepisodeFile;
episodes.Add(episode);
}
Logger.Warn("Unable to find Series:{0} Season:{1} Episode:{2} in the database. File:{3}",series.Title,closureEpisode.SeasonNumber,closureEpisode.EpisodeNumber,filePath);
else
Logger.Warn("Unable to find Series:{0} Season:{1} Episode:{2} in the database. File:{3}",series.Title,closureEpisode.SeasonNumber,closureEpisode.EpisodeNumber,filePath);
}
}
else
{
Logger.Trace("[{0}] already exists in the database. skipping.",filePath);
//Return null if no Episodes exist in the DB for the parsed episodes from file