fix progress ping

This commit is contained in:
Luke Pulverenti
2016-03-21 23:15:26 -04:00
parent 95250b9f22
commit e15a4328fb
2 changed files with 12 additions and 6 deletions

View File

@@ -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>