path: root/apps/onplay.h
diff options
authorChristian Soffke <>2021-12-29 20:24:51 +0100
committerWilliam Wilgus <>2022-01-04 18:00:49 -0500
commite3b8b7fa80320f0c8bbc84d4364ea83b5991db20 (patch)
tree210ae8372dac52417bdcc938078589d6aebedacd /apps/onplay.h
parentbfe3dac3badd6ddd22f65237cbbd839f8feb4a17 (diff)
PictureFlow: Utilize "Current Playlist" menu (+ GS fixes)
When appending tracks, they were always inserted last. You can now choose from the usual options offered by the "Current Playlst" context menu to queue or to insert tracks at the requested position. The splash after appending that forced you to wait for 2s has been eliminated. Also fixes crashes on targets that use the grey_core lib if a splash showed up when playback was started, e.g. LANG_PLAYLIST_CONTROL_ACCESS_ERROR, or when PictureFlow quit. Change-Id: I661c59057b5315ba793ee1674f7a2ea1ffd7968d
Diffstat (limited to 'apps/onplay.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/onplay.h b/apps/onplay.h
index 27f0436403..bff8dafff0 100644
--- a/apps/onplay.h
+++ b/apps/onplay.h
@@ -51,6 +51,6 @@ enum hotkey_action {
/* needed for the playlist viewer.. eventually clean this up */
void onplay_show_playlist_cat_menu(char* track_name);
-void onplay_show_playlist_menu(char* path);
+void onplay_show_playlist_menu(const char* path, void (*playlist_insert_cb));