Skip to content

Commit

Permalink
Allow / for a MBID delimiter (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
lyarenei authored Oct 3, 2023
1 parent 397cdd8 commit 97df66c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ artifacts:
changelog: >
Fix
- Failing resubmit job (create cache file on first ever init) (#48 @lyarenei)
- Failing submissions due to different MBID separator ('/' instead of ';')
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,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(';'),
ArtistMbids = item.ProviderIds.GetValueOrDefault("MusicBrainzArtist")?.Split(';', '/'),
ReleaseGroupMbid = item.ProviderIds.GetValueOrDefault("MusicBrainzReleaseGroup"),
RecordingMbid = itemMetadata?.RecordingMbid,
TrackMbid = item.ProviderIds.GetValueOrDefault("MusicBrainzTrack"),
Expand Down

0 comments on commit 97df66c

Please sign in to comment.