From f5988e7756d4b0b96ac0f2675293973f412114d8 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 2 Jul 2013 14:25:03 -0400 Subject: [PATCH] 3.0.4931.24071 --- MediaBrowser.Controller/Entities/Video.cs | 13 +++++++++++++ MediaBrowser.Model/Entities/VideoFormat.cs | 14 ++++++++++++++ MediaBrowser.Model/MediaBrowser.Model.csproj | 1 + README.md | 2 +- 4 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 MediaBrowser.Model/Entities/VideoFormat.cs diff --git a/MediaBrowser.Controller/Entities/Video.cs b/MediaBrowser.Controller/Entities/Video.cs index 78f4e3fc24..5098595122 100644 --- a/MediaBrowser.Controller/Entities/Video.cs +++ b/MediaBrowser.Controller/Entities/Video.cs @@ -27,6 +27,19 @@ namespace MediaBrowser.Controller.Entities AdditionalPartIds = new List(); } + public VideoFormat VideoFormat + { + get + { + if (!Video3DFormat.HasValue) + { + return VideoFormat.Standard; + } + + return VideoFormat.Digital3D; + } + } + /// /// Gets or sets the type of the video. /// diff --git a/MediaBrowser.Model/Entities/VideoFormat.cs b/MediaBrowser.Model/Entities/VideoFormat.cs new file mode 100644 index 0000000000..8dfd9573c2 --- /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 3faa0ea2fd..b3e837dcaf 100644 --- a/MediaBrowser.Model/MediaBrowser.Model.csproj +++ b/MediaBrowser.Model/MediaBrowser.Model.csproj @@ -55,6 +55,7 @@ + diff --git a/README.md b/README.md index 0025da8d00..99f5fcc1ad 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,6 @@ http://community.mediabrowser.tv/ ## Current Versions ## -Release: 3.0.4928.20689
+Release: 3.0.4931.24071
Beta: 3.0.4927.41486
Dev: 3.0.4927.27789 \ No newline at end of file