summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/tagtree.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c
index b92e4cb93c..b5ec10b04f 100644
--- a/apps/tagtree.c
+++ b/apps/tagtree.c
@@ -424,7 +424,7 @@ static void tagtree_unbuffer_event(struct mp3entry *id3, bool last_track)
424 424
425bool tagtree_export(void) 425bool tagtree_export(void)
426{ 426{
427 gui_syncsplash(0, true, str(LANG_WAIT)); 427 gui_syncsplash(0, true, str(LANG_CREATING));
428 if (!tagcache_create_changelog(&tcs)) 428 if (!tagcache_create_changelog(&tcs))
429 { 429 {
430 gui_syncsplash(HZ*2, true, str(LANG_FAILED)); 430 gui_syncsplash(HZ*2, true, str(LANG_FAILED));
@@ -962,10 +962,24 @@ bool insert_all_playlist(struct tree_context *c, int position, bool queue)
962bool tagtree_insert_selection_playlist(int position, bool queue) 962bool tagtree_insert_selection_playlist(int position, bool queue)
963{ 963{
964 struct tagentry *dptr; 964 struct tagentry *dptr;
965 char buf[MAX_PATH];
965 int dirlevel = tc->dirlevel; 966 int dirlevel = tc->dirlevel;
966 967
967 dptr = tagtree_get_entry(tc, tc->selected_item); 968 dptr = tagtree_get_entry(tc, tc->selected_item);
968 969
970 /* Insert a single track? */
971 if (dptr->newtable == playtrack)
972 {
973 if (tagtree_get_filename(tc, buf, sizeof buf) < 0)
974 {
975 logf("tagtree_get_filename failed");
976 return false;
977 }
978 playlist_insert_track(NULL, buf, position, queue);
979
980 return true;
981 }
982
969 /* We need to set the table to allsubentries. */ 983 /* We need to set the table to allsubentries. */
970 if (dptr->newtable == navibrowse) 984 if (dptr->newtable == navibrowse)
971 { 985 {