Index: src/apps/plugins/pictureflow/pictureflow.c =================================================================== --- src/apps/plugins/pictureflow/pictureflow.c (old version) +++ src/apps/plugins/pictureflow/pictureflow.c (new version) @@ -2215,6 +2215,7 @@ enum { PF_GOTO_WPS, #if PF_PLAYBACK_CAPABLE + PF_MENU_CLEAR_PLAYLIST, PF_MENU_PLAYBACK_CONTROL, #endif PF_MENU_SETTINGS, @@ -2234,7 +2235,7 @@ MENUITEM_STRINGLIST(main_menu,"PictureFlow Main Menu",NULL, "Go to WPS", #if PF_PLAYBACK_CAPABLE - "Playback Control", + "Clear playlist", "Playback Control", #endif "Settings", "Return", "Quit"); while (1) { @@ -2242,6 +2243,12 @@ case PF_GOTO_WPS: /* WPS */ return -2; #if PF_PLAYBACK_CAPABLE + case PF_MENU_CLEAR_PLAYLIST: + if(rb->playlist_remove_all_tracks(NULL) == 0) { + rb->playlist_create(NULL, NULL); + rb->splash(HZ*2, "Playlist Cleared"); + } + break; case PF_MENU_PLAYBACK_CONTROL: /* Playback Control */ playback_control(NULL); break;