aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/UserLibrary/PlaystateService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-01-31 16:24:57 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-01-31 16:24:57 -0500
commit9a0c5e3bda434c52b285fd93ac94e482fd365cd2 (patch)
treeeff82b25fa1de3a1ce03df1ff317064b865ac884 /MediaBrowser.Api/UserLibrary/PlaystateService.cs
parent88bb75bec493e1c6c61e08aaa56eef2c43293635 (diff)
add NextMediaType
Diffstat (limited to 'MediaBrowser.Api/UserLibrary/PlaystateService.cs')
-rw-r--r--MediaBrowser.Api/UserLibrary/PlaystateService.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/MediaBrowser.Api/UserLibrary/PlaystateService.cs b/MediaBrowser.Api/UserLibrary/PlaystateService.cs
index 5fe6c1771..504dd29a7 100644
--- a/MediaBrowser.Api/UserLibrary/PlaystateService.cs
+++ b/MediaBrowser.Api/UserLibrary/PlaystateService.cs
@@ -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")]
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>
/// Gets or sets the position ticks.
/// </summary>
@@ -363,7 +366,8 @@ namespace MediaBrowser.Api.UserLibrary
PositionTicks = request.PositionTicks,
MediaSourceId = request.MediaSourceId,
PlaySessionId = request.PlaySessionId,
- LiveStreamId = request.LiveStreamId
+ LiveStreamId = request.LiveStreamId,
+ NextMediaType = request.NextMediaType
});
}