The Free Software Media System - Server Backend & API
update channels
Luke Pulverentibcda2a8f0eaa
diff --git a/MediaBrowser.Controller/Channels/IChannelItem.cs b/MediaBrowser.Controller/Channels/IChannelItem.csnew file mode 100644index 0000000000..9b5f0359bd--- /dev/null+++ b/MediaBrowser.Controller/Channels/IChannelItem.cs@@ -0,0 +1,11 @@+using MediaBrowser.Controller.Entities;++namespace MediaBrowser.Controller.Channels+{+ public interface IChannelItem : IHasImages, IHasTags+ {+ string ChannelId { get; set; }++ string ExternalId { get; set; }+ }+}diff --git a/MediaBrowser.Controller/Channels/IChannelMediaItem.cs b/MediaBrowser.Controller/Channels/IChannelMediaItem.csnew file mode 100644index 0000000000..60a29da90b--- /dev/null+++ b/MediaBrowser.Controller/Channels/IChannelMediaItem.cs@@ -0,0 +1,18 @@+using MediaBrowser.Model.Channels;+using MediaBrowser.Model.Entities;+using System.Collections.Generic;++namespace MediaBrowser.Controller.Channels+{+ public interface IChannelMediaItem : IChannelItem+ {+ long? RunTimeTicks { get; set; }+ string MediaType { get; }++ ChannelMediaContentType ContentType { get; set; }++ ExtraType? ExtraType { get; set; }++ List<ChannelMediaInfo> ChannelMediaSources { get; set; }+ }+}\ No newline at end of filediff --git a/MediaBrowser.Controller/MediaBrowser.Controller.csproj b/MediaBrowser.Controller/MediaBrowser.Controller.csprojindex f4a5c04380..e811d75878 100644--- a/MediaBrowser.Controller/MediaBrowser.Controller.csproj+++ b/MediaBrowser.Controller/MediaBrowser.Controller.csproj@@ -85,8 +85,10 @@<Compile Include="Channels\ChannelSearchInfo.cs" /><Compile Include="Channels\ChannelVideoItem.cs" /><Compile Include="Channels\IChannel.cs" />+ <Compile Include="Channels\IChannelItem.cs" /><Compile Include="Channels\IChannelManager.cs" /><Compile Include="Channels\Channel.cs" />+ <Compile Include="Channels\IChannelMediaItem.cs" /><Compile Include="Channels\IHasCacheKey.cs" /><Compile Include="Channels\IIndexableChannel.cs" /><Compile Include="Channels\InternalAllChannelMediaQuery.cs" />diff --git a/MediaBrowser.Server.Implementations/LiveTv/TunerHosts/SatIp/SatIpDiscovery.cs b/MediaBrowser.Server.Implementations/LiveTv/TunerHosts/SatIp/SatIpDiscovery.csindex cdeb6dfa86..c417cc09c4 100644--- a/MediaBrowser.Server.Implementations/LiveTv/TunerHosts/SatIp/SatIpDiscovery.cs+++ b/MediaBrowser.Server.Implementations/LiveTv/TunerHosts/SatIp/SatIpDiscovery.cs@@ -100,7 +100,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv.TunerHosts.SatIp{if (string.IsNullOrWhiteSpace(info.M3UUrl)){- return;+ //return;}await _liveTvManager.SaveTunerHost(new TunerHostInfo