summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/lua_scripts/random_playlist.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/lua_scripts/random_playlist.lua b/apps/plugins/lua_scripts/random_playlist.lua
index 6e4dbe25e2..c87b005a49 100644
--- a/apps/plugins/lua_scripts/random_playlist.lua
+++ b/apps/plugins/lua_scripts/random_playlist.lua
@@ -250,6 +250,7 @@ function create_random_playlist(database, playlist, trackcount, play)
if y >= max_h then
do_progress_header()
rb.lcd_clear_display()
+ rb.yield()
y = h
end
end
@@ -402,7 +403,7 @@ function create_random_playlist(database, playlist, trackcount, play)
rb.splash(10, sREMOVEPLAYLIST)
rb.audio("stop")
os.remove( playlistpath .. "/" .. playlist)
- rb.playlist("remove_all_tracks")
+ --rb.playlist("remove_all_tracks")
rb.playlist("create", playlistpath .. "/", playlist)
--[[ --profiling
local starttime = rb.current_tick();