Skip to content

Commit

Permalink
Merge pull request jellyfin#12073 from Shadowghost/fix-mb
Browse files Browse the repository at this point in the history
Fix Music Brainz release group query
  • Loading branch information
Bond-009 committed Jun 15, 2024
2 parents 78eb9b2 + 7ff3f6a commit 23a660e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public async Task<MetadataResult<MusicAlbum>> GetMetadata(AlbumInfo info, Cancel
// If we have a release ID but not a release group ID, lookup the release group
if (!string.IsNullOrWhiteSpace(releaseId) && string.IsNullOrWhiteSpace(releaseGroupId))
{
var release = await _musicBrainzQuery.LookupReleaseAsync(new Guid(releaseId), Include.Releases, cancellationToken).ConfigureAwait(false);
var release = await _musicBrainzQuery.LookupReleaseAsync(new Guid(releaseId), Include.ReleaseGroups, cancellationToken).ConfigureAwait(false);
releaseGroupId = release.ReleaseGroup?.Id.ToString();
result.HasMetadata = true;
}
Expand Down

0 comments on commit 23a660e

Please sign in to comment.