Skip to content

Commit 31919c6

Browse files
CodeWithMadecriptor
authored andcommitted
fix Asf Tags: MusicBrainzTrackId + Add MusicBrainzRecordingId, MusicBrainzWorkId
1 parent 57c0850 commit 31919c6

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

src/TaglibSharp/Asf/Tag.cs

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1176,15 +1176,49 @@ public override string MusicBrainzReleaseArtistId {
11761176
/// instance or null if no value is present.
11771177
/// </value>
11781178
/// <remarks>
1179-
/// This property is implemented using the "MusicBrainz/Track Id"
1179+
/// This property is implemented using the "MusicBrainz/Release Track Id"
11801180
/// field.
11811181
/// http://musicbrainz.org/doc/PicardTagMapping
11821182
/// </remarks>
11831183
public override string MusicBrainzTrackId {
1184+
get { return GetDescriptorString ("MusicBrainz/Release Track Id"); }
1185+
set { SetDescriptorString (value, "MusicBrainz/Release Track Id"); }
1186+
}
1187+
1188+
/// <summary>
1189+
/// Gets and sets the MusicBrainz RecordingID
1190+
/// </summary>
1191+
/// <value>
1192+
/// A <see cref="string" /> containing the MusicBrainz
1193+
/// RecordingID for the media described by the current
1194+
/// instance, or null if no value is present.
1195+
/// </value>
1196+
/// <remarks>
1197+
/// This property is implemented using the "MusicBrainz/Track Id" field.
1198+
/// http://musicbrainz.org/doc/PicardTagMapping
1199+
/// </remarks>
1200+
public override string MusicBrainzRecordingId {
11841201
get { return GetDescriptorString ("MusicBrainz/Track Id"); }
11851202
set { SetDescriptorString (value, "MusicBrainz/Track Id"); }
11861203
}
11871204

1205+
/// <summary>
1206+
/// Gets and sets the MusicBrainz WorkID
1207+
/// </summary>
1208+
/// <value>
1209+
/// A <see cref="string" /> containing the MusicBrainz
1210+
/// WorkID for the media described by the current
1211+
/// instance, or null if no value is present.
1212+
/// </value>
1213+
/// <remarks>
1214+
/// This property is implemented using the "MusicBrainz/Work Id" field.
1215+
/// http://musicbrainz.org/doc/PicardTagMapping
1216+
/// </remarks>
1217+
public override string MusicBrainzWorkId {
1218+
get { return GetDescriptorString ("MusicBrainz/Work Id"); }
1219+
set { SetDescriptorString (value, "MusicBrainz/Work Id"); }
1220+
}
1221+
11881222
/// <summary>
11891223
/// Gets and sets the MusicBrainz Disc ID of
11901224
/// the media described by the current instance.

0 commit comments

Comments
 (0)