Skip to content

Commit

Permalink
Fix submissions of multiple artists in artist_mbids (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
moisespr123 authored Dec 7, 2024
1 parent 5466426 commit e30bc64
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public static Listen AsListen(this Audio item, long? timestamp = null, AudioItem
SubmissionClient = Plugin.FullName,
SubmissionClientVersion = Plugin.Version,
ReleaseMbid = item.ProviderIds.GetValueOrDefault("MusicBrainzAlbum"),
ArtistMbids = item.ProviderIds.GetValueOrDefault("MusicBrainzArtist")?.Split(';', '/', ',').Select(s => s.Trim()).ToArray(),
ArtistMbids = item.ProviderIds.GetValueOrDefault("MusicBrainzArtist")?.Split(';', '/', ',', (char)0x1F).Select(s => s.Trim()).ToArray(),
ReleaseGroupMbid = item.ProviderIds.GetValueOrDefault("MusicBrainzReleaseGroup"),
RecordingMbid = itemMetadata?.RecordingMbid,
TrackMbid = item.ProviderIds.GetValueOrDefault("MusicBrainzTrack"),
Expand Down

0 comments on commit e30bc64

Please sign in to comment.