summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/playlist_catalog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/playlist_catalog.c b/apps/playlist_catalog.c
index 10c4f8b47c..9d4d707c08 100644
--- a/apps/playlist_catalog.c
+++ b/apps/playlist_catalog.c
@@ -308,7 +308,7 @@ bool catalog_add_to_a_playlist(const char* sel, int sel_attr,
{
/*If sel is a folder, we prefill the text field with its name*/
const char *name = strrchr(sel, '/');
- snprintf(playlist, MAX_PATH, "%s/%s",
+ snprintf(playlist, MAX_PATH, "%s/%s.m3u8",
playlist_dir,
(name!=NULL && (sel_attr & ATTR_DIRECTORY))?name+1:"");
if (kbd_input(playlist, MAX_PATH))