20 #ifndef MPD_PLAYLIST_FILE_HXX
21 #define MPD_PLAYLIST_FILE_HXX
80 const SongLoader &loader,
const char *uri_utf8);
83 spl_rename(
const char *utf8from,
const char *utf8to);
std::vector< std::string > PlaylistFileContents
AllocatedPath spl_map_to_fs(const char *name_utf8)
A path name in the native file system character set.
const Storage const char const char * path_utf8
PlaylistVector ListPlaylistFiles()
Returns a list of stored_playlist_info struct pointers.
void spl_rename(const char *utf8from, const char *utf8to)
void spl_append_uri(const char *path_utf8, const SongLoader &loader, const char *uri_utf8)
Throws #std::runtime_error on error.
void spl_append_song(const char *utf8path, const DetachedSong &song)
void spl_delete(const char *name_utf8)
void spl_clear(const char *utf8path)
PlaylistFileContents LoadPlaylistFile(const char *utf8path)
A utility class that loads a DetachedSong object by its URI.
void spl_remove_index(const char *utf8path, unsigned pos)
void spl_move_index(const char *utf8path, unsigned src, unsigned dest)
void spl_global_init()
Perform some global initialization, e.g.
bool spl_valid_name(const char *name_utf8)
Determines whether the specified string is a valid name for a stored playlist.
bool playlist_saveAbsolutePaths