mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-20 07:45:26 +03:00
fix progress ping
This commit is contained in:
@@ -337,7 +337,7 @@ namespace MediaBrowser.Api.UserLibrary
|
||||
{
|
||||
if (!string.IsNullOrWhiteSpace(request.PlaySessionId))
|
||||
{
|
||||
ApiEntryPoint.Instance.PingTranscodingJob(request.PlaySessionId);
|
||||
ApiEntryPoint.Instance.PingTranscodingJob(request.PlaySessionId, request.IsPaused);
|
||||
}
|
||||
|
||||
request.SessionId = GetSession().Result.Id;
|
||||
@@ -349,7 +349,7 @@ namespace MediaBrowser.Api.UserLibrary
|
||||
|
||||
public void Post(PingPlaybackSession request)
|
||||
{
|
||||
ApiEntryPoint.Instance.PingTranscodingJob(request.PlaySessionId);
|
||||
ApiEntryPoint.Instance.PingTranscodingJob(request.PlaySessionId, null);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user