mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-29 21:43:05 +01:00
add logging
This commit is contained in:
parent
8a50392ba7
commit
af599ed5d7
1 changed files with 2 additions and 0 deletions
|
|
@ -370,6 +370,8 @@ namespace MediaBrowser.Api.UserLibrary
|
|||
|
||||
public void Post(ReportPlaybackStopped request)
|
||||
{
|
||||
Logger.Debug("ReportPlaybackStopped PlaySessionId: {0}", request.PlaySessionId ?? string.Empty);
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(request.PlaySessionId))
|
||||
{
|
||||
ApiEntryPoint.Instance.KillTranscodingJobs(AuthorizationContext.GetAuthorizationInfo(Request).DeviceId, request.PlaySessionId, s => true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue