瀏覽代碼

3.0.4931.24071

Luke Pulverenti 12 年之前
父節點
當前提交
f5988e7756

+ 13 - 0
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>

+ 14 - 0
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
+    }
+}

+ 1 - 0
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" />

+ 1 - 1
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