aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-01-27 11:57:56 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-01-27 11:57:56 -0500
commit2bb234c1f832b30f8f85abd4efa48720824e35be (patch)
treeee082b268ae8409a41f02663762332abe101bfe3 /MediaBrowser.Server.Implementations
parent95ae1c5f7b2dd0a9905ab78c3c42e056b5417d1c (diff)
comment out satip discovery
Diffstat (limited to 'MediaBrowser.Server.Implementations')
-rw-r--r--MediaBrowser.Server.Implementations/LiveTv/TunerHosts/SatIp/SatIpDiscovery.cs40
1 files changed, 20 insertions, 20 deletions
diff --git a/MediaBrowser.Server.Implementations/LiveTv/TunerHosts/SatIp/SatIpDiscovery.cs b/MediaBrowser.Server.Implementations/LiveTv/TunerHosts/SatIp/SatIpDiscovery.cs
index 449740dec..95c04d61f 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.SatIp
void _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)