aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-08-28 20:50:39 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-08-28 20:50:39 -0400
commit274d8176b31a97bb9c8432e4f3a4ba9401a4b1e6 (patch)
tree2daadf03e0de24a647a08b9eda328819c54767c9 /MediaBrowser.Server.Implementations
parent2255f126f77fc038f9cc96e41e08468632093ecd (diff)
update hls
Diffstat (limited to 'MediaBrowser.Server.Implementations')
-rw-r--r--MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EntryPoint.cs33
1 files changed, 2 insertions, 31 deletions
diff --git a/MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EntryPoint.cs b/MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EntryPoint.cs
index a297c866a..713cb9cd3 100644
--- a/MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EntryPoint.cs
+++ b/MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EntryPoint.cs
@@ -1,41 +1,12 @@
-using MediaBrowser.Common.Configuration;
-using MediaBrowser.Common.Security;
-using MediaBrowser.Controller.Plugins;
-using MediaBrowser.Model.LiveTv;
+using MediaBrowser.Controller.Plugins;
namespace MediaBrowser.Server.Implementations.LiveTv.EmbyTV
{
public class EntryPoint : IServerEntryPoint
{
- private readonly IConfigurationManager _config;
- private readonly ISecurityManager _manager;
-
- public EntryPoint(IConfigurationManager config, ISecurityManager manager)
- {
- _config = config;
- _manager = manager;
- }
-
- public async void Run()
+ public void Run()
{
EmbyTV.Current.Start();
-
- if (GetConfiguration().ListingProviders.Count > 0 || GetConfiguration().TunerHosts.Count > 0)
- {
- try
- {
- await _manager.GetRegistrationStatus("livetvguide").ConfigureAwait(false);
- }
- catch
- {
-
- }
- }
- }
-
- private LiveTvOptions GetConfiguration()
- {
- return _config.GetConfiguration<LiveTvOptions>("livetv");
}
public void Dispose()