* Disable shuffle mode. */
| 224 | * Disable shuffle mode. |
| 225 | */ |
| 226 | void MusicSystem::Unshuffle() |
| 227 | { |
| 228 | _settings_client.music.shuffle = false; |
| 229 | |
| 230 | uint set_index = this->GetSetIndex(); |
| 231 | this->active_playlist = this->standard_playlists[this->selected_playlist]; |
| 232 | this->SetPositionBySetIndex(set_index); |
| 233 | |
| 234 | InvalidateWindowData(WC_MUSIC_TRACK_SELECTION, 0); |
| 235 | InvalidateWindowData(WC_MUSIC_WINDOW, 0); |
| 236 | } |
| 237 | |
| 238 | /** Start/restart playback at current song */ |
| 239 | void MusicSystem::Play() |
no test coverage detected