Change enum values

This commit is contained in:
David 2020-07-21 22:06:07 +02:00
parent be8cf1e9ef
commit cbf5c682e9
1 changed files with 2 additions and 2 deletions

View File

@ -157,7 +157,7 @@ namespace Jellyfin.Api.Controllers
var currentSession = RequestHelpers.GetSession(_sessionManager, _authorizationContext, Request);
var syncPlayRequest = new PlaybackRequest()
{
Type = bufferingDone ? PlaybackRequestType.BufferingDone : PlaybackRequestType.Buffering,
Type = bufferingDone ? PlaybackRequestType.Ready : PlaybackRequestType.Buffer,
When = when,
PositionTicks = positionTicks
};
@ -176,7 +176,7 @@ namespace Jellyfin.Api.Controllers
var currentSession = RequestHelpers.GetSession(_sessionManager, _authorizationContext, Request);
var syncPlayRequest = new PlaybackRequest()
{
Type = PlaybackRequestType.UpdatePing,
Type = PlaybackRequestType.Ping,
Ping = Convert.ToInt64(ping)
};
_syncPlayManager.HandleRequest(currentSession, syncPlayRequest, CancellationToken.None);