updated web client to respond to new remote control commands
This commit is contained in:
parent
dfab2be6f5
commit
97a65ab8ad
|
@ -166,7 +166,7 @@ namespace MediaBrowser.Api
|
|||
[ApiMember(Name = "Header", Description = "The message header.", IsRequired = true, DataType = "string", ParameterType = "query", Verb = "POST")]
|
||||
public string Header { get; set; }
|
||||
|
||||
[ApiMember(Name = "TimeoutMs", Description = "The message timeout. If omitted the user will have to confirm viewing the message.", IsRequired = true, DataType = "string", ParameterType = "query", Verb = "POST")]
|
||||
[ApiMember(Name = "TimeoutMs", Description = "The message timeout. If omitted the user will have to confirm viewing the message.", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "POST")]
|
||||
public long? TimeoutMs { get; set; }
|
||||
}
|
||||
|
||||
|
@ -399,7 +399,7 @@ namespace MediaBrowser.Api
|
|||
|
||||
Data = new MessageCommand
|
||||
{
|
||||
Header = request.Header,
|
||||
Header = string.IsNullOrEmpty(request.Header) ? "Message from Server" : request.Header,
|
||||
TimeoutMs = request.TimeoutMs,
|
||||
Text = request.Text
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user