ソースを参照

changed sessions id to a string

Luke Pulverenti 11 年 前
コミット
b7d8e3a9dd

+ 1 - 1
MediaBrowser.Controller/Dto/SessionInfoDtoBuilder.cs

@@ -20,7 +20,7 @@ namespace MediaBrowser.Controller.Dto
                 Client = session.Client,
                 DeviceId = session.DeviceId,
                 DeviceName = session.DeviceName,
-                Id = session.Id,
+                Id = session.Id.ToString("N"),
                 LastActivityDate = session.LastActivityDate,
                 NowPlayingPositionTicks = session.NowPlayingPositionTicks,
                 SupportsRemoteControl = session.SupportsRemoteControl,

+ 1 - 1
MediaBrowser.Model/Session/SessionInfoDto.cs

@@ -9,7 +9,7 @@ namespace MediaBrowser.Model.Session
         /// Gets or sets the id.
         /// </summary>
         /// <value>The id.</value>
-        public Guid Id { get; set; }
+        public string Id { get; set; }
 
         /// <summary>
         /// Gets or sets the user id.