mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
3.0.4931.24071
This commit is contained in:
parent
7532ecaf2d
commit
f5988e7756
@ -27,6 +27,19 @@ namespace MediaBrowser.Controller.Entities
|
|||||||
AdditionalPartIds = new List<Guid>();
|
AdditionalPartIds = new List<Guid>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public VideoFormat VideoFormat
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (!Video3DFormat.HasValue)
|
||||||
|
{
|
||||||
|
return VideoFormat.Standard;
|
||||||
|
}
|
||||||
|
|
||||||
|
return VideoFormat.Digital3D;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the type of the video.
|
/// Gets or sets the type of the video.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
14
MediaBrowser.Model/Entities/VideoFormat.cs
Normal file
14
MediaBrowser.Model/Entities/VideoFormat.cs
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace MediaBrowser.Model.Entities
|
||||||
|
{
|
||||||
|
public enum VideoFormat
|
||||||
|
{
|
||||||
|
Standard,
|
||||||
|
Digital3D,
|
||||||
|
Sbs3D
|
||||||
|
}
|
||||||
|
}
|
@ -55,6 +55,7 @@
|
|||||||
<Compile Include="Entities\MediaUrl.cs" />
|
<Compile Include="Entities\MediaUrl.cs" />
|
||||||
<Compile Include="Entities\MetadataFields.cs" />
|
<Compile Include="Entities\MetadataFields.cs" />
|
||||||
<Compile Include="Entities\Video3DFormat.cs" />
|
<Compile Include="Entities\Video3DFormat.cs" />
|
||||||
|
<Compile Include="Entities\VideoFormat.cs" />
|
||||||
<Compile Include="Net\WebSocketMessage.cs" />
|
<Compile Include="Net\WebSocketMessage.cs" />
|
||||||
<Compile Include="Net\WebSocketMessageType.cs" />
|
<Compile Include="Net\WebSocketMessageType.cs" />
|
||||||
<Compile Include="Net\WebSocketState.cs" />
|
<Compile Include="Net\WebSocketState.cs" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user