aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Model')
-rw-r--r--MediaBrowser.Model/Dto/BaseItemDto.cs13
-rw-r--r--MediaBrowser.Model/Dto/RecordingInfoDto.cs12
-rw-r--r--MediaBrowser.Model/Library/PlayAccess.cs9
-rw-r--r--MediaBrowser.Model/MediaBrowser.Model.csproj1
4 files changed, 23 insertions, 12 deletions
diff --git a/MediaBrowser.Model/Dto/BaseItemDto.cs b/MediaBrowser.Model/Dto/BaseItemDto.cs
index 8f4330446..0d2c4c34e 100644
--- a/MediaBrowser.Model/Dto/BaseItemDto.cs
+++ b/MediaBrowser.Model/Dto/BaseItemDto.cs
@@ -4,6 +4,7 @@ using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.Serialization;
+using MediaBrowser.Model.Library;
namespace MediaBrowser.Model.Dto
{
@@ -153,6 +154,12 @@ namespace MediaBrowser.Model.Dto
/// </summary>
/// <value>The cumulative run time ticks.</value>
public long? CumulativeRunTimeTicks { get; set; }
+
+ /// <summary>
+ /// Gets or sets the original run time ticks.
+ /// </summary>
+ /// <value>The original run time ticks.</value>
+ public long? OriginalRunTimeTicks { get; set; }
/// <summary>
/// Gets or sets the run time ticks.
@@ -161,6 +168,12 @@ namespace MediaBrowser.Model.Dto
public long? RunTimeTicks { get; set; }
/// <summary>
+ /// Gets or sets the play access.
+ /// </summary>
+ /// <value>The play access.</value>
+ public PlayAccess PlayAccess { get; set; }
+
+ /// <summary>
/// Gets or sets the aspect ratio.
/// </summary>
/// <value>The aspect ratio.</value>
diff --git a/MediaBrowser.Model/Dto/RecordingInfoDto.cs b/MediaBrowser.Model/Dto/RecordingInfoDto.cs
deleted file mode 100644
index 4151c5a9c..000000000
--- a/MediaBrowser.Model/Dto/RecordingInfoDto.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace MediaBrowser.Model.Dto
-{
- public class RecordingInfoDto
- {
- }
-}
diff --git a/MediaBrowser.Model/Library/PlayAccess.cs b/MediaBrowser.Model/Library/PlayAccess.cs
new file mode 100644
index 000000000..6ec845fc7
--- /dev/null
+++ b/MediaBrowser.Model/Library/PlayAccess.cs
@@ -0,0 +1,9 @@
+
+namespace MediaBrowser.Model.Library
+{
+ public enum PlayAccess
+ {
+ Full = 0,
+ None = 1
+ }
+}
diff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csproj
index efe450ac1..b2d130358 100644
--- a/MediaBrowser.Model/MediaBrowser.Model.csproj
+++ b/MediaBrowser.Model/MediaBrowser.Model.csproj
@@ -76,6 +76,7 @@
<Compile Include="Entities\PackageReviewInfo.cs" />
<Compile Include="FileOrganization\FileOrganizationResult.cs" />
<Compile Include="FileOrganization\FileOrganizationQuery.cs" />
+ <Compile Include="Library\PlayAccess.cs" />
<Compile Include="LiveTv\ChannelInfoDto.cs" />
<Compile Include="LiveTv\ChannelQuery.cs" />
<Compile Include="LiveTv\ProgramInfoDto.cs" />