diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-08-28 10:00:51 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-08-28 10:00:51 -0400 |
| commit | b7d8e3a9dde18b14d2aef94c3f5762694db0b26d (patch) | |
| tree | bdee9c95c524a6990ffb27e468498e9ba2a1446a | |
| parent | 98169502d1532f2882bbe92e516a60413d614be9 (diff) | |
changed sessions id to a string
| -rw-r--r-- | MediaBrowser.Controller/Dto/SessionInfoDtoBuilder.cs | 2 | ||||
| -rw-r--r-- | MediaBrowser.Model/Session/SessionInfoDto.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Dto/SessionInfoDtoBuilder.cs b/MediaBrowser.Controller/Dto/SessionInfoDtoBuilder.cs index b2ce4a6ba..bd8eb41e3 100644 --- a/MediaBrowser.Controller/Dto/SessionInfoDtoBuilder.cs +++ b/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, diff --git a/MediaBrowser.Model/Session/SessionInfoDto.cs b/MediaBrowser.Model/Session/SessionInfoDto.cs index 93d531806..cddfecdd1 100644 --- a/MediaBrowser.Model/Session/SessionInfoDto.cs +++ b/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. |
