mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 05:23:31 -07:00
refactored Episode, Added Quality Enum
This commit is contained in:
parent
01c1943d0e
commit
a49850cc89
12 changed files with 240 additions and 270 deletions
|
@ -1,7 +1,6 @@
|
|||
using System.IO;
|
||||
using System.Linq;
|
||||
using log4net;
|
||||
using NzbDrone.Core.Helpers;
|
||||
using NzbDrone.Core.Repository;
|
||||
using SubSonic.Repository;
|
||||
using TvdbLib.Data;
|
||||
|
@ -44,7 +43,7 @@ namespace NzbDrone.Core.Providers
|
|||
|
||||
foreach (string seriesFolder in _diskProvider.GetDirectories(_config.SeriesRoot))
|
||||
{
|
||||
var cleanPath = Disk.CleanPath(new DirectoryInfo(seriesFolder).FullName);
|
||||
var cleanPath = DiskProvider.CleanPath(new DirectoryInfo(seriesFolder).FullName);
|
||||
if (!_sonioRepo.Exists<Series>(s => s.Path == cleanPath))
|
||||
{
|
||||
_logger.InfoFormat("Folder '{0} isn't mapped to a series in the database. Trying to map it.'", cleanPath);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue