mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 05:23:31 -07:00
improved Linux support for tests.
This commit is contained in:
parent
660185640d
commit
3162e4864d
20 changed files with 178 additions and 149 deletions
|
@ -96,11 +96,11 @@ namespace NzbDrone.Core.Providers
|
|||
var episodeFile = new EpisodeFile();
|
||||
episodeFile.DateAdded = DateTime.Now;
|
||||
episodeFile.SeriesId = series.Id;
|
||||
episodeFile.Path = filePath.NormalizePath();
|
||||
episodeFile.Path = filePath.CleanPath();
|
||||
episodeFile.Size = size;
|
||||
episodeFile.Quality = parsedEpisode.Quality;
|
||||
episodeFile.SeasonNumber = parsedEpisode.SeasonNumber;
|
||||
episodeFile.SceneName = Path.GetFileNameWithoutExtension(filePath.NormalizePath());
|
||||
episodeFile.SceneName = Path.GetFileNameWithoutExtension(filePath.CleanPath());
|
||||
|
||||
//Todo: We shouldn't actually import the file until we confirm its the only one we want.
|
||||
//Todo: Separate episodeFile creation from importing (pass file to import to import)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue