From 7f265ee8dd062a015e214b16f9c41fc27e867f22 Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Tue, 16 Aug 2022 13:10:13 +0200 Subject: Database: Add ability to insert multiple files into playlists You could only add single files to playlists from the database browser before. This enables adding any database selection to a new or existing playlist. Change-Id: I811c7167641c589944bb2afc18dcc1d299a7b979 --- apps/tagtree.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/tagtree.h') diff --git a/apps/tagtree.h b/apps/tagtree.h index 5c938b1541..6eaaf3dfac 100644 --- a/apps/tagtree.h +++ b/apps/tagtree.h @@ -39,7 +39,8 @@ void tagtree_exit(struct tree_context* c, bool is_visible); int tagtree_load(struct tree_context* c); char* tagtree_get_entry_name(struct tree_context *c, int id, char* buf, size_t bufsize); -bool tagtree_insert_selection_playlist(int position, bool queue); +bool tagtree_current_playlist_insert(int position, bool queue); +int tagtree_add_to_playlist(const char* playlist, bool new_playlist); char *tagtree_get_title(struct tree_context* c); int tagtree_get_attr(struct tree_context* c); int tagtree_get_icon(struct tree_context* c); -- cgit v1.2.3