From 7ccbd705f43553ff358d6713c8d6ac7cc9e3c343 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Wed, 29 Mar 2023 10:58:30 +0100 Subject: 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 --- apps/plugins/pictureflow/pictureflow.c | 1 - 1 file changed, 1 deletion(-) (limited to 'apps/plugins') 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) start_index = rb->playlist_shuffle(*rb->current_tick, pf_tracks.sel); } rb->playlist_start(start_index, 0, 0); - rb->playlist_set_modified(NULL, false); old_shuffle = shuffle; #ifdef USEGSLIB if (!return_to_WPS) -- cgit v1.2.3