Return the current song, or a dummy if none */
| 307 | |
| 308 | /** Return the current song, or a dummy if none */ |
| 309 | MusicSystem::PlaylistEntry MusicSystem::GetCurrentSong() const |
| 310 | { |
| 311 | if (!this->IsPlaying()) return PlaylistEntry(BaseMusic::GetUsedSet(), 0); |
| 312 | return this->active_playlist[this->playlist_position]; |
| 313 | } |
| 314 | |
| 315 | /** Is one of the custom playlists selected? */ |
| 316 | bool MusicSystem::IsCustomPlaylist() const |
no test coverage detected