use the playlist catalog code to generate the playlists under Playlist > Create playlist

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17352 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2008-05-04 13:01:16 +00:00
parent 194b2ca887
commit 517aca8532
5 changed files with 19 additions and 99 deletions

View file

@ -32,8 +32,10 @@ bool catalog_view_playlists(void);
* sel_attr : the attributes that tell what type of file we're adding
* new_playlist : whether we want to create a new playlist or add to an
* existing one.
* m3u8name : filename to save the playlist to, NULL to show the keyboard
* ret : true if the file was successfully added
*/
bool catalog_add_to_a_playlist(char* sel, int sel_attr, bool new_playlist);
bool catalog_add_to_a_playlist(char* sel, int sel_attr,
bool new_playlist, char* m3u8name);
#endif