Skip to content

The Free Software Media System - Server Backend & API

Update Jellyfin.Api/Controllers/SessionController.cs

BaronGreenbackd8e8d298ea8c
diff --git a/Jellyfin.Api/Controllers/SessionController.cs b/Jellyfin.Api/Controllers/SessionController.cs
index 228d6c8341..3aa1642da5 100644
--- a/Jellyfin.Api/Controllers/SessionController.cs
+++ b/Jellyfin.Api/Controllers/SessionController.cs
@@ -160,7 +160,7 @@ namespace Jellyfin.Api.Controllers
[ProducesResponseType(StatusCodes.Status204NoContent)]
public ActionResult Play(
[FromRoute, Required] string sessionId,
- [FromRoute, Required] PlayCommand command,
+ [FromQuery, Required] PlayRequest playRequest,
[FromQuery] string itemIds,
[FromQuery] long? startPositionTicks)
{