add NextMediaType

This commit is contained in:
Luke Pulverenti 2017-01-31 16:24:57 -05:00
parent 88bb75bec4
commit 9a0c5e3bda
2 changed files with 7 additions and 1 deletions

View file

@ -213,6 +213,9 @@ namespace MediaBrowser.Api.UserLibrary
[ApiMember(Name = "MediaSourceId", Description = "The id of the MediaSource", IsRequired = true, DataType = "string", ParameterType = "query", Verb = "DELETE")] [ApiMember(Name = "MediaSourceId", Description = "The id of the MediaSource", IsRequired = true, DataType = "string", ParameterType = "query", Verb = "DELETE")]
public string MediaSourceId { get; set; } public string MediaSourceId { get; set; }
[ApiMember(Name = "NextMediaType", Description = "The next media type that will play", IsRequired = true, DataType = "string", ParameterType = "query", Verb = "DELETE")]
public string NextMediaType { get; set; }
/// <summary> /// <summary>
/// Gets or sets the position ticks. /// Gets or sets the position ticks.
/// </summary> /// </summary>
@ -363,7 +366,8 @@ namespace MediaBrowser.Api.UserLibrary
PositionTicks = request.PositionTicks, PositionTicks = request.PositionTicks,
MediaSourceId = request.MediaSourceId, MediaSourceId = request.MediaSourceId,
PlaySessionId = request.PlaySessionId, PlaySessionId = request.PlaySessionId,
LiveStreamId = request.LiveStreamId LiveStreamId = request.LiveStreamId,
NextMediaType = request.NextMediaType
}); });
} }

View file

@ -47,5 +47,7 @@ namespace MediaBrowser.Model.Session
/// </summary> /// </summary>
/// <value><c>true</c> if failed; otherwise, <c>false</c>.</value> /// <value><c>true</c> if failed; otherwise, <c>false</c>.</value>
public bool Failed { get; set; } public bool Failed { get; set; }
public string NextMediaType { get; set; }
} }
} }