mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 01:38:24 +00:00
removed old TODOs.
This commit is contained in:
parent
34f3ee6b4b
commit
e1488229fe
6 changed files with 3 additions and 8 deletions
|
@ -1,7 +1,6 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using NzbDrone.Api.REST;
|
||||
using NzbDrone.Core.Model;
|
||||
using NzbDrone.Core.Tv;
|
||||
|
||||
namespace NzbDrone.Api.Series
|
||||
|
|
|
@ -16,10 +16,12 @@ public interface IAppFolderInfo
|
|||
public class AppFolderInfo : IAppFolderInfo
|
||||
{
|
||||
private readonly IDiskProvider _diskProvider;
|
||||
private readonly Logger _logger;
|
||||
|
||||
public AppFolderInfo(IDiskProvider diskProvider)
|
||||
{
|
||||
_diskProvider = diskProvider;
|
||||
_logger = LogManager.GetCurrentClassLogger();
|
||||
AppDataFolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData, Environment.SpecialFolderOption.DoNotVerify), "NzbDrone");
|
||||
StartUpFolder = new FileInfo(Assembly.GetExecutingAssembly().Location).Directory.FullName;
|
||||
TempFolder = Path.GetTempPath();
|
||||
|
@ -54,7 +56,7 @@ private void SetPermissions()
|
|||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
//Todo: Add logging
|
||||
_logger.WarnException("Coudn't set app folder permission", ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -40,9 +40,6 @@ namespace NzbDrone.Core.Datastore
|
|||
private readonly IDatabase _database;
|
||||
private readonly IMessageAggregator _messageAggregator;
|
||||
|
||||
//TODO: add assertion to make sure model properly mapped
|
||||
|
||||
|
||||
private IDataMapper DataMapper
|
||||
{
|
||||
get { return _database.DataMapper; }
|
||||
|
|
|
@ -2,7 +2,6 @@ namespace NzbDrone.Core.IndexerSearch.Definitions
|
|||
{
|
||||
public class SingleEpisodeSearchCriteria : SearchCriteriaBase
|
||||
{
|
||||
//TODO make sure these are populated with scene if required
|
||||
public int EpisodeNumber { get; set; }
|
||||
public int SeasonNumber { get; set; }
|
||||
|
||||
|
|
|
@ -95,7 +95,6 @@ private List<Episode> GetEpisodes(ParsedEpisodeInfo parsedEpisodeInfo, Series se
|
|||
{
|
||||
if (series.SeriesType == SeriesTypes.Standard)
|
||||
{
|
||||
//Todo: Collect this as a Series we want to treat as a daily series, or possible parsing error
|
||||
_logger.Warn("Found daily-style episode for non-daily series: {0}.", series);
|
||||
return new List<Episode>();
|
||||
}
|
||||
|
|
|
@ -43,7 +43,6 @@ public void Terminate()
|
|||
}
|
||||
}
|
||||
|
||||
//TODO:Should be able to restart service if anything beyond this point fails
|
||||
_logger.Info("Killing all running processes");
|
||||
|
||||
if (_processProvider.GetProcessByName(ProcessProvider.NzbDroneConsoleProcessName).Any())
|
||||
|
|
Loading…
Reference in a new issue