mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
add logging
This commit is contained in:
parent
8a50392ba7
commit
af599ed5d7
@ -370,6 +370,8 @@ namespace MediaBrowser.Api.UserLibrary
|
|||||||
|
|
||||||
public void Post(ReportPlaybackStopped request)
|
public void Post(ReportPlaybackStopped request)
|
||||||
{
|
{
|
||||||
|
Logger.Debug("ReportPlaybackStopped PlaySessionId: {0}", request.PlaySessionId ?? string.Empty);
|
||||||
|
|
||||||
if (!string.IsNullOrWhiteSpace(request.PlaySessionId))
|
if (!string.IsNullOrWhiteSpace(request.PlaySessionId))
|
||||||
{
|
{
|
||||||
ApiEntryPoint.Instance.KillTranscodingJobs(AuthorizationContext.GetAuthorizationInfo(Request).DeviceId, request.PlaySessionId, s => true);
|
ApiEntryPoint.Instance.KillTranscodingJobs(AuthorizationContext.GetAuthorizationInfo(Request).DeviceId, request.PlaySessionId, s => true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user