예제 #1
0
 public void PlayIndex(int index)
 {
     position = 0;
     _playerState.SetPlayerState(PlayerState.Playing);
     timer.Start();
     PlayingTrack = _nowPlaying.NowPlayingList[index];
 }
예제 #2
0
        public bool PlayPath(string path)
        {
            var match = _nowPlaying.NowPlayingList.Find(metadata => metadata._id == path);

            if (match == null)
            {
                return(false);
            }

            PlayingTrack = match;
            return(true);
        }