summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/favorites.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/plugins/favorites.c b/apps/plugins/favorites.c
index 59001647ac..3ee597e3ef 100644
--- a/apps/plugins/favorites.c
+++ b/apps/plugins/favorites.c
@@ -21,9 +21,11 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
21 rb = api; 21 rb = api;
22 22
23 id3 = rb->mpeg_current_track(); 23 id3 = rb->mpeg_current_track();
24 if (!id3) 24 if (!id3) {
25 return PLUGIN_ERROR; 25 rb->splash(HZ*2, 0, true, "Nothing To Save");
26 26 return PLUGIN_OK;
27 }
28
27 fd = rb->open(FAVORITES_FILE, O_WRONLY); 29 fd = rb->open(FAVORITES_FILE, O_WRONLY);
28 30
29 // creat the file if it does not return on open. 31 // creat the file if it does not return on open.