using System; namespace Jellyfin.Data.Entities.Libraries { /// /// An entity holding metadata for a track. /// public class TrackMetadata : ItemMetadata { /// /// Initializes a new instance of the class. /// /// The title or name of the object. /// ISO-639-3 3-character language codes. /// The track. public TrackMetadata(string title, string language, Track track) : base(title, language) { if (track == null) { throw new ArgumentNullException(nameof(track)); } track.TrackMetadata.Add(this); } /// /// Initializes a new instance of the class. /// /// /// Default constructor. Protected due to required properties, but present because EF needs it. /// protected TrackMetadata() { } } }