Clear TranscodingInfo if play method changed

pull/7785/head
Dmitry Lyzo 2 years ago
parent 4c0510ee6d
commit ff4f624850

@ -770,6 +770,11 @@ namespace Emby.Server.Implementations.Session
await 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

Loading…
Cancel
Save