Added basic support for file scan Major redactor of ReportTitle/File parsing Updated Ninject/Ninject.MVC Removed dependency from Microsoft.Web.Administration reactored Episode repository structurepull/3113/head
parent
41d9b0364f
commit
c8a8fb4d62
Binary file not shown.
@ -1,9 +0,0 @@
|
||||
namespace NzbDrone.Core.Entities.Notification
|
||||
{
|
||||
public enum NotificationStatus
|
||||
{
|
||||
InProgress = 0,
|
||||
Completed = 1,
|
||||
Failed = 2
|
||||
}
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
namespace NzbDrone.Core.Entities.Notification
|
||||
{
|
||||
public enum NotificationType
|
||||
{
|
||||
Info = 0,
|
||||
Warrning = 1,
|
||||
Error = 2
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,9 @@
|
||||
namespace NzbDrone.Core.Model.Notification
|
||||
{
|
||||
public enum BasicNotificationType
|
||||
{
|
||||
Info = 0,
|
||||
Warrning = 1,
|
||||
Error = 2
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
namespace NzbDrone.Core.Model.Notification
|
||||
{
|
||||
public enum ProgressNotificationStatus
|
||||
{
|
||||
InProgress = 0,
|
||||
Completed = 1,
|
||||
Failed = 2
|
||||
}
|
||||
}
|
@ -1,23 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using NzbDrone.Core.Entities.Episode;
|
||||
using NzbDrone.Core.Model;
|
||||
using NzbDrone.Core.Repository;
|
||||
|
||||
namespace NzbDrone.Core.Providers
|
||||
{
|
||||
public interface IEpisodeProvider
|
||||
{
|
||||
EpisodeInfo GetEpisode(long id);
|
||||
void UpdateEpisode(EpisodeInfo episode);
|
||||
IList<EpisodeInfo> GetEpisodesBySeason(long seasonId);
|
||||
IList<EpisodeInfo> GetEpisodeBySeries(long seriesId);
|
||||
String GetSabTitle(BasicEpisode episode);
|
||||
Episode GetEpisode(long id);
|
||||
IList<Episode> GetEpisodeBySeries(long seriesId);
|
||||
String GetSabTitle(Episode episode);
|
||||
|
||||
/// <summary>
|
||||
/// Comprehensive check on whether or not this episode is needed.
|
||||
/// </summary>
|
||||
/// <param name="episode">Episode that needs to be checked</param>
|
||||
/// <returns></returns>
|
||||
bool IsNeeded(RemoteEpisode episode);
|
||||
bool IsNeeded(EpisodeModel episode);
|
||||
|
||||
void RefreshEpisodeInfo(int seriesId);
|
||||
}
|
||||
|
@ -0,0 +1,13 @@
|
||||
using NzbDrone.Core.Repository;
|
||||
|
||||
namespace NzbDrone.Core.Providers
|
||||
{
|
||||
public interface IMediaFileProvider
|
||||
{
|
||||
/// <summary>
|
||||
/// Scans the specified series folder for media files
|
||||
/// </summary>
|
||||
/// <param name="series">The series to be scanned</param>
|
||||
void Scan(Series series);
|
||||
}
|
||||
}
|
Loading…
Reference in new issue