Skip to content

Commit 57c0850

Browse files
CodeWithMadecriptor
authored andcommitted
fix Ape Tags: MusicBrainzTrackId + Add MusicBrainzRecordingId, MusicBrainzWorkId
1 parent 1c81281 commit 57c0850

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

src/TaglibSharp/Ape/Tag.cs

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1420,14 +1420,48 @@ public override string MusicBrainzReleaseArtistId {
14201420
/// or <see langword="null" /> if no value is present.
14211421
/// </value>
14221422
/// <remarks>
1423-
/// This property is implemented using the "MUSICBRAINZ_TRACKID" item.
1423+
/// This property is implemented using the "MUSICBRAINZ_RELEASETRACKID" item.
14241424
/// http://musicbrainz.org/doc/PicardTagMapping
14251425
/// </remarks>
14261426
public override string MusicBrainzTrackId {
1427+
get { return GetItemAsString ("MUSICBRAINZ_RELEASETRACKID"); }
1428+
set { SetValue ("MUSICBRAINZ_RELEASETRACKID", value); }
1429+
}
1430+
1431+
/// <summary>
1432+
/// Gets and sets the MusicBrainz RecordingID
1433+
/// </summary>
1434+
/// <value>
1435+
/// A <see cref="string" /> containing the MusicBrainz
1436+
/// RecordingID for the media described by the current
1437+
/// instance, or null if no value is present.
1438+
/// </value>
1439+
/// <remarks>
1440+
/// This property is implemented using the "MUSICBRAINZ_TRACKID" frame.
1441+
/// http://musicbrainz.org/doc/PicardTagMapping
1442+
/// </remarks>
1443+
public override string MusicBrainzRecordingId {
14271444
get { return GetItemAsString ("MUSICBRAINZ_TRACKID"); }
14281445
set { SetValue ("MUSICBRAINZ_TRACKID", value); }
14291446
}
14301447

1448+
/// <summary>
1449+
/// Gets and sets the MusicBrainz WorkID
1450+
/// </summary>
1451+
/// <value>
1452+
/// A <see cref="string" /> containing the MusicBrainz
1453+
/// WorkID for the media described by the current
1454+
/// instance, or null if no value is present.
1455+
/// </value>
1456+
/// <remarks>
1457+
/// This property is implemented using the "MUSICBRAINZ_WORKID" frame.
1458+
/// http://musicbrainz.org/doc/PicardTagMapping
1459+
/// </remarks>
1460+
public override string MusicBrainzWorkId {
1461+
get { return GetItemAsString ("MUSICBRAINZ_WORKID"); }
1462+
set { SetValue ("MUSICBRAINZ_WORKID", value); }
1463+
}
1464+
14311465
/// <summary>
14321466
/// Gets and sets the MusicBrainz Disc ID of the media
14331467
/// represented by the current instance.

0 commit comments

Comments
 (0)