The Free Software Media System - Server Backend & API
Merge pull request #7785 from dmitrylyzo/clear-transcodinginfo
Cody Robiberoea69213e5b47
diff --git a/Emby.Server.Implementations/Session/SessionManager.cs b/Emby.Server.Implementations/Session/SessionManager.csindex e2fa93a380..d08fedd111 100644--- a/Emby.Server.Implementations/Session/SessionManager.cs+++ b/Emby.Server.Implementations/Session/SessionManager.cs@@ -770,6 +770,11 @@ namespace Emby.Server.Implementations.Sessionawait UpdateNowPlayingItem(session, info, libraryItem, !isAutomated).ConfigureAwait(false);+ if (!string.IsNullOrEmpty(session.DeviceId) && info.PlayMethod != PlayMethod.Transcode)+ {+ ClearTranscodingInfo(session.DeviceId);+ }+var users = GetUsers(session);// only update saved user data on actual check-ins, not automated ones