From 3bb78b468d32289f4d83fbd4f95b7dd9fc93c983 Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Fri, 19 Feb 2021 16:04:42 +0100 Subject: Resume audio after user selects a new song Music currently doesn't begin playing after the user has selected a new song from a playlist or using the database/file browser, unless another item was already playing or the previous player state was "stopped" but not "paused". This results in an inconsistent user experience. The user's likely intention is to immediately listen to a song they select regardless of the previous player state. Change-Id: I574c3fe5c12fee544da0569182fc9573d307ac2f --- apps/playlist.c | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/playlist.c b/apps/playlist.c index 2c3fa4958e..3fa8f80729 100644 --- a/apps/playlist.c +++ b/apps/playlist.c @@ -2611,6 +2611,7 @@ void playlist_start(int start_index, unsigned long elapsed, playlist->started = true; sync_control(playlist, false); audio_play(elapsed, offset); + audio_resume(); } /* Returns false if 'steps' is out of bounds, else true */ -- cgit v1.2.3