mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 09:04:42 +01:00
added recording progress bars
This commit is contained in:
@@ -23,7 +23,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
/// <summary>
|
||||
/// Class BaseItem
|
||||
/// </summary>
|
||||
public abstract class BaseItem : IHasProviderIds, IBaseItem, IHasImages, IHasUserData
|
||||
public abstract class BaseItem : IHasProviderIds, ILibraryItem, IHasImages, IHasUserData
|
||||
{
|
||||
protected BaseItem()
|
||||
{
|
||||
@@ -504,28 +504,6 @@ namespace MediaBrowser.Controller.Entities
|
||||
/// <value>The people.</value>
|
||||
public List<PersonInfo> People { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Override this if you need to combine/collapse person information
|
||||
/// </summary>
|
||||
/// <value>All people.</value>
|
||||
[IgnoreDataMember]
|
||||
public virtual IEnumerable<PersonInfo> AllPeople
|
||||
{
|
||||
get { return People; }
|
||||
}
|
||||
|
||||
[IgnoreDataMember]
|
||||
public virtual IEnumerable<string> AllStudios
|
||||
{
|
||||
get { return Studios; }
|
||||
}
|
||||
|
||||
[IgnoreDataMember]
|
||||
public virtual IEnumerable<string> AllGenres
|
||||
{
|
||||
get { return Genres; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the studios.
|
||||
/// </summary>
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
/// <summary>
|
||||
/// Interface ILibraryItem
|
||||
/// </summary>
|
||||
public interface IBaseItem
|
||||
public interface ILibraryItem
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the name.
|
||||
@@ -122,48 +122,6 @@ namespace MediaBrowser.Controller.Entities.TV
|
||||
return base.GetUserDataKey();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Override this if you need to combine/collapse person information
|
||||
/// </summary>
|
||||
/// <value>All people.</value>
|
||||
[IgnoreDataMember]
|
||||
public override IEnumerable<PersonInfo> AllPeople
|
||||
{
|
||||
get
|
||||
{
|
||||
if (People == null) return Series != null ? Series.People : People;
|
||||
return Series != null && Series.People != null ? People.Concat(Series.People) : base.AllPeople;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets all genres.
|
||||
/// </summary>
|
||||
/// <value>All genres.</value>
|
||||
[IgnoreDataMember]
|
||||
public override IEnumerable<string> AllGenres
|
||||
{
|
||||
get
|
||||
{
|
||||
if (Genres == null) return Series != null ? Series.Genres : Genres;
|
||||
return Series != null && Series.Genres != null ? Genres.Concat(Series.Genres) : base.AllGenres;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets all studios.
|
||||
/// </summary>
|
||||
/// <value>All studios.</value>
|
||||
[IgnoreDataMember]
|
||||
public override IEnumerable<string> AllStudios
|
||||
{
|
||||
get
|
||||
{
|
||||
if (Studios == null) return Series != null ? Series.Studios : Studios;
|
||||
return Series != null && Series.Studios != null ? Studios.Concat(Series.Studios) : base.AllStudios;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Our rating comes from our series
|
||||
/// </summary>
|
||||
|
||||
@@ -99,7 +99,7 @@
|
||||
<Compile Include="Entities\IHasTrailers.cs" />
|
||||
<Compile Include="Entities\IHasUserData.cs" />
|
||||
<Compile Include="Entities\IItemByName.cs" />
|
||||
<Compile Include="Entities\IBaseItem.cs" />
|
||||
<Compile Include="Entities\ILibraryItem.cs" />
|
||||
<Compile Include="Entities\ImageSourceInfo.cs" />
|
||||
<Compile Include="Entities\LinkedChild.cs" />
|
||||
<Compile Include="Entities\MusicVideo.cs" />
|
||||
|
||||
Reference in New Issue
Block a user