summaryrefslogtreecommitdiff
path: root/apps/tagtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tagtree.c')
-rw-r--r--apps/tagtree.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c
index 59be2a857f..fadeeb52e1 100644
--- a/apps/tagtree.c
+++ b/apps/tagtree.c
@@ -673,10 +673,10 @@ static void tagtree_unbuffer_event(struct mp3entry *id3, bool last_track)
673 673
674bool tagtree_export(void) 674bool tagtree_export(void)
675{ 675{
676 gui_syncsplash(0, true, str(LANG_CREATING)); 676 gui_syncsplash(0, str(LANG_CREATING));
677 if (!tagcache_create_changelog(&tcs)) 677 if (!tagcache_create_changelog(&tcs))
678 { 678 {
679 gui_syncsplash(HZ*2, true, str(LANG_FAILED)); 679 gui_syncsplash(HZ*2, str(LANG_FAILED));
680 } 680 }
681 681
682 return false; 682 return false;
@@ -684,10 +684,10 @@ bool tagtree_export(void)
684 684
685bool tagtree_import(void) 685bool tagtree_import(void)
686{ 686{
687 gui_syncsplash(0, true, str(LANG_WAIT)); 687 gui_syncsplash(0, str(LANG_WAIT));
688 if (!tagcache_import_changelog()) 688 if (!tagcache_import_changelog())
689 { 689 {
690 gui_syncsplash(HZ*2, true, str(LANG_FAILED)); 690 gui_syncsplash(HZ*2, str(LANG_FAILED));
691 } 691 }
692 692
693 return false; 693 return false;
@@ -882,7 +882,7 @@ static bool show_search_progress(bool init, int count)
882 882
883 if (current_tick - last_tick > HZ/4) 883 if (current_tick - last_tick > HZ/4)
884 { 884 {
885 gui_syncsplash(0, true, str(LANG_PLAYLIST_SEARCH_MSG), count, 885 gui_syncsplash(0, str(LANG_PLAYLIST_SEARCH_MSG), count,
886#if CONFIG_KEYPAD == PLAYER_PAD 886#if CONFIG_KEYPAD == PLAYER_PAD
887 str(LANG_STOP_ABORT) 887 str(LANG_STOP_ABORT)
888#else 888#else
@@ -1000,7 +1000,7 @@ static int retrieve_entries(struct tree_context *c, struct tagcache_search *tcs,
1000 ) 1000 )
1001 { 1001 {
1002 show_search_progress(true, 0); 1002 show_search_progress(true, 0);
1003 gui_syncsplash(0, true, str(LANG_PLAYLIST_SEARCH_MSG), 1003 gui_syncsplash(0, str(LANG_PLAYLIST_SEARCH_MSG),
1004 0, csi->name); 1004 0, csi->name);
1005 } 1005 }
1006 1006
@@ -1200,7 +1200,7 @@ static int retrieve_entries(struct tree_context *c, struct tagcache_search *tcs,
1200 1200
1201 if (!sort && (sort_inverse || sort_limit)) 1201 if (!sort && (sort_inverse || sort_limit))
1202 { 1202 {
1203 gui_syncsplash(HZ*4, true, str(LANG_SHOWDIR_BUFFER_FULL), total_count); 1203 gui_syncsplash(HZ*4, str(LANG_SHOWDIR_BUFFER_FULL), total_count);
1204 logf("Too small dir buffer"); 1204 logf("Too small dir buffer");
1205 return 0; 1205 return 0;
1206 } 1206 }
@@ -1303,7 +1303,7 @@ int tagtree_load(struct tree_context* c)
1303 { 1303 {
1304 c->dirlevel = 0; 1304 c->dirlevel = 0;
1305 count = load_root(c); 1305 count = load_root(c);
1306 gui_syncsplash(HZ, true, str(LANG_TAGCACHE_BUSY)); 1306 gui_syncsplash(HZ, str(LANG_TAGCACHE_BUSY));
1307 } 1307 }
1308 1308
1309 /* The _total_ numer of entries available. */ 1309 /* The _total_ numer of entries available. */
@@ -1468,7 +1468,7 @@ static bool insert_all_playlist(struct tree_context *c, int position, bool queue
1468 cpu_boost(true); 1468 cpu_boost(true);
1469 if (!tagcache_search(&tcs, tag_filename)) 1469 if (!tagcache_search(&tcs, tag_filename))
1470 { 1470 {
1471 gui_syncsplash(HZ, true, str(LANG_TAGCACHE_BUSY)); 1471 gui_syncsplash(HZ, str(LANG_TAGCACHE_BUSY));
1472 cpu_boost(false); 1472 cpu_boost(false);
1473 return false; 1473 return false;
1474 } 1474 }
@@ -1571,12 +1571,12 @@ bool tagtree_insert_selection_playlist(int position, bool queue)
1571 } 1571 }
1572 1572
1573 if (tc->filesindir <= 0) 1573 if (tc->filesindir <= 0)
1574 gui_syncsplash(HZ, true, str(LANG_END_PLAYLIST_PLAYER)); 1574 gui_syncsplash(HZ, str(LANG_END_PLAYLIST_PLAYER));
1575 else 1575 else
1576 { 1576 {
1577 logf("insert_all_playlist"); 1577 logf("insert_all_playlist");
1578 if (!insert_all_playlist(tc, position, queue)) 1578 if (!insert_all_playlist(tc, position, queue))
1579 gui_syncsplash(HZ*2, true, str(LANG_FAILED)); 1579 gui_syncsplash(HZ*2, str(LANG_FAILED));
1580 } 1580 }
1581 1581
1582 /* Finally return the dirlevel to its original value. */ 1582 /* Finally return the dirlevel to its original value. */