1
0
Fork 0
forked from len0rd/rockbox

[feature] playlist. show search progressbar when iterating playlist entries

Change-Id: Ib38363f7495ca523e7cc401c0d39e060ed1705ad
This commit is contained in:
William Wilgus 2024-07-20 00:06:31 -04:00 committed by William Wilgus
parent 82cf845625
commit 072228bb70
4 changed files with 24 additions and 13 deletions

View file

@ -1452,7 +1452,7 @@ static int retrieve_entries(struct tree_context *c, int offset, bool init)
#else
true
#endif
, 0);
, 0, 0, 0);
if (c->currtable == ALLSUBENTRIES)
{
@ -1676,7 +1676,7 @@ entry_skip_formatter:
if (init)
{
if (!show_search_progress(false, total_count))
if (!show_search_progress(false, total_count, 0, 0))
{ /* user aborted */
tagcache_search_finish(&tcs);
tree_unlock_cache(c);
@ -1710,7 +1710,7 @@ entry_skip_formatter:
while (tagcache_get_next(&tcs, tcs_buf, tcs_bufsz))
{
if (!show_search_progress(false, total_count))
if (!show_search_progress(false, total_count, 0, 0))
break;
total_count++;
}
@ -2229,7 +2229,7 @@ static bool tagtree_insert_selection(int position, bool queue,
#else
true
#endif
, 0);
, 0, 0, 0);
newtable = tagtree_get_entry(tc, tc->selected_item)->newtable;