From 131497d78699c96c5d7b083cee4a980b090df409 Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Wed, 5 Jan 2022 18:28:01 +0100 Subject: PictureFlow: Don't sync playlist after every file Since we manually do it later, syncing after every file is unnecessary and can make the audio queue overflow Change-Id: Ia7ab6ee345b25a453c56f48ed0d330b04da6da94 --- apps/plugins/pictureflow/pictureflow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c index b1162597f2..bee1f580f7 100644 --- a/apps/plugins/pictureflow/pictureflow.c +++ b/apps/plugins/pictureflow/pictureflow.c @@ -3679,14 +3679,14 @@ static bool playlist_insert(int position, bool queue, bool create_new) if (!insert_whole_album) rb->playlist_insert_track(NULL, get_track_filename(pf_tracks.sel), - position, queue, true); + position, queue, false); else { int i = 0; do { rb->yield(); if (rb->playlist_insert_track(NULL, get_track_filename(i), - position, queue, true) < 0) + position, queue, false) < 0) break; if (position == PLAYLIST_INSERT_FIRST) position = PLAYLIST_INSERT; -- cgit v1.2.3