diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/playlist_catalog.c | 2 |
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, | |||
308 | { | 308 | { |
309 | /*If sel is a folder, we prefill the text field with its name*/ | 309 | /*If sel is a folder, we prefill the text field with its name*/ |
310 | const char *name = strrchr(sel, '/'); | 310 | const char *name = strrchr(sel, '/'); |
311 | snprintf(playlist, MAX_PATH, "%s/%s", | 311 | snprintf(playlist, MAX_PATH, "%s/%s.m3u8", |
312 | playlist_dir, | 312 | playlist_dir, |
313 | (name!=NULL && (sel_attr & ATTR_DIRECTORY))?name+1:""); | 313 | (name!=NULL && (sel_attr & ATTR_DIRECTORY))?name+1:""); |
314 | if (kbd_input(playlist, MAX_PATH)) | 314 | if (kbd_input(playlist, MAX_PATH)) |