Fix some things that slipped through the cracks

This commit is contained in:
Bond_009
2022-10-11 23:37:29 +02:00
parent a274f4a688
commit f6af28cf96
15 changed files with 36 additions and 84 deletions

View File

@@ -108,7 +108,7 @@ namespace Jellyfin.Api.Controllers
{
var deviceProfile = GetDeviceProfile(container, transcodingContainer, audioCodec, transcodingProtocol, breakOnNonKeyFrames, transcodingAudioChannels, maxAudioSampleRate, maxAudioBitDepth, maxAudioChannels);
if (!userId.HasValue || userId.Value.Equals(Guid.Empty))
if (!userId.HasValue || userId.Value.Equals(default))
{
userId = User.GetUserId();
}