1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
10 * Copyright (C) 2006 Sebastian Henriksen, Hardeep Sidhu
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
19 #ifndef _PLAYLIST_CATALOG_H_
20 #define _PLAYLIST_CATALOG_H_
23 * View list of playlists in catalog.
24 * ret : true if no error
26 bool catalog_view_playlists(void);
29 * Add something to a playlist (new or select from list of playlists in
31 * sel : the path of the music file, playlist or directory to add
32 * sel_attr : the attributes that tell what type of file we're adding
33 * new_playlist : whether we want to create a new playlist or add to an
35 * ret : true if the file was successfully added
37 bool catalog_add_to_a_playlist(char* sel
, int sel_attr
, bool new_playlist
);