The Free Software Media System - Server Backend & API
comment out satip discovery
Luke Pulverenti2bb234c1f832
diff --git a/MediaBrowser.Server.Implementations/LiveTv/TunerHosts/SatIp/SatIpDiscovery.cs b/MediaBrowser.Server.Implementations/LiveTv/TunerHosts/SatIp/SatIpDiscovery.csindex 449740decc..95c04d61f3 100644--- a/MediaBrowser.Server.Implementations/LiveTv/TunerHosts/SatIp/SatIpDiscovery.cs+++ b/MediaBrowser.Server.Implementations/LiveTv/TunerHosts/SatIp/SatIpDiscovery.cs@@ -41,26 +41,26 @@ namespace MediaBrowser.Server.Implementations.LiveTv.TunerHosts.SatIpvoid _deviceDiscovery_DeviceDiscovered(object sender, SsdpMessageEventArgs e){- string server = null;- if (e.Headers.TryGetValue("SERVER", out server) && server.IndexOf("HDHomeRun", StringComparison.OrdinalIgnoreCase) != -1)- {- string location;- if (e.Headers.TryGetValue("Location", out location))- {- //_logger.Debug("HdHomerun found at {0}", location);-- // Just get the beginning of the url- Uri uri;- if (Uri.TryCreate(location, UriKind.Absolute, out uri))- {- var apiUrl = location.Replace(uri.LocalPath, String.Empty, StringComparison.OrdinalIgnoreCase)- .TrimEnd('/');-- //_logger.Debug("HdHomerun api url: {0}", apiUrl);- AddDevice(apiUrl);- }- }- }+ //string server = null;+ //if (e.Headers.TryGetValue("SERVER", out server) && server.IndexOf("HDHomeRun", StringComparison.OrdinalIgnoreCase) != -1)+ //{+ // string location;+ // if (e.Headers.TryGetValue("Location", out location))+ // {+ // //_logger.Debug("HdHomerun found at {0}", location);++ // // Just get the beginning of the url+ // Uri uri;+ // if (Uri.TryCreate(location, UriKind.Absolute, out uri))+ // {+ // var apiUrl = location.Replace(uri.LocalPath, String.Empty, StringComparison.OrdinalIgnoreCase)+ // .TrimEnd('/');++ // //_logger.Debug("HdHomerun api url: {0}", apiUrl);+ // AddDevice(apiUrl);+ // }+ // }+ //}}private async void AddDevice(string url)