summaryrefslogtreecommitdiff
path: root/apps/playlist_catalog.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/playlist_catalog.c')
-rw-r--r--apps/playlist_catalog.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/playlist_catalog.c b/apps/playlist_catalog.c
index 69bcc54209..877f037387 100644
--- a/apps/playlist_catalog.c
+++ b/apps/playlist_catalog.c
@@ -95,7 +95,12 @@ static int initialize_catalog_buf(char* dirbuf, size_t dirbuf_sz)
95 if (!dir_exists(dirbuf)) 95 if (!dir_exists(dirbuf))
96 { 96 {
97 if (mkdir(dirbuf) < 0) { 97 if (mkdir(dirbuf) < 0) {
98 splashf(HZ*2, ID2P(LANG_CATALOG_NO_DIRECTORY), dirbuf); 98 if (global_settings.talk_menu) {
99 talk_id(LANG_CATALOG_NO_DIRECTORY, true);
100 talk_dir_or_spell(dirbuf, NULL, true);
101 talk_force_enqueue_next();
102 }
103 splashf(HZ*2, str(LANG_CATALOG_NO_DIRECTORY), dirbuf);
99 return -1; 104 return -1;
100 } 105 }
101 else { 106 else {
@@ -469,7 +474,7 @@ bool catalog_add_to_a_playlist(const char* sel, int sel_attr,
469 } 474 }
470 else 475 else
471 strmemccpy(playlist, m3u8name, sizeof(playlist)); 476 strmemccpy(playlist, m3u8name, sizeof(playlist));
472 477
473 if (!catalog_pick_new_playlist_name(playlist, sizeof(playlist), NULL)) 478 if (!catalog_pick_new_playlist_name(playlist, sizeof(playlist), NULL))
474 return false; 479 return false;
475 } 480 }