Exemple #1
0
        public override object Clone()
        {
            ChapterMetadata copy = new ChapterMetadata();

            copy.Title        = Title;
            copy.Description  = Description;
            copy.TrackNumber  = TrackNumber;
            copy.MetadataPath = MetadataPath;

            return(copy);
        }
Exemple #2
0
 internal Chapter()
 {
     Metadata  = new ChapterMetadata();
     AudioPath = new AudioPath();
 }
Exemple #3
0
 /// <summary>
 /// Creates a chapter off a single audio file and initializes
 /// the metadata with the track's metadata.
 /// </summary>
 /// <param name="track">Track to reference</param>
 internal Chapter(Track track)
 {
     AudioPath = new AudioPath(track.Path);
     Metadata  = new ChapterMetadata(track);
 }