Merge pull request #7785 from dmitrylyzo/clear-transcodinginfo

Clear TranscodingInfo if play method changed
pull/7792/head
Cody Robibero 2 years ago committed by GitHub
commit c9491cf317
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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