aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Channels/InternalChannelFeatures.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Controller/Channels/InternalChannelFeatures.cs')
-rw-r--r--MediaBrowser.Controller/Channels/InternalChannelFeatures.cs18
1 files changed, 17 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Channels/InternalChannelFeatures.cs b/MediaBrowser.Controller/Channels/InternalChannelFeatures.cs
index bcc679159..fc2530449 100644
--- a/MediaBrowser.Controller/Channels/InternalChannelFeatures.cs
+++ b/MediaBrowser.Controller/Channels/InternalChannelFeatures.cs
@@ -1,4 +1,5 @@
-using MediaBrowser.Model.Channels;
+using System;
+using MediaBrowser.Model.Channels;
using System.Collections.Generic;
namespace MediaBrowser.Controller.Channels
@@ -38,6 +39,12 @@ namespace MediaBrowser.Controller.Channels
/// <value>The automatic refresh levels.</value>
public int? AutoRefreshLevels { get; set; }
+ /// <summary>
+ /// Gets or sets the daily download limit.
+ /// </summary>
+ /// <value>The daily download limit.</value>
+ public int? DailyDownloadLimit { get; set; }
+
public InternalChannelFeatures()
{
MediaTypes = new List<ChannelMediaType>();
@@ -46,4 +53,13 @@ namespace MediaBrowser.Controller.Channels
DefaultSortFields = new List<ChannelItemSortField>();
}
}
+
+ public class ChannelDownloadException : Exception
+ {
+ public ChannelDownloadException(string message)
+ : base(message)
+ {
+
+ }
+ }
}