File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1216,7 +1216,7 @@ public override DateTime? DateTagged {
1216
1216
public override string MusicBrainzArtistId {
1217
1217
get {
1218
1218
string [ ] artistIds = GetField ( "MUSICBRAINZ_ARTISTID" ) ;
1219
- return string . Join ( "/" , artistIds ) ;
1219
+ return artistIds . Length == 0 ? null : string . Join ( "/" , artistIds ) ;
1220
1220
}
1221
1221
set {
1222
1222
string [ ] artistIds = value . Split ( '/' ) ;
@@ -1273,7 +1273,7 @@ public override string MusicBrainzReleaseId {
1273
1273
public override string MusicBrainzReleaseArtistId {
1274
1274
get {
1275
1275
string [ ] releaseArtistIds = GetField ( "MUSICBRAINZ_ALBUMARTISTID" ) ;
1276
- return string . Join ( "/" , releaseArtistIds ) ;
1276
+ return releaseArtistIds . Length == 0 ? null : string . Join ( "/" , releaseArtistIds ) ;
1277
1277
}
1278
1278
set {
1279
1279
string [ ] releaseArtistIds = value . Split ( '/' ) ;
You can’t perform that action at this time.
0 commit comments