Exemple #1
0
        public Mp3File(string path)
        {
            _content = File.Create(path);
            FullName = path;

            Tags = new Mp3Tags
            {
                Album  = _content.Tag.Album,
                Title  = _content.Tag.Title,
                Artist = _content.Tag.FirstPerformer,
                Genre  = _content.Tag.FirstGenre,
                Track  = _content.Tag.Track
            };
        }
Exemple #2
0
        public Mp3File(string path)
        {
            _content = File.Create(path);
            FullName = path;

            Tags = new Mp3Tags
            {
                Album = _content.Tag.Album,
                Title = _content.Tag.Title,
                Artist = _content.Tag.FirstPerformer,
                Genre = _content.Tag.FirstGenre,
                Track = _content.Tag.Track
            };
        }
Exemple #3
0
 public FakeMp3File(Mp3Tags tags, string path)
 {
     Tags = tags;
     FullName = path;
 }