aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-07-02 14:25:03 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-07-02 14:25:03 -0400
commitf5988e7756d4b0b96ac0f2675293973f412114d8 (patch)
treee27b25dec7e6ba248caec51780799626e1e0c1f3
parent7532ecaf2de3eaf01a08a8d4de13e955bf8a05bb (diff)
3.0.4931.24071
-rw-r--r--MediaBrowser.Controller/Entities/Video.cs13
-rw-r--r--MediaBrowser.Model/Entities/VideoFormat.cs14
-rw-r--r--MediaBrowser.Model/MediaBrowser.Model.csproj1
-rw-r--r--README.md2
4 files changed, 29 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/Video.cs b/MediaBrowser.Controller/Entities/Video.cs
index 78f4e3fc2..509859512 100644
--- a/MediaBrowser.Controller/Entities/Video.cs
+++ b/MediaBrowser.Controller/Entities/Video.cs
@@ -27,6 +27,19 @@ namespace MediaBrowser.Controller.Entities
AdditionalPartIds = new List<Guid>();
}
+ public VideoFormat VideoFormat
+ {
+ get
+ {
+ if (!Video3DFormat.HasValue)
+ {
+ return VideoFormat.Standard;
+ }
+
+ return VideoFormat.Digital3D;
+ }
+ }
+
/// <summary>
/// Gets or sets the type of the video.
/// </summary>
diff --git a/MediaBrowser.Model/Entities/VideoFormat.cs b/MediaBrowser.Model/Entities/VideoFormat.cs
new file mode 100644
index 000000000..8dfd9573c
--- /dev/null
+++ b/MediaBrowser.Model/Entities/VideoFormat.cs
@@ -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
+ }
+}
diff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csproj
index 3faa0ea2f..b3e837dca 100644
--- a/MediaBrowser.Model/MediaBrowser.Model.csproj
+++ b/MediaBrowser.Model/MediaBrowser.Model.csproj
@@ -55,6 +55,7 @@
<Compile Include="Entities\MediaUrl.cs" />
<Compile Include="Entities\MetadataFields.cs" />
<Compile Include="Entities\Video3DFormat.cs" />
+ <Compile Include="Entities\VideoFormat.cs" />
<Compile Include="Net\WebSocketMessage.cs" />
<Compile Include="Net\WebSocketMessageType.cs" />
<Compile Include="Net\WebSocketState.cs" />
diff --git a/README.md b/README.md
index 0025da8d0..99f5fcc1a 100644
--- a/README.md
+++ b/README.md
@@ -22,6 +22,6 @@ http://community.mediabrowser.tv/
## Current Versions ##
-Release: 3.0.4928.20689<br/>
+Release: 3.0.4931.24071<br/>
Beta: 3.0.4927.41486<br/>
Dev: 3.0.4927.27789 \ No newline at end of file