summaryrefslogtreecommitdiff
path: root/apps/plugins/pictureflow
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2023-03-29 10:58:30 +0100
committerAidan MacDonald <amachronic@protonmail.com>2023-10-01 11:05:29 -0400
commit7ccbd705f43553ff358d6713c8d6ac7cc9e3c343 (patch)
treecbd8b34688194715632f03e9248bb3a2e8a3dda7 /apps/plugins/pictureflow
parent781f955aa2fb813dd87986cbcc22c1676a2dd9a9 (diff)
downloadrockbox-7ccbd705f43553ff358d6713c8d6ac7cc9e3c343.tar.gz
rockbox-7ccbd705f43553ff358d6713c8d6ac7cc9e3c343.zip
playlist: Rework playlist modified detection and dirplay
The modified state is now an explicit flag that has to be set whenever a user-triggered modification occurs. This is recorded in the control file to ensure it doesn't get lost after resume. There may be some places I missed where the modified flag should be set/cleared, but it seems to work well enough right now. Change-Id: I3bdba358fc495b4ca84e389ac6e7bcbef820c219
Diffstat (limited to 'apps/plugins/pictureflow')
-rw-r--r--apps/plugins/pictureflow/pictureflow.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c
index c49d23dc49..1c380c7f28 100644
--- a/apps/plugins/pictureflow/pictureflow.c
+++ b/apps/plugins/pictureflow/pictureflow.c
@@ -4281,7 +4281,6 @@ static bool start_playback(bool return_to_WPS)
4281 start_index = rb->playlist_shuffle(*rb->current_tick, pf_tracks.sel); 4281 start_index = rb->playlist_shuffle(*rb->current_tick, pf_tracks.sel);
4282 } 4282 }
4283 rb->playlist_start(start_index, 0, 0); 4283 rb->playlist_start(start_index, 0, 0);
4284 rb->playlist_set_modified(NULL, false);
4285 old_shuffle = shuffle; 4284 old_shuffle = shuffle;
4286#ifdef USEGSLIB 4285#ifdef USEGSLIB
4287 if (!return_to_WPS) 4286 if (!return_to_WPS)