summaryrefslogtreecommitdiff
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)
250 if y >= max_h then 250 if y >= max_h then
251 do_progress_header() 251 do_progress_header()
252 rb.lcd_clear_display() 252 rb.lcd_clear_display()
253 rb.yield()
253 y = h 254 y = h
254 end 255 end
255 end 256 end
@@ -402,7 +403,7 @@ function create_random_playlist(database, playlist, trackcount, play)
402 rb.splash(10, sREMOVEPLAYLIST) 403 rb.splash(10, sREMOVEPLAYLIST)
403 rb.audio("stop") 404 rb.audio("stop")
404 os.remove( playlistpath .. "/" .. playlist) 405 os.remove( playlistpath .. "/" .. playlist)
405 rb.playlist("remove_all_tracks") 406 --rb.playlist("remove_all_tracks")
406 rb.playlist("create", playlistpath .. "/", playlist) 407 rb.playlist("create", playlistpath .. "/", playlist)
407--[[ --profiling 408--[[ --profiling
408 local starttime = rb.current_tick(); 409 local starttime = rb.current_tick();