aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/MusicManager.cs
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2024-01-17 08:51:39 -0700
committerGitHub <noreply@github.com>2024-01-17 08:51:39 -0700
commite7b8d45bbb0f2b832245dae7ac0d401c56cb10a4 (patch)
tree6bf0e4b1edf5723f8e08404ac21b4fbc99f63031 /Emby.Server.Implementations/Library/MusicManager.cs
parent484ccf7f284dcd074e06ed90af6cde4864adecea (diff)
Use helper function to compare guid (#10825)
Diffstat (limited to 'Emby.Server.Implementations/Library/MusicManager.cs')
-rw-r--r--Emby.Server.Implementations/Library/MusicManager.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/MusicManager.cs b/Emby.Server.Implementations/Library/MusicManager.cs
index b2439a87e..078f4ad21 100644
--- a/Emby.Server.Implementations/Library/MusicManager.cs
+++ b/Emby.Server.Implementations/Library/MusicManager.cs
@@ -7,6 +7,7 @@ using System.Collections.Generic;
using System.Linq;
using Jellyfin.Data.Entities;
using Jellyfin.Data.Enums;
+using Jellyfin.Extensions;
using MediaBrowser.Controller.Dto;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Entities.Audio;
@@ -80,7 +81,7 @@ namespace Emby.Server.Implementations.Library
{
return Guid.Empty;
}
- }).Where(i => !i.Equals(default)).ToArray();
+ }).Where(i => !i.IsEmpty()).ToArray();
return GetInstantMixFromGenreIds(genreIds, user, dtoOptions);
}