aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/LiveTv
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-03-14 01:10:49 -0400
committerLuke <luke.pulverenti@gmail.com>2016-03-14 01:10:49 -0400
commitcdf869e9346bb7f7a0c2338174be339bb43ca67e (patch)
treeec6196125897f306f81da753b4b267704492c096 /MediaBrowser.Server.Implementations/LiveTv
parent38d4efabbb85fc7db8e74a13fcadb30c17f066b6 (diff)
parent3bae86ae4174cc7f4c0968c5d4a18f38520e605e (diff)
Merge pull request #1548 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Server.Implementations/LiveTv')
-rw-r--r--MediaBrowser.Server.Implementations/LiveTv/TunerHosts/SatIp/SatIpDiscovery.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/LiveTv/TunerHosts/SatIp/SatIpDiscovery.cs b/MediaBrowser.Server.Implementations/LiveTv/TunerHosts/SatIp/SatIpDiscovery.cs
index 9a02413cd..19b91a34f 100644
--- a/MediaBrowser.Server.Implementations/LiveTv/TunerHosts/SatIp/SatIpDiscovery.cs
+++ b/MediaBrowser.Server.Implementations/LiveTv/TunerHosts/SatIp/SatIpDiscovery.cs
@@ -90,6 +90,11 @@ namespace MediaBrowser.Server.Implementations.LiveTv.TunerHosts.SatIp
if (existing == null)
{
+ if (string.IsNullOrWhiteSpace(info.M3UUrl))
+ {
+ return;
+ }
+
await _liveTvManager.SaveTunerHost(new TunerHostInfo
{
Type = SatIpHost.DeviceType,
@@ -97,7 +102,9 @@ namespace MediaBrowser.Server.Implementations.LiveTv.TunerHosts.SatIp
DataVersion = 1,
DeviceId = info.DeviceId,
FriendlyName = info.FriendlyName,
- Tuners = info.Tuners
+ Tuners = info.Tuners,
+ M3UUrl = info.M3UUrl,
+ IsEnabled = true
}).ConfigureAwait(false);
}