summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/playback.c18
1 files changed, 7 insertions, 11 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 1d9914e..de12916 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -1949,17 +1949,13 @@ static int audio_check_new_track(void)
if (dir_skip)
{
dir_skip = false;
- if (playlist_next_dir(ci.new_track))
- {
- ci.new_track = 0;
- audio_rebuffer();
- goto skip_done;
- }
- else
- {
- LOGFQUEUE("audio >|= codec Q_CODEC_REQUEST_FAILED");
- return Q_CODEC_REQUEST_FAILED;
- }
+ /* regardless of the return value we need to rebuffer.
+ if it fails the old playlist will resume, else the
+ next dir will start playing */
+ playlist_next_dir(ci.new_track);
+ ci.new_track = 0;
+ audio_rebuffer();
+ goto skip_done;
}
if (new_playlist)