mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-05 21:33:02 +02:00
added archive interface
This commit is contained in:
parent
c04e226c09
commit
be6d4c3f53
|
@ -56,6 +56,7 @@ namespace MediaBrowser.Api.Playback
|
||||||
public MediaProtocol InputProtocol { get; set; }
|
public MediaProtocol InputProtocol { get; set; }
|
||||||
|
|
||||||
public bool IsInputVideo { get; set; }
|
public bool IsInputVideo { get; set; }
|
||||||
|
public bool IsInputArchive { get; set; }
|
||||||
|
|
||||||
public VideoType VideoType { get; set; }
|
public VideoType VideoType { get; set; }
|
||||||
public IsoType? IsoType { get; set; }
|
public IsoType? IsoType { get; set; }
|
||||||
|
@ -112,6 +113,7 @@ namespace MediaBrowser.Api.Playback
|
||||||
public long? EncodingDurationTicks { get; set; }
|
public long? EncodingDurationTicks { get; set; }
|
||||||
|
|
||||||
public string ItemType { get; set; }
|
public string ItemType { get; set; }
|
||||||
|
public string ItemId { get; set; }
|
||||||
|
|
||||||
public string GetMimeType(string outputPath)
|
public string GetMimeType(string outputPath)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
using MediaBrowser.Controller.Persistence;
|
using MediaBrowser.Controller.Providers;
|
||||||
using MediaBrowser.Controller.Providers;
|
|
||||||
using MediaBrowser.Model.Configuration;
|
using MediaBrowser.Model.Configuration;
|
||||||
using MediaBrowser.Model.Dto;
|
using MediaBrowser.Model.Dto;
|
||||||
using MediaBrowser.Model.Entities;
|
using MediaBrowser.Model.Entities;
|
||||||
|
@ -22,7 +21,8 @@ namespace MediaBrowser.Controller.Entities.Audio
|
||||||
IHasLookupInfo<SongInfo>,
|
IHasLookupInfo<SongInfo>,
|
||||||
IHasTags,
|
IHasTags,
|
||||||
IHasMediaSources,
|
IHasMediaSources,
|
||||||
IThemeMedia
|
IThemeMedia,
|
||||||
|
IArchivable
|
||||||
{
|
{
|
||||||
public string FormatName { get; set; }
|
public string FormatName { get; set; }
|
||||||
public long? Size { get; set; }
|
public long? Size { get; set; }
|
||||||
|
|
8
MediaBrowser.Controller/Entities/IArchivable.cs
Normal file
8
MediaBrowser.Controller/Entities/IArchivable.cs
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
|
||||||
|
namespace MediaBrowser.Controller.Entities
|
||||||
|
{
|
||||||
|
public interface IArchivable
|
||||||
|
{
|
||||||
|
bool IsArchive { get; }
|
||||||
|
}
|
||||||
|
}
|
|
@ -24,7 +24,8 @@ namespace MediaBrowser.Controller.Entities
|
||||||
IHasMediaSources,
|
IHasMediaSources,
|
||||||
IHasShortOverview,
|
IHasShortOverview,
|
||||||
IHasPreferredMetadataLanguage,
|
IHasPreferredMetadataLanguage,
|
||||||
IThemeMedia
|
IThemeMedia,
|
||||||
|
IArchivable
|
||||||
{
|
{
|
||||||
public Guid? PrimaryVersionId { get; set; }
|
public Guid? PrimaryVersionId { get; set; }
|
||||||
|
|
||||||
|
|
|
@ -130,6 +130,7 @@
|
||||||
<Compile Include="Entities\Game.cs" />
|
<Compile Include="Entities\Game.cs" />
|
||||||
<Compile Include="Entities\GameGenre.cs" />
|
<Compile Include="Entities\GameGenre.cs" />
|
||||||
<Compile Include="Entities\GameSystem.cs" />
|
<Compile Include="Entities\GameSystem.cs" />
|
||||||
|
<Compile Include="Entities\IArchivable.cs" />
|
||||||
<Compile Include="Entities\IByReferenceItem.cs" />
|
<Compile Include="Entities\IByReferenceItem.cs" />
|
||||||
<Compile Include="Entities\IHasAspectRatio.cs" />
|
<Compile Include="Entities\IHasAspectRatio.cs" />
|
||||||
<Compile Include="Entities\IHasBudget.cs" />
|
<Compile Include="Entities\IHasBudget.cs" />
|
||||||
|
|
Loading…
Reference in a new issue