summaryrefslogtreecommitdiff
path: root/apps/playlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/playlist.c')
-rw-r--r--apps/playlist.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/apps/playlist.c b/apps/playlist.c
index 8d4f62db68..5725c4be85 100644
--- a/apps/playlist.c
+++ b/apps/playlist.c
@@ -247,10 +247,17 @@ static void create_control(struct playlist_info* playlist)
247 playlist->control_fd = creat(playlist->control_filename, 0000200); 247 playlist->control_fd = creat(playlist->control_filename, 0000200);
248 if (playlist->control_fd < 0) 248 if (playlist->control_fd < 0)
249 { 249 {
250 splash(HZ*2, true, "%s (%d)", str(LANG_PLAYLIST_CONTROL_ACCESS_ERROR), 250 if (check_rockboxdir())
251 playlist->control_fd); 251 {
252 splash(HZ*2, true, "%s (%d)", str(LANG_PLAYLIST_CONTROL_ACCESS_ERROR),
253 playlist->control_fd);
254 }
255 playlist->control_created = false;
256 }
257 else
258 {
259 playlist->control_created = true;
252 } 260 }
253 playlist->control_created = true;
254} 261}
255 262
256/* 263/*