2
0
Эх сурвалжийг харах

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

LukePulverenti 12 жил өмнө
parent
commit
bda23e1a23

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

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

+ 0 - 3
MediaBrowser.sln

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