1
0
Fork 0
forked from len0rd/rockbox

PictureFlow: Add ability to insert into playlists

Songs or albums can now be added to new or
existing playlists directly from PictureFlow.

Change-Id: I6ea27e393fee0d5688385f9e91cf835be1756a7a
This commit is contained in:
Christian Soffke 2022-08-16 13:57:14 +02:00
parent 1e4ee1917c
commit e61a5c957c
4 changed files with 66 additions and 6 deletions

View file

@ -157,7 +157,7 @@ int plugin_open(const char *plugin, const char *parameter);
#define PLUGIN_MAGIC 0x526F634B /* RocK */
/* increase this every time the api struct changes */
#define PLUGIN_API_VERSION 262
#define PLUGIN_API_VERSION 263
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
@ -948,6 +948,8 @@ struct plugin_api {
void (*splash_progress)(int current, int total, const char *fmt, ...) ATTRIBUTE_PRINTF(3, 4);
void (*splash_progress_set_delay)(long delay_ticks);
void (*fix_path_part)(char* path, int offset, int count);
void (*onplay_show_playlist_cat_menu)(const char* track_name, int attr,
void (*add_to_pl_cb));
};
/* plugin header */