浏览代码

Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser

LukePulverenti 12 年之前
父节点
当前提交
bda23e1a23
共有 2 个文件被更改,包括 10 次插入5 次删除
  1. 10 2
      MediaBrowser.Model/DTO/UserItemDataDto.cs
  2. 0 3
      MediaBrowser.sln

+ 10 - 2
MediaBrowser.Model/DTO/UserItemDataDto.cs

@@ -1,4 +1,5 @@
-using System.ComponentModel;
+using System;
+using System.ComponentModel;
 using ProtoBuf;
 
 namespace MediaBrowser.Model.Dto
@@ -44,11 +45,18 @@ namespace MediaBrowser.Model.Dto
         [ProtoMember(5)]
         public bool? Likes { get; set; }
 
+        /// <summary>
+        /// Gets or sets the last played date.
+        /// </summary>
+        /// <value>The last played date.</value>
+        [ProtoMember(6)]
+        public DateTime? LastPlayedDate { get; set; }
+
         /// <summary>
         /// Gets or sets a value indicating whether this <see cref="UserItemDataDto" /> is played.
         /// </summary>
         /// <value><c>true</c> if played; otherwise, <c>false</c>.</value>
-        [ProtoMember(6)]
+        [ProtoMember(7)]
         public bool Played { get; set; }
 
         public event PropertyChangedEventHandler PropertyChanged;

+ 0 - 3
MediaBrowser.sln

@@ -221,7 +221,4 @@ Global
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE
 	EndGlobalSection
-	GlobalSection(Performance) = preSolution
-		HasPerformanceSessions = true
-	EndGlobalSection
 EndGlobal