diff --git a/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs b/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs
index 2e9b9d36fe..346af016ef 100644
--- a/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs
+++ b/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs
@@ -62,6 +62,14 @@ namespace MediaBrowser.Api.Playback.Hls
{
}
+ protected override bool SupportsThrottling
+ {
+ get
+ {
+ return false;
+ }
+ }
+
///
/// Gets the specified request.
///
diff --git a/MediaBrowser.Api/System/SystemService.cs b/MediaBrowser.Api/System/SystemService.cs
index cae648ae06..bac99c848a 100644
--- a/MediaBrowser.Api/System/SystemService.cs
+++ b/MediaBrowser.Api/System/SystemService.cs
@@ -1,8 +1,10 @@
using MediaBrowser.Common.Configuration;
using MediaBrowser.Common.IO;
using MediaBrowser.Common.Net;
+using MediaBrowser.Common.Security;
using MediaBrowser.Controller;
using MediaBrowser.Controller.Net;
+using MediaBrowser.Model.Entities;
using MediaBrowser.Model.System;
using ServiceStack;
using System;
@@ -42,6 +44,7 @@ namespace MediaBrowser.Api.System
/// This is currently not authenticated because the uninstaller needs to be able to shutdown the server.
///
[Route("/System/Shutdown", "POST", Summary = "Shuts down the application")]
+ [Authenticated(AllowLocal = true)]
public class ShutdownApplication
{
}
@@ -66,6 +69,12 @@ namespace MediaBrowser.Api.System
public string Name { get; set; }
}
+ [Route("/System/SupporterInfo", "GET")]
+ [Authenticated]
+ public class GetSupporterInfo : IReturn
+ {
+ }
+
///
/// Class SystemInfoService
///
@@ -80,6 +89,8 @@ namespace MediaBrowser.Api.System
private readonly INetworkManager _network;
+ private readonly ISecurityManager _security;
+
///
/// Initializes a new instance of the class.
///
@@ -87,12 +98,20 @@ namespace MediaBrowser.Api.System
/// The application paths.
/// The file system.
/// jsonSerializer
- public SystemService(IServerApplicationHost appHost, IApplicationPaths appPaths, IFileSystem fileSystem, INetworkManager network)
+ public SystemService(IServerApplicationHost appHost, IApplicationPaths appPaths, IFileSystem fileSystem, INetworkManager network, ISecurityManager security)
{
_appHost = appHost;
_appPaths = appPaths;
_fileSystem = fileSystem;
_network = network;
+ _security = security;
+ }
+
+ public async Task