aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/SessionController.cs
diff options
context:
space:
mode:
authorBaronGreenback <jimcartlidge@yahoo.co.uk>2020-09-20 12:44:10 +0100
committerGitHub <noreply@github.com>2020-09-20 12:44:10 +0100
commit9cb37ae9c217146d94949a31df86ec3c85687ad8 (patch)
treee998a6966961a3f5fb7ae7b7dfa8e24b8aff91a6 /Jellyfin.Api/Controllers/SessionController.cs
parent701d54260d44d7750ddc757f9957a9f0bdee781b (diff)
Update Jellyfin.Api/Controllers/SessionController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
Diffstat (limited to 'Jellyfin.Api/Controllers/SessionController.cs')
-rw-r--r--Jellyfin.Api/Controllers/SessionController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/SessionController.cs b/Jellyfin.Api/Controllers/SessionController.cs
index 1d7dc7c8a..3720e821f 100644
--- a/Jellyfin.Api/Controllers/SessionController.cs
+++ b/Jellyfin.Api/Controllers/SessionController.cs
@@ -166,7 +166,7 @@ namespace Jellyfin.Api.Controllers
{
var playRequest = new PlayRequest
{
- ItemIds = itemIds.Split(',').Select(p => Guid.Parse(p)).ToArray(),
+ ItemIds = RequestHelpers.GetGuids(itemIds),
StartPositionTicks = startPositionTicks,
PlayCommand = playCommand
};