| 
														
															@@ -46,6 +46,14 @@ namespace MediaBrowser.Api 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         [ApiMember(Name = "Id", Description = "Session Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "POST")] 
														 | 
														
														 | 
														
															         [ApiMember(Name = "Id", Description = "Session Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "POST")] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public Guid Id { get; set; } 
														 | 
														
														 | 
														
															         public Guid Id { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        /// <summary> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        /// Gets or sets the UserId. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        /// </summary> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        /// <value>The id.</value> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        [ApiMember(Name = "UserId", Description = "The controlling User Id", IsRequired = false, DataType = "string", ParameterType = "path", Verb = "POST")] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        public Guid UserId { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //TODO IsRequired = false shall be changed to true once the clients has been updated and the new ApiClient is in use 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <summary> 
														 | 
														
														 | 
														
															         /// <summary> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// Artist, Genre, Studio, Person, or any kind of BaseItem 
														 | 
														
														 | 
														
															         /// Artist, Genre, Studio, Person, or any kind of BaseItem 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// </summary> 
														 | 
														
														 | 
														
															         /// </summary> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -88,6 +96,14 @@ namespace MediaBrowser.Api 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         [ApiMember(Name = "Id", Description = "Session Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "POST")] 
														 | 
														
														 | 
														
															         [ApiMember(Name = "Id", Description = "Session Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "POST")] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public Guid Id { get; set; } 
														 | 
														
														 | 
														
															         public Guid Id { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        /// <summary> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        /// Gets or sets the UserId. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        /// </summary> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        /// <value>The id.</value> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        [ApiMember(Name = "UserId", Description = "The controlling User Id", IsRequired = false, DataType = "string", ParameterType = "path", Verb = "POST")] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        public Guid UserId { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //TODO IsRequired = false shall be changed to true once the clients has been updated and the new ApiClient is in use 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <summary> 
														 | 
														
														 | 
														
															         /// <summary> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// Artist, Genre, Studio, Person, or any kind of BaseItem 
														 | 
														
														 | 
														
															         /// Artist, Genre, Studio, Person, or any kind of BaseItem 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// </summary> 
														 | 
														
														 | 
														
															         /// </summary> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -121,6 +137,14 @@ namespace MediaBrowser.Api 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         [ApiMember(Name = "Id", Description = "Session Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "POST")] 
														 | 
														
														 | 
														
															         [ApiMember(Name = "Id", Description = "Session Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "POST")] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public Guid Id { get; set; } 
														 | 
														
														 | 
														
															         public Guid Id { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        /// <summary> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        /// Gets or sets the UserId. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        /// </summary> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        /// <value>The id.</value> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        [ApiMember(Name = "UserId", Description = "The controlling User Id", IsRequired = false, DataType = "string", ParameterType = "path", Verb = "POST")] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        public Guid UserId { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //TODO IsRequired = false shall be changed to true once the clients has been updated and the new ApiClient is in use 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <summary> 
														 | 
														
														 | 
														
															         /// <summary> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// Gets or sets the position to seek to 
														 | 
														
														 | 
														
															         /// Gets or sets the position to seek to 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// </summary> 
														 | 
														
														 | 
														
															         /// </summary> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -146,6 +170,14 @@ namespace MediaBrowser.Api 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         [ApiMember(Name = "Id", Description = "Session Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "POST")] 
														 | 
														
														 | 
														
															         [ApiMember(Name = "Id", Description = "Session Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "POST")] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public Guid Id { get; set; } 
														 | 
														
														 | 
														
															         public Guid Id { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        /// <summary> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        /// Gets or sets the UserId. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        /// </summary> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        /// <value>The id.</value> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        [ApiMember(Name = "UserId", Description = "The controlling User Id", IsRequired = false, DataType = "string", ParameterType = "path", Verb = "POST")] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        public Guid UserId { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //TODO IsRequired = false shall be changed to true once the clients has been updated and the new ApiClient is in use 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// <summary> 
														 | 
														
														 | 
														
															         /// <summary> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// Gets or sets the command. 
														 | 
														
														 | 
														
															         /// Gets or sets the command. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         /// </summary> 
														 | 
														
														 | 
														
															         /// </summary> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -165,6 +197,14 @@ namespace MediaBrowser.Api 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         [ApiMember(Name = "Id", Description = "Session Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "POST")] 
														 | 
														
														 | 
														
															         [ApiMember(Name = "Id", Description = "Session Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "POST")] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public Guid Id { get; set; } 
														 | 
														
														 | 
														
															         public Guid Id { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        /// <summary> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        /// Gets or sets the UserId. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        /// </summary> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        /// <value>The id.</value> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        [ApiMember(Name = "UserId", Description = "The controlling User Id", IsRequired = false, DataType = "string", ParameterType = "path", Verb = "POST")] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        public Guid UserId { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        //TODO IsRequired = false shall be changed to true once the clients has been updated and the new ApiClient is in use 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         [ApiMember(Name = "Text", Description = "The message text.", IsRequired = true, DataType = "string", ParameterType = "query", Verb = "POST")] 
														 | 
														
														 | 
														
															         [ApiMember(Name = "Text", Description = "The message text.", IsRequired = true, DataType = "string", ParameterType = "query", Verb = "POST")] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public string Text { get; set; } 
														 | 
														
														 | 
														
															         public string Text { get; set; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -270,9 +310,10 @@ namespace MediaBrowser.Api 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         public void Post(SendPlaystateCommand request) 
														 | 
														
														 | 
														
															         public void Post(SendPlaystateCommand request) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        {             
														 | 
													
												
											
												
													
														| 
														 | 
														
															             var command = new PlaystateRequest 
														 | 
														
														 | 
														
															             var command = new PlaystateRequest 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             { 
														 | 
														
														 | 
														
															             { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                UserId = request.UserId, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 Command = request.Command, 
														 | 
														
														 | 
														
															                 Command = request.Command, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 SeekPositionTicks = request.SeekPositionTicks 
														 | 
														
														 | 
														
															                 SeekPositionTicks = request.SeekPositionTicks 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             }; 
														 | 
														
														 | 
														
															             }; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -290,6 +331,7 @@ namespace MediaBrowser.Api 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         { 
														 | 
														
														 | 
														
															         { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             var command = new BrowseRequest 
														 | 
														
														 | 
														
															             var command = new BrowseRequest 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             { 
														 | 
														
														 | 
														
															             { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                UserId = request.UserId, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 Context = request.Context, 
														 | 
														
														 | 
														
															                 Context = request.Context, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 ItemId = request.ItemId, 
														 | 
														
														 | 
														
															                 ItemId = request.ItemId, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 ItemName = request.ItemName, 
														 | 
														
														 | 
														
															                 ItemName = request.ItemName, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -321,6 +363,7 @@ namespace MediaBrowser.Api 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             var command = new MessageCommand 
														 | 
														
														 | 
														
															             var command = new MessageCommand 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             { 
														 | 
														
														 | 
														
															             { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 Header = string.IsNullOrEmpty(request.Header) ? "Message from Server" : request.Header, 
														 | 
														
														 | 
														
															                 Header = string.IsNullOrEmpty(request.Header) ? "Message from Server" : request.Header, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                UserId = request.UserId, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 TimeoutMs = request.TimeoutMs, 
														 | 
														
														 | 
														
															                 TimeoutMs = request.TimeoutMs, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 Text = request.Text 
														 | 
														
														 | 
														
															                 Text = request.Text 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             }; 
														 | 
														
														 | 
														
															             }; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -339,7 +382,7 @@ namespace MediaBrowser.Api 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             var command = new PlayRequest 
														 | 
														
														 | 
														
															             var command = new PlayRequest 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             { 
														 | 
														
														 | 
														
															             { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 ItemIds = request.ItemIds.Split(',').ToArray(), 
														 | 
														
														 | 
														
															                 ItemIds = request.ItemIds.Split(',').ToArray(), 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                UserId = request.UserId, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 PlayCommand = request.PlayCommand, 
														 | 
														
														 | 
														
															                 PlayCommand = request.PlayCommand, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 StartPositionTicks = request.StartPositionTicks 
														 | 
														
														 | 
														
															                 StartPositionTicks = request.StartPositionTicks 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             }; 
														 | 
														
														 | 
														
															             }; 
														 |