From 422ea20cefd4eb9fa95d283f50049f45dbf10e84 Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Sun, 4 Jun 2023 00:43:56 +0200 Subject: Warn before overwriting another playlist on disk When saving a playlist to an existing file on disk, warn user, unless the playlist's file name remains unchanged. Change-Id: I10d82667de5fadb5323be4f981bea9263849f07a --- apps/playlist_catalog.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/playlist_catalog.h') diff --git a/apps/playlist_catalog.h b/apps/playlist_catalog.h index fb71821093..756a1e1129 100644 --- a/apps/playlist_catalog.h +++ b/apps/playlist_catalog.h @@ -33,6 +33,9 @@ void catalog_set_directory(const char* directory); */ bool catalog_view_playlists(void); +bool catalog_pick_new_playlist_name(char *pl_name, size_t buf_size, + const char* curr_pl_name); + /* * Add something to a playlist (new or select from list of playlists in * catalog). -- cgit v1.2.3