public void JumpToPlaylistIndex(int playlistIndex) { Log.Debug("Jumping to index in playlist " + playlistIndex); this.Playlist.CurrentPosition = playlistIndex - 1; AudioInteractor.StopSong(); //this.Play(); }
public void Back() { Log.Debug("Back-ing"); Playlist.MoveBackOneSong(); Playlist.MoveBackOneSong(); AudioInteractor.StopSong(); }
public void Next() { Log.Debug("Next-ing."); AudioInteractor.StopSong(); //Stop(); /*Playlist.MoveToNextSong(); * Play();*/ }
public void JumpToPlaylistByPath(string path) { Log.Debug("Jumping to song " + path + " in playlist."); var found = this.Playlist.Where(X => X.FullPath == path).LastOrDefault(); if (found == null) { return; } var playlistIndex = this.Playlist.LastIndexOf(found); //var playlistIndex = this.Playlist.IndexOf(found); this.Playlist.CurrentPosition = playlistIndex - 1; //if (_stopped) // this.Play(); AudioInteractor.StopSong(); }
public void Stop() { Log.Debug("Stopping"); _stopped = true; AudioInteractor.StopSong(); }