~aleteoryx/muditaos

014d24f44bc484aa6260abd3bc7dff134b66993e — Lucjan Bryndza 4 years ago ad0936f
[MOS-24] Fix music player switch to the next track

Unsupported files prevent switching to the
next / last track.
1 files changed, 5 insertions(+), 0 deletions(-)

M module-apps/application-music-player/presenters/SongsPresenter.cpp
M module-apps/application-music-player/presenters/SongsPresenter.cpp => module-apps/application-music-player/presenters/SongsPresenter.cpp +5 -0
@@ 43,6 43,11 @@ namespace app::music_player
                          str(retCode).c_str(),
                          token.IsValid());
                refreshView();
                auto nextSongToPlay = songsModelInterface->getNextFilePath(filePath);
                if (nextSongToPlay.empty()) {
                    return;
                }
                play(nextSongToPlay);
                return;
            }