mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-09 15:20:34 +02:00
update channels
This commit is contained in:
parent
b2d1c0dee3
commit
bcda2a8f0e
11
MediaBrowser.Controller/Channels/IChannelItem.cs
Normal file
11
MediaBrowser.Controller/Channels/IChannelItem.cs
Normal file
|
@ -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; }
|
||||||
|
}
|
||||||
|
}
|
18
MediaBrowser.Controller/Channels/IChannelMediaItem.cs
Normal file
18
MediaBrowser.Controller/Channels/IChannelMediaItem.cs
Normal file
|
@ -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; }
|
||||||
|
}
|
||||||
|
}
|
|
@ -85,8 +85,10 @@
|
||||||
<Compile Include="Channels\ChannelSearchInfo.cs" />
|
<Compile Include="Channels\ChannelSearchInfo.cs" />
|
||||||
<Compile Include="Channels\ChannelVideoItem.cs" />
|
<Compile Include="Channels\ChannelVideoItem.cs" />
|
||||||
<Compile Include="Channels\IChannel.cs" />
|
<Compile Include="Channels\IChannel.cs" />
|
||||||
|
<Compile Include="Channels\IChannelItem.cs" />
|
||||||
<Compile Include="Channels\IChannelManager.cs" />
|
<Compile Include="Channels\IChannelManager.cs" />
|
||||||
<Compile Include="Channels\Channel.cs" />
|
<Compile Include="Channels\Channel.cs" />
|
||||||
|
<Compile Include="Channels\IChannelMediaItem.cs" />
|
||||||
<Compile Include="Channels\IHasCacheKey.cs" />
|
<Compile Include="Channels\IHasCacheKey.cs" />
|
||||||
<Compile Include="Channels\IIndexableChannel.cs" />
|
<Compile Include="Channels\IIndexableChannel.cs" />
|
||||||
<Compile Include="Channels\InternalAllChannelMediaQuery.cs" />
|
<Compile Include="Channels\InternalAllChannelMediaQuery.cs" />
|
||||||
|
|
|
@ -100,7 +100,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv.TunerHosts.SatIp
|
||||||
{
|
{
|
||||||
if (string.IsNullOrWhiteSpace(info.M3UUrl))
|
if (string.IsNullOrWhiteSpace(info.M3UUrl))
|
||||||
{
|
{
|
||||||
return;
|
//return;
|
||||||
}
|
}
|
||||||
|
|
||||||
await _liveTvManager.SaveTunerHost(new TunerHostInfo
|
await _liveTvManager.SaveTunerHost(new TunerHostInfo
|
||||||
|
|
Loading…
Reference in a new issue