Update SessionController.cs

pull/4173/head
BaronGreenback 4 years ago committed by GitHub
parent 7050525f6b
commit 701d54260d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -161,12 +161,12 @@ namespace Jellyfin.Api.Controllers
public ActionResult Play(
[FromRoute, Required] string sessionId,
[FromQuery, Required] PlayCommand playCommand,
[FromQuery] Guid itemIds,
[FromQuery, Required] string itemIds,
[FromQuery] long? startPositionTicks)
{
var playRequest = new PlayRequest
{
ItemIds = new[] { itemIds },
ItemIds = itemIds.Split(',').Select(p => Guid.Parse(p)).ToArray(),
StartPositionTicks = startPositionTicks,
PlayCommand = playCommand
};

Loading…
Cancel
Save