[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rockbox-cvs
Subject:    WPS context menu: Set modified after reshuffle
From:       rockbox-gerrit-noreply--- via rockbox-cvs <rockbox-cvs () lists ! haxx ! se>
Date:       2023-10-17 16:29:41
Message-ID: 202310171629.39HGTf6g2464028 () archos ! rockbox ! org
[Download RAW message or body]

commit f932522d8acc012e88b8d30dbb08797e42517e8b
Author: Christian Soffke <christian.soffke@gmail.com>
Date:   Mon Oct 16 19:45:10 2023 +0200

    WPS context menu: Set modified after reshuffle
    
    Prevents incorrect bookmarking of permanently
    (not just temporarily) shuffled playlists, which
    need to be resaved, before they can be correctly
    bookmarked.
    
    Change-Id: I157d3be9d05117f7566ca72f3e736f96b42a165d

diff --git a/apps/onplay.c b/apps/onplay.c
index 4157544d28..ba06d13183 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -209,6 +209,7 @@ static bool shuffle_playlist(void)
         return false;
     playlist_sort(NULL, true);
     playlist_randomise(NULL, current_tick, true);
+    playlist_set_modified(NULL, true);
 
     return false;
 }
-- 
rockbox-cvs mailing list
rockbox-cvs@lists.haxx.se
https://lists.haxx.se/mailman/listinfo/rockbox-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic