mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-03 22:38:30 +01:00
update channel db
This commit is contained in:
@@ -12,7 +12,6 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
public interface ILiveTvRecording : IHasImages, IHasMediaSources, IHasUserData, ILiveTvItem, IHasStartDate, IHasProgramAttributes
|
||||
{
|
||||
string ChannelId { get; }
|
||||
string ProgramId { get; set; }
|
||||
string MediaType { get; }
|
||||
|
||||
string Container { get; }
|
||||
@@ -31,16 +30,11 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
|
||||
bool CanDelete(User user);
|
||||
|
||||
string ProviderImagePath { get; set; }
|
||||
string ExternalImagePath { get; set; }
|
||||
|
||||
string ProviderImageUrl { get; set; }
|
||||
|
||||
string ExternalId { get; set; }
|
||||
string EpisodeTitle { get; set; }
|
||||
string SeriesTimerId { get; set; }
|
||||
RecordingStatus Status { get; set; }
|
||||
DateTime? EndDate { get; set; }
|
||||
ChannelType ChannelType { get; set; }
|
||||
DateTime DateLastSaved { get; set; }
|
||||
DateTime DateCreated { get; set; }
|
||||
DateTime DateModified { get; set; }
|
||||
|
||||
@@ -14,9 +14,6 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
{
|
||||
public class LiveTvAudioRecording : Audio, ILiveTvRecording
|
||||
{
|
||||
public string ExternalId { get; set; }
|
||||
public string ProviderImagePath { get; set; }
|
||||
public string ProviderImageUrl { get; set; }
|
||||
[IgnoreDataMember]
|
||||
public string EpisodeTitle { get; set; }
|
||||
[IgnoreDataMember]
|
||||
@@ -35,13 +32,10 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
public bool IsRepeat { get; set; }
|
||||
[IgnoreDataMember]
|
||||
public bool IsMovie { get; set; }
|
||||
public bool? IsHD { get; set; }
|
||||
[IgnoreDataMember]
|
||||
public bool IsLive { get; set; }
|
||||
[IgnoreDataMember]
|
||||
public bool IsPremiere { get; set; }
|
||||
public ChannelType ChannelType { get; set; }
|
||||
public string ProgramId { get; set; }
|
||||
public ProgramAudio? Audio { get; set; }
|
||||
|
||||
/// <summary>
|
||||
@@ -52,11 +46,6 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
{
|
||||
var name = GetClientTypeName();
|
||||
|
||||
if (!string.IsNullOrEmpty(ProgramId))
|
||||
{
|
||||
return name + "-" + ProgramId;
|
||||
}
|
||||
|
||||
return name + "-" + Name + (EpisodeTitle ?? string.Empty);
|
||||
}
|
||||
|
||||
|
||||
@@ -46,12 +46,6 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
/// <value>The number.</value>
|
||||
public string Number { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the external identifier.
|
||||
/// </summary>
|
||||
/// <value>The external identifier.</value>
|
||||
public string ExternalId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the type of the channel.
|
||||
/// </summary>
|
||||
@@ -64,24 +58,6 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
/// <value>The name of the service.</value>
|
||||
public string ServiceName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Supply the image path if it can be accessed directly from the file system
|
||||
/// </summary>
|
||||
/// <value>The image path.</value>
|
||||
public string ProviderImagePath { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Supply the image url if it can be downloaded
|
||||
/// </summary>
|
||||
/// <value>The image URL.</value>
|
||||
public string ProviderImageUrl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance has image.
|
||||
/// </summary>
|
||||
/// <value><c>null</c> if [has image] contains no value, <c>true</c> if [has image]; otherwise, <c>false</c>.</value>
|
||||
public bool? HasProviderImage { get; set; }
|
||||
|
||||
public override LocationType LocationType
|
||||
{
|
||||
get
|
||||
|
||||
@@ -7,6 +7,7 @@ using MediaBrowser.Model.Users;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Runtime.Serialization;
|
||||
using MediaBrowser.Model.Entities;
|
||||
|
||||
namespace MediaBrowser.Controller.LiveTv
|
||||
{
|
||||
@@ -30,17 +31,6 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
return GetClientTypeName() + "-" + Name;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the etag.
|
||||
/// </summary>
|
||||
/// <value>The etag.</value>
|
||||
public string Etag { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Id of the program.
|
||||
/// </summary>
|
||||
public string ExternalId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the type of the channel.
|
||||
/// </summary>
|
||||
@@ -53,12 +43,6 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
[IgnoreDataMember]
|
||||
public DateTime StartDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance is hd.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance is hd; otherwise, <c>false</c>.</value>
|
||||
public bool? IsHD { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the audio.
|
||||
/// </summary>
|
||||
@@ -85,24 +69,6 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
/// <value>The name of the service.</value>
|
||||
public string ServiceName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Supply the image path if it can be accessed directly from the file system
|
||||
/// </summary>
|
||||
/// <value>The image path.</value>
|
||||
public string ProviderImagePath { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Supply the image url if it can be downloaded
|
||||
/// </summary>
|
||||
/// <value>The image URL.</value>
|
||||
public string ProviderImageUrl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance has image.
|
||||
/// </summary>
|
||||
/// <value><c>null</c> if [has image] contains no value, <c>true</c> if [has image]; otherwise, <c>false</c>.</value>
|
||||
public bool? HasProviderImage { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance is movie.
|
||||
/// </summary>
|
||||
|
||||
@@ -14,9 +14,6 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
{
|
||||
public class LiveTvVideoRecording : Video, ILiveTvRecording
|
||||
{
|
||||
public string ExternalId { get; set; }
|
||||
public string ProviderImagePath { get; set; }
|
||||
public string ProviderImageUrl { get; set; }
|
||||
[IgnoreDataMember]
|
||||
public string EpisodeTitle { get; set; }
|
||||
[IgnoreDataMember]
|
||||
@@ -35,13 +32,10 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
public bool IsRepeat { get; set; }
|
||||
[IgnoreDataMember]
|
||||
public bool IsMovie { get; set; }
|
||||
public bool? IsHD { get; set; }
|
||||
[IgnoreDataMember]
|
||||
public bool IsLive { get; set; }
|
||||
[IgnoreDataMember]
|
||||
public bool IsPremiere { get; set; }
|
||||
public ChannelType ChannelType { get; set; }
|
||||
public string ProgramId { get; set; }
|
||||
public ProgramAudio? Audio { get; set; }
|
||||
|
||||
/// <summary>
|
||||
@@ -62,11 +56,6 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
|
||||
var name = GetClientTypeName();
|
||||
|
||||
if (!string.IsNullOrEmpty(ProgramId))
|
||||
{
|
||||
return name + "-" + ProgramId;
|
||||
}
|
||||
|
||||
return name + "-" + Name + (EpisodeTitle ?? string.Empty);
|
||||
}
|
||||
|
||||
@@ -118,6 +107,7 @@ namespace MediaBrowser.Controller.LiveTv
|
||||
return false;
|
||||
}
|
||||
|
||||
[IgnoreDataMember]
|
||||
public override bool SupportsLocalMetadata
|
||||
{
|
||||
get
|
||||
|
||||
Reference in New Issue
Block a user