diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2023-03-29 10:58:30 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2023-10-01 11:05:29 -0400 |
commit | 7ccbd705f43553ff358d6713c8d6ac7cc9e3c343 (patch) | |
tree | cbd8b34688194715632f03e9248bb3a2e8a3dda7 /apps/tagtree.c | |
parent | 781f955aa2fb813dd87986cbcc22c1676a2dd9a9 (diff) | |
download | rockbox-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/tagtree.c')
-rw-r--r-- | apps/tagtree.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c index e715d4518b..78bf6bf255 100644 --- a/apps/tagtree.c +++ b/apps/tagtree.c | |||
@@ -2359,7 +2359,6 @@ static int tagtree_play_folder(struct tree_context* c) | |||
2359 | } | 2359 | } |
2360 | 2360 | ||
2361 | playlist_start(start_index, 0, 0); | 2361 | playlist_start(start_index, 0, 0); |
2362 | playlist_set_modified(NULL, false); | ||
2363 | return 0; | 2362 | return 0; |
2364 | } | 2363 | } |
2365 | 2364 | ||