mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
fixed issue where series controller was still going to db for every file.
Increased log level tweaked connection string to sqlite
This commit is contained in:
@@ -223,16 +223,14 @@ namespace NzbDrone.Web.Controllers
|
||||
var episodeFileId = 0;
|
||||
var episodePath = String.Empty;
|
||||
var episodeQuality = String.Empty;
|
||||
EpisodeFile episodeFile = null;
|
||||
|
||||
if (e.EpisodeFileId > 0)
|
||||
episodeFile = _mediaFileProvider.GetEpisodeFile(e.EpisodeFileId);
|
||||
|
||||
if (episodeFile != null)
|
||||
|
||||
|
||||
if (e.EpisodeFile != null)
|
||||
{
|
||||
episodePath = episodeFile.Path;
|
||||
episodeFileId = episodeFile.EpisodeFileId;
|
||||
episodeQuality = episodeFile.Quality.ToString();
|
||||
episodePath = e.EpisodeFile.Path;
|
||||
episodeFileId = e.EpisodeFile.EpisodeFileId;
|
||||
episodeQuality = e.EpisodeFile.Quality.ToString();
|
||||
}
|
||||
|
||||
episodes.Add(new EpisodeModel
|
||||
|
Reference in New Issue
Block a user