Exemplo n.º 1
0
        public void LoadSongs(List <string> filesPaths, string sourceFilePath)
        {
            this.State.FolderPath = sourceFilePath;

            SongCreator songCreator = new SongCreator();

            this.Songs.Clear();

            foreach (var file in filesPaths)
            {
                Song song = songCreator.Create(new TagSongBuilder(file));

                this.Songs.Add(song);
            }
        }
Exemplo n.º 2
0
        public ActionResult <SongPlaying> Get()
        {
            SongCreator s = new SongCreator();

            return(s.Song);
        }